To connect with Scripted data source
- In the Outline panel, right-click on the Data Sources sub-node and select New Data Source.
- Select Scripted Data Source from the data source type list.
- Update the Data Source Name field and click Finish.
-
To preview the template in LSR Designer, add the <scripted datasource>.jar file manually in the LSR plugins directory.
Example
C:\Program files\Lawson\LSRDesigner\plugins\
-
The <scripted datasource>.jar file must be added in the designer classpath.
-
From the main menu, click Window > Preferences.
Preferences window opens.
- Click on Report Design from the side menu, and select Classpath.
- Click on Add External JARs.
-
In the JAR Selection window, locate the *.jar file, and then click Open.
Return to Preferences window, and click OK.
-
From the main menu, click Window > Preferences.