Forum Discussion

sneranacdw's avatar
sneranacdw
Copper Contributor
Mar 03, 2022

Modern Sharepoint online list view filtering by location

I am building a modern list view filtering for a client on Sharepoint Online environment. One of the column is "Location" which is Store location e.g. 1234 
Each store logs in using their own credentials e.g. "Email address removed"
Ask is to filter the modern list view on a modern page to be able to just view their store related data when store logs in using their own credentials.
Is there any ways this can be done by Javascript insertion at the page level via Modern Script Editor? Any suggestions?

    • Mumtaz Momin's avatar
      Mumtaz Momin
      Copper Contributor

      sneranacdw 

      Can you please share your solution? I have sort of the same requirement. We used the current user filter webpart to filter logged-in users' department data. Hoping to use your solution to do the same on the modern page.

Resources