Forum Discussion
Filter report based on SharePoint embed URL
I have built a report that scans all our SharePoint sites for a list which is commonly used (Action Items). That list is on multiple SharePoint sites. Then it reports on % completes, who has what outstanding, etc. What I'd like to do is embed this report into the front page of all future SharePoint sites and have it automatically filter so that it only reports those metrics for the site where the report is embeded. However, exploring RLS & URL filters seems to be a dead end. Does anyone have any recommendations on how to get this report to detect which site it's currently embeded within, and filter based on that? Thanks!
1 Reply
- lbendlinSuper User
However, exploring RLS & URL filters seems to be a dead endURL filters would work, but you have to specify them manually.
how to get this report to detect which site it's currently embeded within,There's embedding (iframe) and then there's embedding (fully featured , app owns data or user owns data). Only the latter allows you to interact with the content in the iframe. But it is more designed to work with true embedding frameworks, not with sharepoint. You might be able to make it work, but it will be neither easy nor cheap.