Forum Discussion
mrw2828
Nov 04, 2022Copper Contributor
Best way to link to a list view?
Hello all, I created a list with a number of filtered views. I'd like to have a URL for each of those views that I can share. I'd thought the URL listed in the "Web address of this view" field of...
- Nov 05, 2022Interesting. So, the new view you created automatically redirects to the Allitems.aspx (All items view) when updating the URL, from my last reply to your view name?
Another option to try is navigate to your list and select the view you want to gather the URL for. In the browser URL, it will contain an allitems.aspx?viewid=[ID NUMBER]. This allows the view to change to that specific view and bypass your allitems.aspx view.
Or... navigate to list settings and copy the URL of the view name and paste into notepad. You will see within the URL a VIEW=%7B7[view ID]%7D. This will be the view ID and you can update your URL to https://[domain].sharepoint.com/Lists/[name of list]/allitems.aspx?viewid=[ID NUMBER]
mrw2828
Nov 04, 2022Copper Contributor
Thanks. Yup that's what I was trying to do, but the .aspx url for the viewname brings me to the default view for the list, rather than the view specified in the url.
AlexFDJ
Nov 05, 2022Copper Contributor
Interesting. So, the new view you created automatically redirects to the Allitems.aspx (All items view) when updating the URL, from my last reply to your view name?
Another option to try is navigate to your list and select the view you want to gather the URL for. In the browser URL, it will contain an allitems.aspx?viewid=[ID NUMBER]. This allows the view to change to that specific view and bypass your allitems.aspx view.
Or... navigate to list settings and copy the URL of the view name and paste into notepad. You will see within the URL a VIEW=%7B7[view ID]%7D. This will be the view ID and you can update your URL to https://[domain].sharepoint.com/Lists/[name of list]/allitems.aspx?viewid=[ID NUMBER]
Another option to try is navigate to your list and select the view you want to gather the URL for. In the browser URL, it will contain an allitems.aspx?viewid=[ID NUMBER]. This allows the view to change to that specific view and bypass your allitems.aspx view.
Or... navigate to list settings and copy the URL of the view name and paste into notepad. You will see within the URL a VIEW=%7B7[view ID]%7D. This will be the view ID and you can update your URL to https://[domain].sharepoint.com/Lists/[name of list]/allitems.aspx?viewid=[ID NUMBER]
- mrw2828Nov 05, 2022Copper ContributorThanks for your reply. You're understanding the problem correctly. I'll give the viewID usage a try and see how that does
- Clarar2020Jul 15, 2023Copper ContributorHi
Great! Using viewID can help you target specific elements in your code and make your implementation more efficient. Give it a shot and see how it improves your results. Good luck!- NodiiJul 24, 2023Copper Contributor
Clarar2020 viewID to target specific elements in your code can indeed be a helpful approachhttps://megamodapk.com/bitlife-life-simulator-mod/ especially if you are working with lists and filtered views. It allows you to directly access and display a specific view without relying on the default view or applying filters programmatically.