/
Creating Password to Protect Files
Creating Password to Protect Files
In Kyvos Reporting, you can set a password to secure exported or scheduled reports (e.g., MS Excel, MS Word, MS PowerPoint, and PDF files) to ensure restricted access. This feature is available for ad hoc and studio report types in the current version.
Setting a Password for Ad Hoc Reports
Go to Navigate > Administration > Configure > Config Files.
Open the required Ad Hoc Template file.
Select the template file from which you want to set the password.
Modify the OnReportStart() Script:
Use the following script within the template file:
OnReportStart() { rpt.Fields("SYS_EXPORT_PSD").Value = "(Provide a password string or parameter that you want to use as the password)"; } Replace "(Provide a password string or parameter)" with your desired password.
Setting a Password for Studio Reports
Go to Navigate > Design > Studio Reports > Script Editor.
Choose the OnReportStart function from the dropdown in the Script Editor.
Use the following script:
{ rpt.Fields("SYS_EXPORT_PSD").Value = "(Provide a password string or parameter that you want to use as the password)"; }
Related content
Copyright Kyvos, Inc. All rights reserved.