JavaScript code element properties
Open the Properties view in Document Studio and select a JavaScript code element. The Properties view displays these available properties for JavaScript codes.
Restriction:
The JavaScript code
element is available only in version 2 templates.
The JavaScript code
element is available only in version 2 templates.General properties
In the All properties tab, these properties are at the top-level, in the Metadata, and in the sections.
| Type | Value | Description |
|---|---|---|
| Tag | String | Tag name for the element. This property cannot be edited. |
| Name | String | The name of the element. |
| Description | String | A summary or note about this element. |
Content properties
In the All properties tab, this property is at the top-level as Content.
| Type | Value | Description |
|---|---|---|
| Content | String | The text contained in the element that is visible in the output. Entering text here is the same as double-clicking the element and entering text. |
Specific properties
In the All properties tab, these properties are located in the section.
| Type | Value | Description |
|---|---|---|
| Library script | true, false | Optional. Default value: false When set to true, the JavaScript content includes all other JavaScript expressions in the template. Remember: When set to true for a JavaScript element, the element is ignored by IBM Engineering Lifecycle Optimization - Publishing when
processing the template.
|