SOLVED

Get last url loaded in the iframe in microsoft teams custom app

%3CLINGO-SUB%20id%3D%22lingo-sub-1975076%22%20slang%3D%22en-US%22%3EGet%20last%20url%20loaded%20in%20the%20iframe%20in%20microsoft%20teams%20custom%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1975076%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20created%20an%20custom%20application%20in%20microsoft%20teams.%20And%20loaded%20our%20organization%20website%20in%20that%20tab.%20As%20in%20the%20organization%20website%20it%20have%20multiple%20routes%20which%20user%20can%20go%20while%20accessing%20website%20from%20tab.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%2C%20is%20there%20any%20way%20in%20teams%20js%20sdk%20which%20can%20give%20the%20last%20route%20which%20was%20accessed%20by%20the%20user%20in%20the%20tab.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1975076%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%20Tab%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

I have created an custom application in microsoft teams. And loaded our organization website in that tab. As in the organization website it have multiple routes which user can go while accessing website from tab.

 

So, is there any way in teams js sdk which can give the last route which was accessed by the user in the tab.

2 Replies
Best Response confirmed by adam deltinger (MVP)
Solution
Hi @Parth_Agrawal

I see you raised the question on Stack too

https://stackoverflow.com/questions/65210897/get-last-url-loaded-in-the-iframe-in-microsoft-teams-cu...

As far as I am aware nothing like this currently exists. I would recommend, as others have raising this on uservoice in order to push it up the agenda and get it in front of the Microsoft product and Engineering Teams

https://microsoftteams.uservoice.com/forums/555103-public

If picked up you would be notified. Just to note, it could take some time if at all. I would also recommend keeping an eye out on AMA's for Microsoft Teams here on the tech community particularly Microsoft Teams Developer AMA's and ask this question again as someone in Microsoft may have considered this previously

Hope that answers your question

Best, Chris

Ok, Thanks for the reply Chris