SOLVED

Dynamic Url in teams personal tab

%3CLINGO-SUB%20id%3D%22lingo-sub-1494960%22%20slang%3D%22en-US%22%3EDynamic%20Url%20in%20teams%20personal%20tab%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1494960%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20created%20a%20team%20personal%20custom%20tab%20app.%3C%2FP%3E%3CP%3EIt%26nbsp%3B%20has%20couple%20of%20tabs.%3C%2FP%3E%3CP%3EI%20want%20to%20switch%2Fchange%20the%20url%20of%20those%20tabs%20based%20on%20user's%20region.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECurrently%20these%20url%20are%20hardcoded%20in%20manifest%20file.%3CBR%20%2F%3EIs%20there%20a%20way%20to%20achieve%20it%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1494960%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECustom%20Tab%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPersonal%20Tab%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1495647%22%20slang%3D%22en-US%22%3ERe%3A%20Dynamic%20Url%20in%20teams%20personal%20tab%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1495647%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F654445%22%20target%3D%22_blank%22%3E%40sgsmittal%3C%2FA%3E%2C%20You%20can%20not%20change%20the%20url.%20You%20need%20to%20access%20the%20user%20details%20in%20view%20by%20accessing%20context%20data%20and%20based%20on%20user%20details%20-%20showcase%20the%20view%20contents.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1496526%22%20slang%3D%22en-US%22%3ERe%3A%20Dynamic%20Url%20in%20teams%20personal%20tab%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1496526%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F322587%22%20target%3D%22_blank%22%3E%40Abhijit_MSFT%3C%2FA%3E%26nbsp%3BThanks%20for%20the%20response.%20I%20need%20to%20see%20what%20we%20can%20achieve%20then.%26nbsp%3B%3C%2FP%3E%3CP%3EReason%3A-%26nbsp%3B%20once%20app%20is%20published%20there%20will%20be%20one%20global%20url%20for%20each%20tab%20but%20client%20from%20some%20country%20are%20very%20picky.%20they%20want%20even%20the%20app%20url%20to%20be%20in%20their%20region%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional 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