DataGuide Data Model
DataGuide is a product built by ServiceMax that enhances the power of FieldFX. It combines the capabilities of Advanced Forms and Document Generation to guide end users to efficiently capture and present data in support of a variety of tasks such as inspection, maintenance, and safety.
This section provides information on the relationship between standard fields and custom fields of ServiceMax, Salesforce, and FieldFX objects.
The following diagram displays the relationship between the Objects and Fields used in DataGuide. The FieldFX Parent Object currently refers to either the Job object or the Ticket object. Additional object support is coming.
You can use Form Objects and Report Template Objects
Form Objects | Report Template Objects |
---|---|
These objects are introduced in the DataGuide package on the Salesforce standard objects, DataGuide custom objects, and FieldFX objects. |
These objects are introduced in the DataGuide package on the Salesforce standard objects, DataGuide custom objects, and FieldFX objects. |
Form Objects
This section includes the field-level details of the following Report Template objects.
Application Log
API Name |
|
Number of Fields |
7 |
Field Label | Field Name | Data Type | Description |
---|---|---|---|
Standard Field |
|||
Log # |
Name |
AutoNumber |
Name of the application log record. |
Custom Relationship Field |
|||
User |
|
Lookup (User) |
User that has generated the log entry. |
Custom Fields |
|||
Application Name |
|
Picklist |
The only picklist value currently is “Form Response Processing”. |
Timestamp |
|
Number (18) |
Time stamp of when the system generated the log. |
Message |
|
Long Text (2000) |
Body/Message of the log entry. |
Log Type |
|
Picklist |
Possible values: ERROR, INFO, WARNING |
Source Record Id |
|
Text (20) |
Salesforce id of the record that generated the log entry. |
Content Version (Field Addition)
API Name |
|
Number of Fields |
2 |
Field Label | Field Name | Data Type | Description |
---|---|---|---|
Custom Fields |
|||
UID |
|
Text (128) |
This is the unique identifier for question files like images included as file attachments of the form record. |
DataGuide File Type |
|
Picklist (Text) |
Possible values: Template, Form, Form Response. |
Form Object
Metadata for the Advanced Forms in DataGuide.
API Name |
|
Number of Fields |
10 |
Field Label | Field Name | Data Type | Description | ||
---|---|---|---|---|---|
Standard Field |
|||||
Form Name |
Name |
Text (80) |
Name of the Form |
||
Custom Fields |
|||||
Description |
|
Text (255) |
A description of the form. Primarily for use by the form designer or to augment a name that is not easy to read. |
||
Source Object Name |
|
Text (150) |
The API name form’s root object. |
||
IsActive |
|
Checkbox |
If checked, the form is available for use. |
||
IsArchived |
|
Checkbox |
If checked, the system archived the form and shouldn’t be used. |
||
IsAvailable |
|
Long Text Area (131072) |
Formula field that determines if the form is available for a user. If the formula evaluates to true, the form will be available. The system writes the formula in the context of the Form Subject field and then the formula can reference fields on the selected object. |
||
IsDeleted |
|
Checkbox |
If checked, the system deleted the form and shouldn’t be used. |
||
UID |
|
Text (128) |
For system use only. Please do not enter or modify the data in this field. |
||
Allow Multiple Submissions |
|
Checkbox |
If checked, end users will be able to submit this form multiple times on the same record.
|
||
Filter Criteria |
|
Long Text Area (131072) |
The filter criteria to define when a form is available based on user or form’s root object values. |
Form Data Object
This object stores the end-user saved or completed forms.
API Name |
|
Number of Fields |
14 |
Field Label | Field Name | Data Type | Description |
---|---|---|---|
Custom Relationship Fields |
|||
Form Version |
|
Lookup (Form Version) |
This is a link to the version of the form that matches the data in this Form Data record. |
Form |
|
Lookup (Form) |
This is a link to the form that matches the data in this Form Data record. |
Started By |
|
Lookup (User) |
User who started the form. |
Standard Field |
|||
Form Data Name |
Name |
AutoNumber |
|
Custom Fields |
|||
LastSavedOn |
|
Date/Time |
Date and Time when the end user last saved the form. |
CompletedOn |
|
Date/Time |
If this field has a value, then it shows the end date and time of form completion. |
Form Result |
|
Long Text Area (131072) |
Not Used. |
IsCompleted |
|
Checkbox |
If checked, the end user has completed the form. If not checked the work on the form is still in progress. |
IsDeleted |
|
Checkbox |
If checked, the system deleted the form and shouldn’t be used. |
SyncID |
|
Text (50) |
System Field. Used by the FieldFX Mobile application to assign a unique id to the form data record before the form is synced. |
Started On |
|
Date/Time |
Date and Time when the system started the form data record. |
What Id |
|
Text (40) |
18 Digit Salesforce Id of the record when the system saved or submitted the form. |
Status |
|
Picklist |
Status of the form data record:
|
Id Mapping |
|
TextArea (131072) |
System Field. Links form data parent form id to form data reference SObject id. |
Form Expression Object
API Name |
|
Number of Fields |
3 |
Field Label | Field Name | Data Type | Description |
---|---|---|---|
Custom Relationship Field |
|||
Parent Form Version |
|
Master Detail
( |
|
Standard Field |
|||
Form Expression Name |
Name |
Auto Number |
|
Custom Field |
|||
Process ID |
|
Text(150) |
Form Response Object
Object that stores each question-answer pair of form data records that have a parent version set to generate a form response (this is enabled via a Form Action on the Form Version through the Form Designer).
API Name |
|
Number of Fields |
15 |
Field Label | Field Name | Data Type | Description |
---|---|---|---|
Custom Relationship Fields |
|||
Form Data |
|
Lookup (Form Data) |
Reference to the form data record submitted by the end user. |
Form Version |
|
Lookup (Form Version) |
Reference to the parent version of the form data record submitted and created the form response record. |
Form |
|
Lookup (Form) |
Reference to the form template. |
Completed By |
|
Lookup (User) |
Reference to the user that completed the form data record. |
Standard Field |
|||
Form Response Name |
Name |
AutoNumber |
Name of the form response record. |
Custom Fields |
|||
WhatId |
|
Text (40) |
18-digit Salesforce Id of the record for the form data saved or submitted. |
Question |
|
TextArea (255) |
Name of the question as defined in the Form Designer. |
Row |
|
Text (255) |
Not Used. |
Title |
|
Text (255) |
Not Used. |
Answer |
|
TextArea (255) |
Answer to the questions provided by the end user when filling the form. |
Answer |
|
TextArea (131072) |
Comment or long answers provided by the end user when filling the form. |
Answer Number |
|
Formula (Number) |
Answer to number-type questions. |
Answer Date |
|
Formula (Date) |
Answer to date-type questions |
Answer Datetime |
|
Formula (DateTime) |
Answer to datetime-type questions. |
Answer Boolean |
|
Formula (Boolean) |
Answer to Boolean-type questions |
Completed On |
|
DateTime |
Date and Time stamp of when the system generates the form response record. |
Form Version Object
This is a child of the Form object and contains the actual form definition to be used with the metadata in the Form object.
API Name |
|
Number of Fields |
9 |
Field Label | Field Name | Data Type | Description | ||
---|---|---|---|---|---|
Custom Relationship Fields |
|||||
Form |
|
Master-Detail (Form) |
Indicates the form record that the version belongs to. |
||
Standard Field |
|||||
Form Version Name |
Name |
AutoNumber |
|||
Custom Fields |
|||||
Description |
|
Text (255) |
A description of the form version. Primarily used by the form designer. |
||
Form Version Number |
|
Number (18,0) |
Version number of the form. |
||
Mapping |
|
Long Text Area (131072) |
|||
IsActive |
|
Checkbox |
If checked, this field indicates the form version is available for use. |
||
IsArchived |
|
Checkbox |
If checked, the system archived the form version and it’s no longer in use. |
||
IsDeleted |
|
Checkbox |
If checked, the system deleted the form version and shouldn’t be used. |
||
UID |
|
Text (128) |
For system use only.
|
Report Template Objects
This section includes the field-level details of the following Report Template objects.
These fields are introduced in the DataGuide package on the Salesforce standard and DataGuide custom objects.
Report Template
API Name |
|
Number of Fields |
5 |
Field Label | Field Name | Data Type | Description |
---|---|---|---|
Standard Field |
|||
Name |
Name |
Text(80) |
Name of the document template |
Custom Fields |
|||
Report Template ID |
|
Auto Number |
|
SObject |
|
Text (255) |
The API name of object to which this form is dependent. |
UID |
|
Text (128) |
|
Description |
|
Text (255) |
Descriptive text explanation on the template. |
Report Template Expression
API Name |
|
Number of Fields |
3 |
Field Label | Field Name | Data Type | Description |
---|---|---|---|
Custom Relationship Field |
|||
Rendition Id |
|
Master-Detail |
|
Custom Fields |
|||
Process ID |
|
Text (50) |
|
Report Expression Name |
Name |
Text (80) |
Report Template Rendition
Report template rendition stores the multi-lingual template content relation for the templates.
API Name |
|
Number of Fields |
4 |
Field Label | Field Name | Data Type | Description |
---|---|---|---|
Custom Relationship Field |
|||
Parent Report |
|
Master-Detail
( |
Report template associated to the renditions |
Standard Field |
|||
Rendition Number |
Name |
Auto Number |
|
Custom Fields |
|||
Language |
|
Text (5) |
Language code for the language the template is associated with. |
Mapping |
|
Long Text Area (131072) |
Form Report Template
API Name |
|
Number of Fields |
2 |
Field Label | Field Name | Data Type | Description |
---|---|---|---|
Custom Relationship Fields |
|||
Parent Form Version |
|
Master-Detail
( |
The Form Version salesforce record Id |
Report Template Id |
|
Lookup
( |
The Report Template salesforce record id |