Form Layout
Get the layout of a form. Length and width of the field, The fields you set on the table and their order, Put fields in the Group field and their layout, label, space, and border settings.
- Permissions to view the App is needed.
- API Tokens cannot be used with this API.
FormLayout
Methods
getRevision()
Get the revision
Parameter
(none)
Return
String
Sample code
get Revision
Source codeString revision = layout.getRevision();
getLayout()
Get the layout
Parameter
(none)
Return
List<ItemLayout>
Sample code
get Layout
Source codeListitemLayoutList = layout.getLayout();
FieldLayout
Methods
getType()
Get the type
Parameter
(none)
Return
String
Sample code
get Type
Source codeString type = fieldLayout.getType();
getCode()
Get the code
Parameter
(none)
Return
String
Sample code
get Code
Source codeString code = fieldLayout.getCode();
getElementId()
Get the elementId
Parameter
(none)
Return
String
Sample code
get Element Id
Source codeString elementId = fieldLayout.getElementId();
getLabel()
Get the label
Parameter
(none)
Return
String
Sample code
get Label
Source codeString label = fieldLayout.getLabel();
getSize()
Get the size
Parameter
(none)
Return
Sample code
get Size
Source codeFieldSize size = fieldLayout.getSize();
FieldSize
Methods
getWidth()
Get the width
Parameter
(none)
Return
String
Sample code
get Width
Source codeString width = fieldSize.getWidth();
getHeight()
Get the height
Parameter
(none)
Return
String
Sample code
get Height
Source codeString height = fieldSize.getHeight();
getInnerHeight()
Get the innerHeight
Parameter
(none)
Return
String
Sample code
get Inner Height
Source codeString innerHeight = fieldSize.getInnerHeight();
GroupLayout
Warning
- extend the abstract class "ItemLayout"
Methods
getCode()
Get the code
Parameter
(none)
Return
String
Sample code
get Code
Source codeString code = groupLayout.getCode();
getLayout()
Get the layout
Parameter
(none)
Return
List<RowLayout>
Sample code
get Code
Source codeListlayout = groupLayout.getLayout();
RowLayout
Warning
- extend the abstract class "ItemLayout"
Methods
getFields()
Get the fields
Parameter
(none)
Return
List<FieldLayout>
Sample code
get Fields
Source codeString fields = rowLayout.getFields();
SubTableLayout
Warning
- extend the abstract class "ItemLayout"
Methods
getCode()
Get the code
Parameter
(none)
Return
String
Sample code
get Code
Source codeString code = subTableLayout.getCode();
ItemLayout
Warning
- This class is an abstract class.
Methods
getType()
Get the type
Parameter
(none)
Return
LayoutType
Reference
- Get App
on developer network
- Get Apps
on developer network
- Get Form fields
on developer network
- Get Form Layout
on developer network