# \[Share\] Custom Documents Report Dashboard + Workflow to inventory & audit your tenant documents

**URL:** <https://community.dynatrace.com/t/share-custom-documents-report-dashboard-workflow-to-inventory-audit-your-tenant-documents/56420>\
**Category:** Dynatrace Tips\
**Tags:** reports, notebooks, dashboards, tips-and-tricks\
**Created:** [July 11, 2026, 1:59am UTC](https://community.dynatrace.com/t/share-custom-documents-report-dashboard-workflow-to-inventory-audit-your-tenant-documents/56420 "2026-07-11T01:59:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoseRomero](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/joseromero/32/19486_2.png) [@JoseRomero](https://community.dynatrace.com/u/JoseRomero)\
**Post date:** [July 11, 2026, 1:59am UTC](https://community.dynatrace.com/t/share-custom-documents-report-dashboard-workflow-to-inventory-audit-your-tenant-documents/56420/1 "2026-07-11T01:59:22Z")

</div>

Hi Community! 👋

Sharing a contribution I hope you’ll find useful: **Custom Documents Report** , a dashboard + workflow combo that gives you a full **census of the documents in your tenant** (dashboards & notebooks).

**🔎 What it does**

- 📊 Counts documents by type (dashboard vs notebook) with a creation time series.
- 🍩 Distribution donut + single-value tiles for a quick overview.

**⚙ How it works** The dashboard doesn’t hit the API directly — it reads from a **Grail lookup table** (/lookups/documents\_report) populated daily by a **Workflow** with two _Run JavaScript_ tasks:

1. Lists all documents via documentsClient.listDocuments.
2. Uploads the data to the Resource Store as a lookup table.

➡ The dashboard only shows data **after** the workflow runs at least once.

**🔐 Permissions the workflow actor needs** (otherwise you’ll get a 403):

- **Workflows:** app-engine:apps:run, app-engine:functions:run, automation:workflows:read/write/run
- **Listing documents** (uses adminAccess): document:documents:read + document:documents:admin
- **Uploading the lookup to Grail:** storage:files:write (+ read / delete for overwrite)

**📦 Repo — JSON files + step-by-step README:** 👉 [dynatrace\_dashboards/dynatrace at main · Edunzz/dynatrace\_dashboards · GitHub](https://github.com/Edunzz/DT.dashboards/tree/main/dynatrace)

 ![JoseRomero_0-1783734760087.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/6/26dfe9c8130c87012d864fbe49fc1640fe0a9cd2.png)

* * *

> ⚠ **Disclaimer:** Personal community contribution, shared **as-is**. **Not** officially maintained or supported by Dynatrace. Please review before using in production and adjust the schedule, permissions, and lookup path to your environment. Feedback and improvements welcome! 🙌
