SOLVED

Dynamic Url in teams personal tab

Copper Contributor

Hi there,

 

I have created a team personal custom tab app.

It  has couple of tabs.

I want to switch/change the url of those tabs based on user's region.

 

Currently these url are hardcoded in manifest file.
Is there a way to achieve it ?

2 Replies
best response confirmed by ThereseSolimeno (Microsoft)
Solution

@sgsmittal, You can not change the url. You need to access the user details in view by accessing context data and based on user details - showcase the view contents.

@Abhijit_MSFT Thanks for the response. I need to see what we can achieve then. 

Reason:-  once app is published there will be one global url for each tab but client from some country are very picky. they want even the app url to be in their region

1 best response

Accepted Solutions
best response confirmed by ThereseSolimeno (Microsoft)
Solution

@sgsmittal, You can not change the url. You need to access the user details in view by accessing context data and based on user details - showcase the view contents.

View solution in original post