Integrate AppNavi in service now.

In this chapter, we outline the process of integrating AppNavi into ServiceNow using a code snippet.

Here's a step-by-step guide to achieve this integration:

Steps for Integration

  1. Navigate to UI Scripts Access the UI Scripts section in your ServiceNow instance.
  2. Click on the new button to Create a New UI Script
  • Set the UI Type: Choose All. You can also restrict this to specific views, but if so, ensure you include the Global scope.
  • Provide a Name and Description: Name your script appropriately and include a clear description for reference.
  • Add the JavaScript Code: Insert the code snippet below. Ensure you replace the placeholder Tenant-ID with your unique Tenant ID.

Created script will display in the UI script listing.

Integration code:

(function() {
var script =  document.createElement('script');
// Add here your own (Tenant-ID) instead of 0000000
script.src="https://dataprod.inappnavi.com/client/anloader.js?tenant=210dea9e&delay=250";
document.head.appendChild(script);
})();

Notes:

  • Replace 00000000 in the script.src URL with your Tenant ID.
  • The delay parameter can be adjusted to customize the script loading timing if needed.

Limitations

  • Classic View Only: Currently, this approach integrates AppNavi into the classic view of ServiceNow.
  • Workspace View: Integration with the workspace view is not yet supported. However, a solution to address this limitation is under development.

This setup allows AppNavi to function seamlessly in the classic view while efforts continue to expand compatibility for all views within ServiceNow.