5.1 Element ID and Alias

Each element is identified by a unique element ID. The element ID is assigned dynamically when you add an element to the report. The element ID allows you to refer to an element from within report script, when the template is accessed programmatically, and for many other purposes.

You should strive to use meaningful names as the element IDs. This provides a great aid to maintenance and debugging.

You can view the ID of the currently selected element in the status bar at the bottom of the Style Studio window. Likewise, in the Style Studio Report Explorer panel, report elements are identified by their element IDs.

To change an element's ID, follow the steps below:

1. Right-click the element, and select 'Properties' from the context menu. This opens the element's 'Properties' dialog box.

 

2. Enter a meaningful name in the 'ID' field, and click 'OK'.

3. (Optional) Enter a meaningful name in the 'Alias' field. This is the name that identifies the element in the User Portal's Report Explorer tool. If left unspecified, the ID will be displayed for this purpose.

<< 5 Report Elements © 1996-2013 InetSoft Technology Corporation (v11.5) 5.2 Inserting Elements >>