cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
70
Views
0
Helpful
0
Replies

How to use space link on embeded app for easier navigation?

suvocatech
Community Member

I tried the following:
1. Direct link:
<a href="webexteams://im?space=spaceId"> Text Feedback Space</a>
<a href="webex://im?space=spaceId" >Rabbi Space</a>

2. Using open url in external browser method
<a href="webex://im?space=spaceId" data-link="webex://im?space=spaceId" onclick="openSpace(this)">Rabbi Space</a>

function openSpace(el) {
const dataLink = $(el).attr('data-link');
const url = new URL(dataLink);
const spaceId = url.searchParams.get("space");

console.log('Open Space: ', dataLink, spaceId, `https://web.webex.com/space/${spaceId}`);
app.openUrlInSystemBrowser(`https://web.webex.com/space/${spaceId}`).catch((errorcode) => {
console.log("Error: ", window.Webex.Application.ErrorCodes[errorcode]);
});
console.log('Open space Complete');
}

Both works on desktop app and user is redirected to the space but on mobile I can see the console log but nothing happens.

 

0 Replies 0