Available in: Axsy Mobile for Salesforce, Axsy Field Service, Axsy Public Sector, Axsy Retail Execution

It is possible to visually compare the differences between two scopes. To compare the current scope being edited to a different scope:

  1. Select the scope to view and edit from the Scope drop down list
  2. Select the scope to compare it to from the Compare drop down list

Any differences will be highlighted in yellow. Yellow highlighting of differences is done in real-time as you make edits. This allows you to actually compare a scope to itself, effectively highlighting any changes you're making in real-time from the previously saved version of the scope.

Figure 1 - In the above example, the "Community Plus Scope" is being compared to the Org Default scope and the yellow highlighting shows that, under "Sync > Visits > Query Parameters" that there is a difference between the "Next Days" and "Previous Days" parameters

Figure 2 - Using the same example as above, the yellow highlighting shows that, under "Sync > Events > Related Objects", that the "Account" object being included in the "Community Plus Scope" sync tree differs from the Org Default scope

Applying a Patch File to Match Scopes

When comparing two scopes, it's possible to download a JSON Patch file that contains all the differences between the two scopes - i.e. effectively a file representing those items highlighted in yellow. The JSON Patch file can then be applied to a scope which updates it with the differences contained in the JSON Patch file so that both scopes are now identical.

Figure 3 - The "Download" button to the right of the "Compare" drop-down list will allow you to save a JSON Patch file while the "Upload" button to the left of the "Manage Scopes" button will allow you to apply a JSON Patch file to the current scope being edited