Forum Discussion
Sharepoint list links to custom view not working on Teams tab with a sharepoint page
- Jun 08, 2021Found the fix!
Your default view is going to show in the URL like so....
https://yourdomain.com/sites/mysite/list/mylist/AllItems.aspx
Other views show up with a view ID at the end of that url such as
https://yourdomain.com/sites/mysite/list/mylist/AllItems.aspx?viewid=D15e0%2D41b6%2Dac00%2D1eb07e974...
What you need to do is get the view URL without all that GUID junk at the end and to do this its very simple. Lets say I have another view named "My Reports". All you have to do is replace the AllItems with the view name of the one you want to show.
https://yourdomain.com/sites/mysite/list/mylist/My%20Reports.aspx?
The %20 is expressed as a space to the browser so the browser reads it as My Reports.
Now, to add this to teams, create a new tab and select the new "lists" app. Select save to finish adding it to the channel. Once its been added, a configuration screen will come up. Choose the option to use an existing list then in the URL add your URL you built for that view.
https://yourdomain.com/sites/mysite/list/mylist/My%20Reports.aspx?
That's it! It should now show your list in that view. Please let me know if you have any questions.
We finally had a response from Microsoft Support for our issue. They have given us a workaround that ensures that the library view url assigned to a button opens the url as expected rather than the All Documents View.
Their workaround was to change the start of the full web address from "https" to "http". This fixed the issue for us for now. We were originally concerned that there might be a security concern, however for us these are links on an intranet that require access via multi-factor authentication anyway. And the resultant web address for us resolved to https.
As Microsoft were able to replicate our scenario, it has been put into the pipeline over the next few months for a permanent fix.
Something to try?
i just try this and i am afraid it does not work, it is actually worst becouse the quick links at the sharepoint page in the teams tab does not work anymore. i hope microsoft comes up with a fix, until then i am just teachin users of the available views at the lists