Jump to content
Microsoft Windows Bulletin Board

Recommended Posts

Posted

We are using the Teams Channel Tab app with a component that replies on the hash parameter.

On click of a button from a list of folder within the Tab, we are trying to set the window.location.hash.
Another component uses an event listener to listen to the hashChange and retrieves this hash parameter that was set and uses for further processing.

This works perfectly fine in Outlook addin as we are rendering the same component in Teams and Outlook
However, as soon as I set the window.location.hash, the app crashes without any error in Developer tool Console.

We have hosted the Tab app at - "https://localhost:8080/#/channel"
I am thinking of 2 possible causes for this crash-

1. Is the app trying to crash when I am setting the hash as it already has '#' in the url?
2. Is there a limitation where we cannot set and get window.location.hash while inside the Teams Tab app?

View the full article

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...