Supported Clients
SmartClient
WebClient
NGClient

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.

Methods Summary
UUID
getUUID()
Returns the UUID of this component.

Property Details

dataProviderID

The dataprovider of the component.

Returns

String

Supported Clients

SmartClient,WebClient,NGClient

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

Boolean

Supported Clients

SmartClient,WebClient,NGClient

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

String

Supported Clients

SmartClient,WebClient,NGClient

Sample

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

visible

The visible property of the component, default true.

Returns

Boolean

Supported Clients

SmartClient,WebClient,NGClient

Sample

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

Methods Details

getUUID()

Returns the UUID of this component.

Returns

UUID

Supported Clients

SmartClient,WebClient,NGClient

Sample

var button_uuid = solutionModel.getForm("my_form").getButton("my_button").getUUID();
application.output(button_uuid.toString());