Forum Discussion
DanielHerrera
Sep 02, 2020Brass Contributor
Sharepoint list links to custom view not working on Teams tab with a sharepoint page
Hi, i am assuming this has to do with the release of Micosoft List which is onboing but i do home this wont stay for long. We have a Sharepoint List at the sharepoint from out team, this list is ...
- 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.
4lights
Jun 08, 2021Copper Contributor
Found 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.
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.
- DanielHerreraJun 09, 2021Brass ContributorThanks for the update, actually the issue was when the links were at a sharepoint page.
but regardless of a teams tab or quick link on a page this did the trick 🙂