will.good Posted November 15, 2022 Share Posted November 15, 2022 Hi, I am trying to create a report that displays the Document Name and the Library it belongs to. I have found a way to display the Documents and Libraries separately, but have not been able to join them in a report. How would I be able to pull a report that would show both? docmanager-documents.report.txt libraries.report.txt Link to comment Share on other sites More sharing options...
James Ainsworth Posted November 23, 2022 Share Posted November 23, 2022 Hi @will.good Try the attached report. As documents can be shared with more than one library, I created a Grouped By report to show each document and all the libraries shared to by that document. The links between the documents and the libraries are in a table called h_lib_shares. This table also holds shares with users, but these can be filtered out using the h_share_type=1 which refers to libraries, rather than people. The join between the h_lib_documents and the h_lib_shares wasn't straightforward as the h_lib_documents has a document ID where as the h_lib_shares has a document urn. I had to use a custom criteria to get this to work. Import the report and give it a run to see if gets the information that you are looking for. documents-and-their-shared-libraries.report.txt 1 Link to comment Share on other sites More sharing options...
will.good Posted November 28, 2022 Author Share Posted November 28, 2022 Hi @James Ainsworth This is perfect, thank you so much Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now