Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following control types are currently supported. All these controls have all the common core control methods, however some method details might be implemented differently, and some have their own properties and methods.
Address composite
Address input fields that contain multiple subcomponents (street, city, state, and so on) use the address composite control.
Address composite properties and methods
Use these members to configure and read address composite values.
IsReadonlyproperty - True if the field is a read-only field, otherwise falsesetValuemethod expects an object with the following properties:{ "line1": "address line one value", "line2": "address line two value", "line3": "address line three value", "city": "address city value", "state": "address state value", "postalCode": "address postalCode value", "country": "address country value" }getValuemethod returns the same object.
Boolean
Radio button fields with true/false options use the boolean control.
Boolean properties and methods
Use these members to set and retrieve boolean field values.
isReadOnlyproperty - True if the field is a read-only field, otherwise falsesetValuemethod expects a string value corresponding to localized true or false valuesgetValuemethod returns the selected option value as a string
DateTime
Date and time input fields use the dateTime control.
DateTime properties and methods
Use these members to manage and access date and time values.
isReadOnlyproperty - True if the field is a read-only field, otherwise falseisDisabledproperty - True if the field is disabled, otherwise falsedataTypeproperty - The data type of the datetime fieldsetValuemethod expects a datetime string in the appropriate formatgetValuemethod returns the datetime value as a string.
Decimal
Decimal number input fields use the decimal control.
Decimal properties and methods
Use these members to work with decimal number inputs.
isReadOnlyproperty - True if the field is a read-only field, otherwise falsesetValuemethod expects a string representing a valid decimal numbergetValuereturns the decimal value as a string
Double
Floating-point number input fields use the double control.
Double properties and methods
Use these members to handle floating-point number values.
isReadOnlyproperty - True if the field is a read-only field, otherwise falsesetValuemethod expects a string representing a valid floating-point number.getValuemethod returns the number value as a string.
Dropdown lookup
Lookup controls that aren't modal use the dropdown lookup control.
Dropdown properties and methods
Use these members to interact with dropdown lookup selections.
isDropdownproperty - Is always true. Use this property to distinguish between a modal lookup and dropdown lookupIsReadonlyproperty - True if the field is a read-only field, otherwise falsesetValuemethod expects a string parameter representing the ID of the option to selectgetValuemethod returns the currently set option's ID as a string
Email input fields use the email control.
Email properties and methods
Use these members to validate and retrieve email address values.
isReadOnlyproperty - True if the field is a read-only field, otherwise falsesetValueexpects a string representing a valid email addressgetValuereturns the email value as a string
File
The file control provides capabilities to upload and download a file.
File properties and methods
Use these members to upload, access, and remove files.
IsReadonlyproperty - True if the field is a read-only field, otherwise falsemaxFileSizeInByteproperty - The max size of the file in bytes that can be uploadedsetValuemethod expects an object of type FilegetValuemethod returns an object of type FileremoveFilemethod removes the set file
Formatted integer
Integer fields with specific formatting requirements like duration, language, and timezone use the formatted integer control.
Formatted integer properties and methods
Use these members to manage integers with specialized formatting.
isReadOnlyproperty - True if the field is a read-only field, otherwise falsesetValuemethod expects a string representing a valid formatted integergetValuemethod returns the formatted integer value as a string
Full name
Name input fields that might contain multiple components (first name, last name, and so on) use the full name control
Full name methods
Use these methods to set and get full name components.
setValuemethod expects an object with the following properties:{ "firstName": "first name value", "middleName": "middle name value", "lastName": "last name value" }getValuemethod returns the same object
Image
The image control provides capabilities to view, upload, and download an image.
Image properties and methods
Use these members to upload, access, and remove images.
IsReadonlyproperty - True if the field is a read-only field, otherwise falsemaxFileSizeInByteproperty - The maximum size of the image in bytes that you can uploadsetValuemethod expects an object of type FilegetValuemethod returns an object of type FileremoveFilemethod removes the set image
Integer
Numeric input fields use the integer control
Integer properties and methods
Use these members to set and retrieve integer field values.
isReadOnlyproperty - True if the field is a read-only field, otherwise falsesetValuemethod expects a string representing a valid integergetValuemethod returns the integer value as a string.
Memo
Multiline text input fields use the memo control
Memo properties and methods
Use these members to manage multiline text input content.
isReadOnlyproperty - True if the field is a read-only field, otherwise falsemaxLengthproperty - The maximum length of text that you can entersetValuemethod expects a string valuegetValuemethod returns the memo text as a string
Modal lookup
Modal lookup fields use the modal lookup control
Modal lookup properties and methods
Use these members to set, get, and clear modal lookup values.
IsModalproperty - Always true. Use this property to distinguish between a modal lookup and dropdown lookup.IsReadonlyproperty - True if the field is a read-only field, otherwise falsesetValuemethod expects an object with the following properties:{ "id": "The unique identifier of the record.", "name": "The primary name field value of the record", "entityType": "The entity type name value of the table." }getValuemethod returns the same objectclearValuemethod clears the set value from the field.
Money
Currency input fields use the money control.
Money properties and methods
Use these members to set and retrieve currency amounts.
isReadOnlyproperty - True if the field is a read-only field, otherwise falsesetValuemethod expects a string representing a valid monetary amountgetValuemethod returns the money value as a string
Multiple choice
Checkbox fields use the multiple choice control
Multiple choice methods
Use these methods to set and read checkbox states.
setValuemethod expects a boolean valuegetValuemethod returns the checkbox state as a boolean
MultiSelect picklist
Multiselect option fields use the multiSelect picklist control.
Note
setValue and getValue methods aren't yet supported for this control.
Picklist
Option set fields (dropdown, radio buttons, and so on) use the picklist control.
Picklist properties and methods
Use these members to configure and read option set selections.
subTypeproperty - The subtype of the picklist control. Possible values are:VerticalRadioButtonHorizontalRadioButtonMultipleChoiceMatrixDropdown
setValuemethod expects a string representing the value of the option to select.getValuemethod returns the selected option value as a string.
Status
The current state of an entity record uses the status control.
Note
This control doesn't allow setting the value. The value is read-only.
Status reason
The current status reason of an entity record uses the status reason control.
Note
This control doesn't allow setting the value. The value is read-only.
String
Text input fields use the string control.
String properties and methods
Use these members to manage single-line text input values.
isReadOnlyproperty - True if the field is a read-only field, otherwise falsemaxLengthproperty - The maximum length of text that you can entersetValueAn error occurs if the string length exceeds themaxLengthvalue
Ticker symbol
Stock ticker symbol input fields use the ticker symbol control
Ticker symbol properties and methods
Use these members to set and retrieve stock ticker symbols.
isReadOnlyproperty - True if the field is a read-only field, otherwise falsesetValuemethod expects a string representing a valid ticker symbolgetValuemethod returns the ticker symbol as a string
URL
URL input fields use the url control.
URL properties and methods
Use these members to validate and retrieve URL values.
isReadOnlyproperty - True if the field is a read-only field, otherwise falsesetValuemethod expects a string representing a valid URLgetValuemethod returns the URL value as a string