Create an Object Filter in the Sync Profile Manager
You can define object filters in the Sync Profile Manager admin tool which simply put of setting rules to determine which records from each object are sent to FieldFX Mobile for users assigned to that sync profile.
Object filters are condition applied to sObjects in FieldFX (like Job, Ticket, Price Book, etc.) which limits the data synced to mobile devices. Instead of syncing all the records for an object, you can use a filter with criteria such as:
-
Job Status (Ex. only "Active" jobs)
-
Data Ranges (Ex. jobs scheduled in the next 30 days)
-
Assigned user (Ex. jobs where the user is on the crew)
Filters can help with system performance and reduce sync time by sending only the relevant data. They can provide security which prevents unnecessary exposure of sensitive data. Mobile users see only the data they need for their work improving their user experience.
|
|||
Job |
|
||
Ticket |
|
||
Price Book Items |
|
||
How the Filters are Defined
The Sync Profile Manager has multiple ways of defining object filters:
-
Filters can be applied to main objects such as Jobs or Tickets and lookup objects like Accounts and Equipment.
-
You can use SOQL filter for precise control.
-
Records can be excluded using certain fields such as
FX5__ffx_Last_Used_c >= LAST_N_DAYS:90
Filter Best Practices
-
Use SOQL filters over legacy AltSync flags since SOQL is faster and more flexible.
-
Keep filters simple for performance.
-
Validate filters before saving.
Filter Examples
Here are some SOQL filter examples that are primarily used for look-up objects (Account, Contact, Equipment, any other custom look-up objects):
| These examples may or may not work depending on which fields and objects are in your org. Verify the SOQL before deploying the example in your org. Use SOQL over AltSync for flexibility and speed. |
| Object Type | Purpose | Filter Example | |
|---|---|---|---|
Jobs |
Active Jobs Only |
|
|
Jobs Starting Today or Later |
|
||
Active Jobs Assigned |
|
||
Jobs Within Next 30 Days |
|
||
Tickets |
Field and Maintenance Tickets |
|
|
Tickets Linked to Active Jobs |
|
||
Tickets Created in Last 7 Days |
|
||
Price Book Items |
Items Used in Last 90 Day |
|
|
Items in Specific Price Book
|
|
||
Equipment |
Active Equipment Only |
|
|
Equipment Assigned to Current Job |
|
||
Equipment Planning |
|
Process
-
Access the Sync Profile Manager admin tool.
-
At the Configuration Profiles tab, select the sync profile you want to add the filter to.
-
Under Transaction Objects, click on the object that you want define a filter.
-
At the Transaction Object Config - <object name>, type a valid SOQL filter in the Download Filter box.
-
Repeat for other objects as needed.
Recommended Reading
For more information, see:
| FieldFX Documentation | Salesforce Documentation |
|---|---|
|
|