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 code

    Integer app = formfields.getApp();

getRevision

Get the revision

Declaration

func getRevision() -> Int?

Parameter

(none)

Return

Integer

Sample code

get Revision Source code

    Integer revision = formfields.getRevision();

getProperties

Get the properties

Declaration

func getProperties() -> [String: Field]?

Parameter

(none)

Return

Map<String, Field>

Sample code

get Properties Source code

    Map properties = 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 code

    String label = fieldGroup.getLabel();

getNoLabel

Get the noLabel

Declaration

func getNoLabel() -> Bool?

Parameter

(none)

Return

Boolean

Sample code

get NoLabel Source code

    Boolean noLabel = fieldGroup.getNoLabel();

getOpenGroup

Get the openGroup

Declaration

func getOpenGroup() -> Bool?

Parameter

(none)

Return

Boolean

Sample code

get OpenGroup Source code

    Boolean openGroup = fieldGroup.getOpenGroup();

FieldMapping

Methods

getField

Get the field

Declaration

func getField() -> String?

Parameter

(none)

Return

String

Sample code

get Field Source code

    String field = fieldMapping.getField();

getRelatedFields

Get the relatedFields

Declaration

func getRelatedFields() -> String?

Parameter

(none)

Return

String

Sample code

get Related Fields Source code

    String 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 code

    Map fields = 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

Reference