Apr 27, 2024 12:20 Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients SampleSupported 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.
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.
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.
var field = form.newTextField('parent_table_text', 1);
field.getTitle().text = 'Parent table'
visible
The visible property of the component, default true.
var field = form.newTextField('parent_table_text', 1);
field.getTitle().visible = false
Methods Details
getUUID()
Returns the UUID of this component.
var button_uuid = solutionModel.getForm("my_form").getButton("my_button").getUUID();
application.output(button_uuid.toString());