Skip to end of metadata
Go to start of metadata



Property Summary
String dataProviderID
The dataprovider of the component.
Boolean displaysTags
Flag that enables or disables merging of data inside components using tags (placeholders).
String text
The text that is displayed inside the component.
Boolean visible
The visible property of the component, default true.



Property Details

dataProviderID

The dataprovider of the component.

Returns

Sample

var field = form.newTextField('parent_table_text', 1);
field.getTitle().dataProviderID = 'mytitlevar'
 

displaysTags

Flag that enables or disables merging of data inside components using tags (placeholders).
Tags (or placeholders) are words surrounded by %%on each side. There are data tags and
standard tags. Data tags consist in names of dataproviders surrounded by%%. Standard tags
are a set of predefined tags that are made available by the system.

See the "Merging data" section for more details about tags.

The default value of this flag is "false", that is merging of data is disabled by default.

Returns

Sample

var field = form.newTextField('parent_table_text', 1);
field.getTitle().text = 'Parent table %%customername%%'
field.getTitle().displaysTags = true
 

text

The text that is displayed inside the component.

Returns

Sample

var field = form.newTextField('parent_table_text', 1);
field.getTitle().text = 'Parent table'
 

visible

The visible property of the component, default true.

Returns

Sample

var field = form.newTextField('parent_table_text', 1);
field.getTitle().visible = false
 



  • No labels