Manage Filters in the Sync Profile Wizard
You can add filters to objects as an additional layer to manage what syncs to mobile devices.
Filters use the AltSync flag on objects, which must be True
for a record to sync.
Filters must be changed from the Default Config Sync Profile, as the filter is an object-level setting that applies to everyone. |
-
Access the Sync Configuration Wizard Admin Portal tool.
-
Select Default Config from the Active Config dropdown.
The filter options selected for the Default Config Sync Profile apply to all Sync Profiles.
If you are using the new FieldFX Mobile App, the AltSync filter and AltSync checkbox shouldn’t be used. Also, when using the Sync Profile Wizard and filters, the AltSync filter shouldn’t be used. |
-
Select the desired object from the menu.
-
If necessary, select the
arrow to expand the Filter records section.
-
Select one of the following options:
Option Object
AvailabilityAction No filter
Do not use AltSync for this object
Filter rows by activity
only
Master Data
and LookupLet FieldFX automatically select or deselect the AltSync flag on records
Filter rows manually
only
TransactionalUse the AltSync flag, but a person selects and deselects the flag on records as needed
Filter rows by formula:
Enter a SOQL statement in the AltSync Formula field that must evaluate to
True
for the record to sync.Many objects have a recommended SOQL formula to use.
Alerts display if the recommended setting is not entered, and the recommended formula displays in the Recommended AltSync Formula field that can be copied into the AltSync Formula field.
-
Select Save, then repeat for other objects as needed.
Add an SQL Filter to an Object
-
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 Ticket Transaction SQL Filter 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.
-
Click Validate to ensure the SOQL is correct.
-
If the SOQL is validated, click Save to save the filter.
Create Filter to Exclude Catalog Items
You can utilize the new FX5__ffx_Last_Used__c
field in the catalog item object to construct a SOQL filter for the Price Book Item object to educe the total number of price book items synced. The field is stamped with the date when the catalog item was last used on a ticket item.
The SOQL filter would be:
FX5__Catalog_Item__r.FX5__ffx_Last_Used__c = LAST_N_MONTHS:12 OR (FX5__Catalog_Item__r.FX5__ffx_Last_Used__c = null AND FX5__Catalog_Item__r.CreatedDate = LAST_N_DAYS:30)
Recommended Reading (3 columns)
For more information, see:
FieldFX Documentation | PTC ServiceMax Help Center | Salesforce Documentation |
---|---|---|
|
|