/
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

  1. Go to Navigate > Administration > Configure > Config Files.

  2. Open the required Ad Hoc Template file.

  3. Select the template file from which you want to set the password.

  4. 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

  1. Go to Navigate > Design > Studio Reports > Script Editor.

  2. Choose the OnReportStart function from the dropdown in the Script Editor.

  3. Use the following script:

    { rpt.Fields("SYS_EXPORT_PSD").Value = "(Provide a password string or parameter that you want to use as the password)"; }

     

Copyright Kyvos, Inc. All rights reserved.