Namespaces
Methods
- 
    Appearition.Form.GetFormFieldListItemsSyncManifest (request, requestOptions)Appearition.Form.FormFieldListItemsSyncViewModel staticThis will return the list of values for every list type field that appears in any form. It is a convenience method that can be invoked if needed. Note, the GetFormSyncManifest method will also return the list items for each field under each form so this is not a necessary method to invoke 
- 
    
    
    
    
    
    
    
        
Name Type Description requestAppearition.Form.FormFieldListItemsSyncViewModel The unique identifier of the document requestOptionsAppearition.RequestOptions Contains the various callback methods for this request Returns:Type Description Appearition.Form.FormFieldListItemsSyncViewModel This is returned as part of the success callback function in the requestOptions param 
- 
    Appearition.Form.GetFormSyncManifest (request, requestOptions)Appearition.Form.FormsSyncViewModel staticRetrieves a delta of new or modified Forms on the server. The delta is determined from the view model sent in the request body Will return the Appearition.Form.FormsSyncViewModel model 
- 
    
    
    
    
    
    
    
        
Name Type Description requestAppearition.Form.FormsSyncViewModel Contains the identifiers for retrieving the required records requestOptionsAppearition.RequestOptions Contains the various callback methods for this request Returns:Type Description Appearition.Form.FormsSyncViewModel This is returned as part of the success callback function in the requestOptions param 
Type Definitions
- 
    
    
    
    Represents a specific field that appears on a form. A field is polymorphic in that it can be defined to represent a text field, a list field or anything else required. 
- 
    
    
    
Properties:Name Type Description FieldKeystring Unique identifies the Field FieldTypeAppearition.Form.FieldTypeEnum Identifies the face that this field must take (e.g. Text, List, Photo, etc). Note whilst this is a fixed enum, more types can be added in the future. FieldLabelstring Text that is presented to the user as a prompt to the field Instructionsstring Text that is presented to the user as guidance when setting a value for the field Ordinalnumber The index position within the form that this specific field appears in. Zero based index. IsCompositeboolean Deprecated. Note used OrdinalCompositenumber Deprecated. Note used CompositeRecursionnumber Deprecated. Note used ListItemsArray.<string> A collection of values that the user can choose from. This is only applicable if the field type is a list 
- 
    
    
    
    The various types that a field can look like 
- 
    
    
    
Properties:Name Type Description Radionumber 401 Checkoxnumber 402 TextboxSingleLinenumber 403 TextboxMultiLinenumber 404 SectionTitlenumber 405 TakePhotonumber 406 ReadDocumentsnumber 407 DateSelectionnumber 408 ChooseFromListnumber 409 SubFormnumber 410 Barcodenumber 411 AttachFilenumber 412 AssetCheckInnumber 413 AssetCheckOutnumber 414 TimeSelectionnumber 415 DateTimeSelectionnumber 416 VerifyAssetnumber 417 AssetCheckInOutnumber 418 AddPartnumber 419 ChoosePartsnumber 420 NewAssetCheckInnumber 421 
- 
    
    
    
    This data structure holds each option for each list that appear in each form. Each option has a unique key which is linked to a specific list field 
- 
    
    
    
Properties:Name Type Description ListItemsArray.<Appearition.Form.ListItemSyncViewModel> A collection of lists options 
- 
    
    
    
    This data structure holds the details of a specific Group which holds a collection of Forms 
- 
    
    
    
Properties:Name Type Description FormGroupIdnumber The unique identifier of the group FormGroupNamestring The name of the group IsJobAllocatedboolean If set to true, a user will not be able to complete and submit any forms unless they have chosen an allocated job. If set to false, the user is able to complete and submit forms for any site and any job. Ordinalnumber The index position within all the groups that this specific group appears in. Zero based index. FormsArray.<Appearition.Form.FormSyncViewModel> The collection of Forms that have been associated to this group 
- 
    
    
    
    This data structure holds the details of all Groups which the Forms are then organised under. A group represents a process which may have one or many forms associated. Note the same form can appear under one or many groups. 
- 
    
    
    
Properties:Name Type Description FormGroupsArray.<Appearition.Form.FormGroupSyncViewModel> A collection of Groups of Forms 
- 
    
    
    
    Represents a Form and all of the details 
- 
    
    
    
Properties:Name Type Description FormKeystring Unique identifies the Form FormNamestring The name of the Form Instructionsstring Text that is presented to the user as guidance when completing and submitting the form Ordinalnumber The index position within all the forms that this specific form appears in. Zero based index. IsRequiredboolean Indicates if this form must be filled in and at least saved before proceeding to the next. IsGatewayboolean Deprecated. Holds the same value as IsRequired FieldsArray.<Appearition.Form.FieldSyncViewModel> A collection of fields that are presented in this form 
- 
    
    
    
    Represents a specific option that appears in a list. The key determines into which actual field the option belongs to 
- 
    
    
    
Properties:Name Type Description FieldKeystring Unique identifies the Field to which this option is an item on. ItemTextstring The text that is displayed in the list for selection Ordinalnumber The index position within the list that this specific option appears in. Zero based index.