Track Opening of Records
You can also track the touch of the records by tracking the opening of the records. To track the opening of the records, certain customization is required. For example, consider a scenario where you want to track the touch/opening of the account records.
  • Create a record of the User Adoption Entity Configuration Entity with the following details;
    • Entity Label: Account (entity on which you need track open/read)
    • Entity Schema: account (schema name of the entity)
    • Message: ikl_open
    • Period: Daily (period you want to track)
  • Add the following User Adoption Monitor JavaScript libraries which are shipped along with the product to the ‘Account’ form in the same order as mentioned below;
ikl_/UserAdoption/scripts/jquery.js
ikl_/UserAdoption/scripts/UserAdoption.CrmJS.js
ikl_/UserAdoption/scripts/UserAdoption.WebAPI.js
ikl_/UserAdoption/scripts/UserAdoption.ExecuteReadAction.js
  • Then finally call the ‘getRecordDetails’ function on the Form OnLoad event as shown in the below screenshot from the Java Script Library ikl_/UserAdoption/scripts/UserAdoption.ExecuteReadAction.js (which has already been included in the form) onload of the form and then save and publish the customizations.
Note:
  • You need to make the above mentioned changes on each of the form being used in case you have multiple forms configured for role-based access.
  • To make the above mentioned changes one needs to have the System Administrator privilege.
Last modified 3d ago
Copy link