cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
karthicramani
New Member

how do we open a URL within MS Teams BOT in a Modal Pop-Up window

Hi,

 

I am new to PVA Chatbots in MS Teams. i need to open a link (URL) in a Modal Pop-Up Window, instead the link opens in a new tab.

Is that possible? Please advise.

 

Regards

Karthic

2 REPLIES 2
PowerPuffKK
Helper I
Helper I

Hi @karthicramani ,

 

That's a good question which hasn't come up on the forum before! Modal pop ups are not supported as you are effectively hyperlinking an external URL which will prompt the browser to open a new tab. You could use JS in the full version of PVA if it was published on an external website however PVA for Teams does not support JavaScript, CSS or even HTML. 

 

Also opening hyperlinks in general is controlled mostly by your end users (they can change this in their browser settings) and they can decide in their browser settings if they want a hyperlink to be opened in a new tab or window.

 

I hope this helps!

Kristine 😊

Hi Kristine,

 

Many thanks for your reply. I am trying to do a POC (Proof of Concept) with PVA and MS Teams to create some chatbot and to know how flexible are the features when compared to other providers. We are in need of deploying a BOT within MS Teams similar to our other BOTS which are running in Slack and Workplace by Facebook. In Slack and Workplace, BOT connects to HR System (ERP) and gets the data back and also has some complex Web Forms (with lots of validations) built in the HR system and we show those Form Pages link within the BOT, so that the users can click on the link and open the form right away in a modal window from the BOT and perform their transactions.

 

This opening a link (Form Page) from within Slack and Workplace applications works really fine. I am trying to simulate the same thing here in MS Teams using PVA. But now as you said, it is not possible i guess to bring in such functionality.

 

See the attached screenshot for reference from "Workplace by Facebook" Application BOT.

 

Any other alternate approach for this?

 

Hope you understand the same.

 

Note : Why Modal Pop-Up Window? because the URL is hidden and not shown to the user. Also, it gives better UX, staying with the BOT and not leaving the BOT window.

 


Regards,
Karthic

 

Workplace_Timesheet.PNG

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,730)