Skip to main content

How do I add custom code to a Report in AX 2012? - Knowledgebase / AX 2012 / AX 2012 FAQs - Formpipe Support Portal

How do I add custom code to a Report in AX 2012?

Authors list

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.

6. Add your code to the Editor.

7. Click Save and close the Editor.

8. Refresh the window by pressing the F5 key.

9. Select the new method.

10. Close the Elements form.


An Infolog will be shown with the “Stylesheet updated” message.

Helpful Unhelpful

0 of 2 people found this page helpful

Add a comment

Please log in or register to submit a comment.

Need a password reminder?