Difference between revisions of "Auditing"

From Resco's Wiki
Jump to: navigation, search
(Display auditing data on different CRM servers)
Line 55: Line 55:
  
 
Server support for Auditing is available for Resco Cloud, Salesforce, CRM4, 2011, 2015 and Dynamics 365. Salesforce is a special case because with it, the records are saved on Resco Cloud.
 
Server support for Auditing is available for Resco Cloud, Salesforce, CRM4, 2011, 2015 and Dynamics 365. Salesforce is a special case because with it, the records are saved on Resco Cloud.
 +
 +
* In [[Resco CRM server]], auditing information is available from the '''[[Admin Console]]''': select '''Settings > Auditing''' from the menu.
  
 
== Display auditing data in Mobile CRM application ==
 
== Display auditing data in Mobile CRM application ==

Revision as of 11:18, 9 July 2019

Auditing allows you to define actions in the Resco Mobile CRM that should be recorded. Collected audit data will be sent to the CRM server when the application synchronizes. Auditors can then display audit data on the CRM server or even in the mobile app.

Enable collection of audit data

Select Auditing from the Project menu of Woodford to configure auditing in the app project.

Enabled
Select to enable audit.
Include GPS Position
Track the time and GPS position (the device must contain the GPS chip) when the action/change was performed.
Log synchronization event
Record the time and location where the synchronization was performed.
Log application state events
Track application's state: whether the application is running, terminated, paused (put to background), or resumed (put back to foreground).
Track GPS position changes
If you want to audit the movement, you can use the Track GPS position changes, where you can set the Delay and Distance of the GPS position. If the device moves for the defined distance after the set time interval expires, the position is recorded.
Table of entities
For each entity, select which actions should be recorded: Create, Update, Delete, StartEdit, EndEdit.

Display auditing data in Microsoft Dynamics server

To see auditing records in Microsoft Dynamics, go to Settings and select Resco Cloud > Mobile Auditing. You have two optionos:

  • Check the mobile auditing records.
  • View the records with the mobile auditing map. Requires a Google Maps API key.

Entering a Google Maps API key

To use the Mobile Auditing Map, you need to own the Google Api Key v3.

To enter it, go to Settings > Solutions and double-click Woodford. Select Configuration from the menu, enter the Google maps API key, and then click Save.

There's also an alternative way of setting up the API key.

  1. On the Dynamics Server, go to Settings > Customizations > Customize the System.
  2. Select Components > Web Resources from the menu and scroll down to Global properties for Map Providers.
  3. In the Web Resource: Global properties for Map Providers window, click Text Editor to open the script file for editing.
  4. Finally, enter the Google API key into the script specify the key into googleMapsApiKey field; leave googleClientID as null
googleMapsApiKey: "EnterYourGoogleApiKeyHere",
googleClientID:null,

Adding mobile audit records on the server form

To add the Mobile Auditing tab to the CRM server form:

  1. Go to Settings > Customizations > Customize the System on the CRM server.
  2. Select the Form, for example on the User entity, as it is the most relevant entity for the Auditing functionality.
  3. Click Import and add or select the tab where you want to add the list of user actions and click on Sub-Grid.
  4. Enter a unique name and select the Mobile Audit (Created by or Modified by) from the list of primary data source entities after that.
  5. Optionally, set View Selector to show all or selected views (there are some predefined views for the Mobile Audit entity, such as Today, Yesterday, etc.).

Adding mobile audit map on the server form

If you use the Google Maps API key, you can add the user activity visualization map.

  1. Go to Settings > Customizations > Customize the System on the CRM server.
  2. Select the Form, for example on the User entity, as it is the most relevant entity for the Auditing functionality.
  3. Click Import and add or select the tab where you want to add the list of user actions and click on Web Resource.
  4. Select resco_MobileCRM/MapIframe.html as the web resource.
  5. Set the name and check Pass record object-type code and unique identifier as parameters, as it will show only the records that the observed user made.

Display auditing data on different CRM servers

Server support for Auditing is available for Resco Cloud, Salesforce, CRM4, 2011, 2015 and Dynamics 365. Salesforce is a special case because with it, the records are saved on Resco Cloud.

Display auditing data in Mobile CRM application

Since version 10.1 of Resco Mobile CRM app, it is possible to see aggregated auditing data also in the mobile application, not only on the CRM server.

To see it in action and learn how to set it up, please check this part of the webinar. Webinar