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.
HiDanielHerrera ,
What you may be best to do is as follows:
1. In Teams, click the drop down next to All Items and see if your custom view 'Fleet' shows up in the list. If so, select this as per below. This will set the list view type to be set as your custom view:
2. As per below, now that your custom view is selected, choose the drop down again in Teams and select 'Set current view as default' to set your custom view as the main list view every time in Teams:
If you don't see your Fleet custom view come up as per step 1, you'll need to create or edit the custom list view back in Sharepoint via the link from Teams as per below:
Once in Sharepoint, edit the List settings and check the Fleet View:
JezBurger it is a good advice if i had only 1 view linked at that page, but all the 4 quick links at the top are 1 list, then i link link the all items view, Fleet vie, Facility View and Procurement View.
with your suggestion i can only fix 1 to default but the other 3 will still need to be selected at the drop down menu.
as stated before, if you open in Sharepoint directly it works without any issue. this only happends if is elected in MS Teams.
- JezBurgerSep 14, 2020Copper ContributorSorry to hear that. Definitely sounds like an issue to raise with MS Support via your 365 admin portal in a support case.