Tips n' Tricks¶
Formatting matters¶
Make sure your tabs are at the right level.
Quickly generate reports from client/site tree¶
Right click on a client or site to quickly run/download a report.
Change PDF Orientation to Landscape¶
Making API Calls from Within a Report Template¶
If you plan to make API calls (e.g., using axios or fetch) from within a report template, you need to configure additional settings to ensure proper functionality:
Append the following code to /rmm/api/tacticalrmm/tacticalrmm/local_settings.py
:
from corsheaders.defaults import default_headers
CORS_ALLOW_HEADERS = (
*default_headers,
"x-api-key",
)
Then restart the rmm service:
sudo systemctl restart rmm