Form Fields
Get a list of fields and their settings.
- Permissions to view the App is needed.
- API Tokens cannot be used with this API.
FormFields
Methods
getApp
Get the app
Declaration
func getApp() -> Int?
Parameter
(none)
Return
Integer
Sample code
get App
Source codeInteger app = formfields.getApp();
getRevision
Get the revision
Declaration
func getRevision() -> Int?
Parameter
(none)
Return
Integer
Sample code
get Revision
Source codeInteger revision = formfields.getRevision();
getProperties
Get the properties
Declaration
func getProperties() -> [String: Field]?
Parameter
(none)
Return
Map<String, Field>
Sample code
get Properties
Source codeMapproperties = formfields.getProperties();
FieldGroup
Warning
- extend the abstract class "Field"
Methods
getLabel
Get the label
Declaration
func getLabel() -> String?
Parameter
(none)
Return
String
Sample code
get Label
Source codeString label = fieldGroup.getLabel();
getNoLabel
Get the noLabel
Declaration
func getNoLabel() -> Bool?
Parameter
(none)
Return
Boolean
Sample code
get NoLabel
Source codeBoolean noLabel = fieldGroup.getNoLabel();
getOpenGroup
Get the openGroup
Declaration
func getOpenGroup() -> Bool?
Parameter
(none)
Return
Boolean
Sample code
get OpenGroup
Source codeBoolean openGroup = fieldGroup.getOpenGroup();
FieldMapping
Methods
getField
Get the field
Declaration
func getField() -> String?
Parameter
(none)
Return
String
Sample code
get Field
Source codeString field = fieldMapping.getField();
getRelatedFields
Get the relatedFields
Declaration
func getRelatedFields() -> String?
Parameter
(none)
Return
String
Sample code
get Related Fields
Source codeString relatedFields = fieldMapping.getRelatedFields();
SubTableField
Warning
- extend the abstract class "Field"
Methods
getFields
Get the fields
Declaration
func getFields() -> [String: AbstractInputField]
Parameter
(none)
Return
Map<String, AbstractInputField>
Sample code
get Fields
Source codeMapfields = subTableField.getFields();
Field
Warning
- This class is an abstract class.
Methods
getCode
Get the code
Declaration
func getCode() -> String
Parameter
(none)
Return
String
getType
Get the type
Declaration
func getType() -> FieldType?
Parameter
(none)
Return
FieldType