System Administration Guide for FieldFX Mobile App
This setup and configuration guide is for System Administrators to install and configure the FieldFX Mobile App for mobile users to work and exchange data with FieldFX Back Office.
Differences between FieldFX Mobile App and FX Mobile
There are key differences in capabilities in the new FieldFX Mobile App and the existing FX Mobile.
Feature | Previous FieldFX Mobile (called FX Mobile and FX Mobile Pro) |
FieldFX Mobile App | |
---|---|---|---|
Platform |
|
|
|
Accessibility |
|
|
|
Custom Forms |
|
|
|
FieldFX objects |
|
|
|
|
|||
Background |
|
|
|
Sync Profile |
|
|
|
ServiceMax |
|
|
Prerequisites & Requirements
The following are requirements as you configure your org to work with the FieldFX Mobile App:
FieldFX Back Office | FieldFX Mobile App | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Setup Steps Summary
This is a summary of the steps you need to complete. Where applicable, references to a section is given for more detailed steps.
-
Assign required permissions to users.
-
Configuration of sync profiles.
-
Correct configuration of FX Settings Custom Settings.
-
Contact FieldFX Support for guidance on how to set up Email Notifications using Salesforce Flow for Sync Failures.
Configuration Overview
Pages and Objects
When configuring the FieldFX Mobile App, an admin can use the Sync Profile Wizard Admin Tool in the FieldFX Back Office to set up the mobile user’s access to data and metadata. The configuration areas below are listed along with any special requirements:
Object Configuration |
|
||||||||||||
Page Layouts |
|
||||||||||||
Mobile Profile |
|
||||||||||||
Special Requirements |
|
||||||||||||
Testing |
|
What is a Sync Profile?
A sync profile is a configuration that determines how data is synchronized between FieldFX Mobile App and Back Office. Each mobile user must be assigned a sync profile. It’s required now but was optional in the FX Mobile. Sync profiles control what data gets sent, received, and updated during a sync process. The admin determines the data (records) and metadata (objects and fields) a user with a sync profile sees in Mobile.
In the FieldFX Mobile App, the following mobile user with a sync profile can:
-
Access to one license and have a different profile in mobile and FieldFX Back Office. The user sees everything in back office but only the tiny sliver of data they need while in mobile.
-
Experience Faster syncs in the app and more precision about how the sync downloads data to the Mobile device.
With the FieldFX Sync Profile Wizard Admin Tool, the admin can:
-
Create, Copy, and Assign a profile to a user
-
Manage page, list, and search layouts
-
Define sObject filters for main objects and lookups
-
Propagate sObject changes across multiple profiles at once
The Sync Assignment Tool in FieldFX has been improved for price books and jobs. Custom fields and automatic sync assignment creation based on sync profile and user setup are supported.
To ease the transition from a previous user sync profile compatible to the FieldFX Mobile App, the admin can use tools to migrate the sync profile.
FieldFX Back Office Configuration
Permissions for Required Objects and Permissions
To configure the required objects and permissions to use the FieldFX Mobile App, you need to set access to FieldFX objects and permissions/permission groups.
Enable Read Access to Staged Data Object
The mobile user profile must have access to these Apex classes. Find the Apex class and click checkbox next to the Apex class name.
Mobile field profiles need read access to the Staged Data object.
You can do the same through a permission set. |
-
Click Setup.
-
Search for a select Profiles.
-
Find the profile to give access to the Staged Data object.
-
In the Profile, click Object Settings under the Apps section.
-
Since the list of objects is long, enter 'staged' into the search field and select Staged Data.
-
Click Edit.
-
Scroll down to "*Object Permissions".
-
Enable the checkboxes next to Read and View All
-
-
Scroll down to Field Permissions.
The field permissions shown may differ from the profile’s permissions.
Both of the Read Access and Edit Access checkboxes are checked. * Uncheck the Edit Access checkbox (for mobile field users only). . Click Save. |
Enable Apex Classes in a Mobile User’s Sync Profile
The mobile user profile must have access to these Apex classes.
Apex Class Name | Reason for Access |
---|---|
|
is required Apex class for a Mobile User’s Sync Profile handles data syncing between FieldFX and mobile devices. With the Apex class, mobile users can send and receive job, pricing, and lookup data. |
|
This required Apex class for a Mobile User’s Sync Profile manages the sync of file attachments between FieldFX and mobile devices. With this Apex class, mobile users can access and upload documents, images, and reports in the field. It enables attachments updated and available all devices |
|
This required Apex class for a Mobile User’s Sync Profile controls the processing and syncing between FieldFX and mobile devices. This Apex class ensures that job details, pricing, and other updates are validated before sending them to mobile users. |
Permissions & Permission Groups
To use the FieldFX Mobile App, the mobile user must have the proper permissions/permission groups.
For more information, see Assign a Permission Set to Users.
Use SOQL over AltSync
FieldFX offers two ways on how Salesforce records get synched to mobile devices.
AltSync | Salesforce Object Query Language (SOQL) |
---|---|
This way uses a special checkbox added to key FieldFX objects. If the checkbox is checked (manually or automatically from triggers or nightly processes), a record is marked to sync to mobile. The main purpose is to limit the number of records sent to only those that were set to active or used recently. This method works on a record-by-record basis relating to activity. Inactive records are automatically dropped from the mobile sync. |
This way doesn’t rely on a per-record flag. With SOQL, you can write a query to pull exactly the records you need based on your defined conditions. You can selectively retrieve only the relevant fields and records, filtering and sorting data in one step. |
Use SOQL over AltSync filters because of these advantages:
-
Selective Retrieval: A query you write only returns the records (and even just the fields) you need. Mobile devices aren’t overloaded with unnecessary data.
-
Efficiency: SOQL is designed to work within Salesforce’s limits (often called governing limits) and allow you to filter records in bulk rather than single one-by-one processing (as in using the AltSync flag).
-
Flexibility: You can adjust the query criteria with your changing business needs. Otherwise, with AltSync, you depend on a fixed sync flag which might not cover every scenario.
Verify which Transactional Objects are Syncing
|
|
|
|
|
|
Transition from AltSync to SOQL
Depending on your business processes and the setup of your FieldFX org, these steps may be more complicated or simpler than described. When using the FieldFX Mobile App, use SOQL instead of AltSync |
To transition to SOQL and not rely on AltSync, follow these basic processes so SOQL dynamically fetches the precise data for mobile sync:
-
Review Current AltSync Setup
-
Identify the objects and records currently using the AltSync field and related automations (such as triggers and nightly processes) to determine if they should sync
-
Note the existing criteria in use that you use to determine if a record is marked to sync
-
-
Define Data Criteria for Syncing
-
Analyze how you are using AltSync
-
Translate that logic into SOQL filter criteria so these queries return exactly the needed records
-
-
Disable AltSync Automation
-
When you are ready to convert, disable or remove the AltSync triggers or the scheduled processes which set the AltSync flag
-
If the AltSync field is no longer needed, plan to remove it only after ensuring no business process still relies on it.
-
-
Develop and Test SOQL Queries
-
Build the SOQL queries to mimic the AltSync logic you used.
-
Use can use Salesforce tools (like the Developer console or Query Editor) or FieldFX’s Sync Profile Wizard Admin Tool to create and test your queries. The admin tool has a built-in validation of SOQL syntax. Testing enables you to confirm if they are returning the correct records while still following best practices.
-
-
Update Integration or Mobile Sync Logic
-
Replace code or processes checking the AltSync field with your SOQL queries.
-
Ensure any mobile or integration components pull records directly via SOQL rather than reading the AltSync flag.
-
-
Perform Complete Testing and Validation
-
Validate your new SOQL-based queries return the correct dataset in both sandbox and test environments.
-
Monitor the performance and governor limit usage to ensure the efficiency of the queries
-
Sync Profile Wizard Admin Tool
For more information, see Sync Profile Wizard and Add a sync profile to a user.
|
Tool Sections
The admin tool has these sections.
Wizard |
This section helps the admin set up data sync, job dispatch, and pricing. It guides admins step by step to connect FieldFX with mobile devices. |
||
Overview |
This section provides a summary of system settings and configurations by individual sync profile. The admin can set:
|
||
Job and Price Book Dispatch |
This section allows an admin to:
|
||
Price Books |
This section manages service, equipment, and material pricing. It ensures field teams have accurate and up to date job and invoice pricing. As a admin, you can update, organize, and sync price books. |
||
Price Book Items |
This section manages service, equipment, and material pricing. It ensures field teams have accurate and up to date job and invoice pricing. As an admin, you can update, organize, and sync price books but manages the access to the items within a price book. |
||
Synced Objects |
This section allows an admin to define which objects need to sync to the Mobile device for the profile (for the user). |
||
Transactional Objects |
This section allows an admin to manage the syncable objects for which records can be created in Mobile.
As a system admin, you can verify which transactional objects are currently syncing and what needs to migrate to the new FieldFX Mobile App. |
||
Lookup Objects |
This section allows an admin to manage the sync-able reference (look-up) objects in the Mobile app.
|
||
Sync Staged Data Setup |
This section allows an admin to prepare the data that will be synced to the Mobile application for the sync profile (for the user). From this screen, the admin can:
|
||
Raw Config |
This section shows the detail of the configuration for the sync profile in a JSON format. This section will be removed in a future iteration. |
Use SOQL Filters
For a summary of why SOQL is better than using the AltSync filter, see Use SOQL over AltSync above.
Create a SOQL Filter
Follow these steps:
-
Access the Sync Profile Wizard from the Admin Portal in Back Office.
-
At the Welcome to Sync Profile Wizard main screen, choose the Sync Profile you want to add the SOQL filter to in the Active Profile dropdown.
-
Click on the object on the side menu to have the SOQL filter.
-
Under Filter Records, click the SOQL Filter tab.
-
In the SOQL Filter input box, enter the SOQL text for the filter.
Make sure you have an understanding of SOQL and constructing SOQL statements. For performance reasons, don’t use the AltSync field in the SOQL filter if the AltSync field is a formula field. Example 1. Common SOQL FiltersThese common SOQL filter examples could be useful to a mobile user.
The SOQL Filter box has already encoded SELECT <FIELDS> FROM <Name of object> WHERE
. You only need to enter the operation. For the SOQL filter to be valid, the column you reference must exist on the SOQL Object. These are example SOQL filters. The object names and parameters may differ depending on how your org is set up. Always validate your SOQL filter before activating it.Use Case Object Sample SOQL Syntax
(Customize with the specifics for the filter.)Filter jobs
in IndianaFX5__Job__c
FX5__Site_State__c = `Indiana`
Filter jobs by
categoryFX5__Category__c = 'Service'
Filter jobs by
warehouseFX5__Warehouse__c = '<name of warehouse>'
Filter jobs by
priorityFX5__Priority__c = 'Medium'
Show cancelled
jobsFX5__Status__c = 'Cancelled'
Show if what
price books
are activeFX5__Price_Book__c
FX5__Is_Active__c = TRUE
Is the price
book item
archived?FX5__Price_Book_Item__c
FX5__IsArchived__c = TRUE
Is the price
book item
Quantity 1?FX5__Minimum_Quantity__c = 1
Retrieve tickets
created in the last weekFX5__Ticket__c
CreatedDate = LAST_N_DAYS:7
Filter tickets
linked to
specific jobsFX5__Job__c IN (`<Job 1 ID>`,`Job 2 ID`)
Filter tickets
in progressFX5__Status__c = 'In Progress'
Include only
approved ticketsFX5__Approval_Status__c = 'Approved'
Exclude completed
ticketFX5__Status__c NOT IN (`Completed`, `Closed`)
Filter ticket
items by typeFX5__Ticket_Item__c
FX5__Item_Type__c = `Material`
Filter ticket
items linked
to a ticketFX5__Ticket__c = `<Ticket ID>`
Include only
billable ticket
itemsFX5__Billable__c = TRUE
Exclude ticket
items with 0
quantityFX5__Quantity__c > 0
Filter by
items created
in the last monthCreatedDate = LAST_N_DAYS:30
Lookup Objects
Account
Website = 'www.yahoo.com'
FX5__NumberofLocations__c = 1
Equipment
FX5__Location_Text__c = 'here'
User
Title = 'CEO'
These are example SOQL filters. The object names and parameters may differ depending on how your org is set up. Always validate your SOQL filter before activating it. -
Click Validate to ensure the SOQL is correct.
-
If the SOQL is validated, click Save to save the filter.
Sync Staged Data Setup
For more on Staged Data, see Staged Data |
If you made changes to any of the sync profiles, update the sync data:
-
In the Sync Profile Wizard Admin Tool, click Sync Staged Data Setup if you want to create the Staged Data now.
-
In the Prepare Sync Data for Default Profile block, click Prepare Sync Data
The SyncStagedDate job will immediately run to update the sync profile in Back Office. The records, if any, in the Staged Data object are overwritten with the updated records.
To schedule the Sync Data for later, click Schedule and set the date and time if available.
Staged Data
|
Set Sync Packet Size for AutoSync
To set the size of the Sync Packets for AutoSync, follow these steps:
-
In your org’s setup, use the Quick Find and enter
object manager
. -
Select Object Manager.
-
Open FX Settings.
-
Select Manage and then Edit.
-
Find Sync Packet Size and change the value from
60
to10
. -
Click Save.