Using geolocation tracking |
The geolocation tracking feature enables you to capture latitude and longitude information for every requestor entry in the audit trail. Under the Location column, a Map it link appears next to each entry. Click the link to launch a Google Map that shows the location.
Copy pyGeolocationTrackingIsEnabled to your application to enable tracking. The default condition is true for all clients at all times.You can overwrite this rule to suit your custom requirements. For example, you can set up a privilege or role specifically for mobile users ( tests HavePrivilege()
or HaveRole() for a true condition.
When building on a standard Pega application, Application Express creates the pyGeolocationTrackingIsEnabled when rule at the lowest application layer generated (for example, at the framework layer if also generating an implementation layer). This enables geolocation tracking for every case type in the application.
To control geolocation tracking at the case type level, use the Geolocation tracking option on the Case Designer Details tab.
Consult local laws for possible restrictions on location tracking.
Using the HTML5 Geolocation API, the system captures pxLongitude and pxLatitude property values, puts them on the pyRecordHistoryList.pxResults page, and stores the coordinates on the history table.
audit trail | |
About Case Designer landing pages |