Documentation Index

Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt

Use this file to discover all available pages before exploring further.

How Do I Add Custom Code to a Report?

Prev Next

It is possible to add a Custom Code to a Lasernet-activated report. This article contains an example of how to add a logo string using custom code.

Adding custom code

  1. Navigate to Lasernet > Reports and select the report required.

  2. Select Elements on the Action pane.

  3. Locate the section where you want the logo string to be.

  4. Expand the Fields section and click New to add an element.

  5. Navigate to Expression > CustomCode > Create new custom method.

  1. Add your code to the Expression editor.

  2. Click Save and close the Expression editor.

  1. Refresh the window by clicking the F5 key.

  2. Select the new method.

  1. Close the Elements form.

Note

An Infolog will be shown with the ‘Stylesheet updated’ message.

Was this page helpful? Let us know at knowledgebase.feedback@lasernetgroup.com