cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

121
Views
0
Helpful
1
Replies
sandiban
Cisco Employee

Processing a URL scope in Card Button with Action.OpenUrl() function

Query from Vizerto Dev(@mailinator.com) in @webex4devs space

Hi, I want to use a button in card which when clicked, it should fallback at an endpoint where I will process the url and then a browser will open a url as in open.url action. Right now this action is using a static url, is there a way for me to process the url and then open in browser ?

1 REPLY 1
sandiban
Cisco Employee

Hi Vizerto,

AFAIK, it's not possible to process a URL from Webex Card when you hit it via button to open the same in a browser.

I'm assuming, your actionable url is stored like this inside the card item - 

actions: [
{
    type: "Action.OpenUrl",
    title: "Search",
    url: "https://www.google.com"
}

]

Now could you provide us some more details how you want to play around with it.
As much I understand, possibly once you hit on the URL button, you're expecting it to provide you a scope to update the URL and then process it in a Browser.

If that's the expectation, then it'd not be possible here.

Please let us know if your requirement is little different and based on that, we can assist you further.

 

Regards,

Sandip

Create
Recognize Your Peers
Content for Community-Ad