Purpose:

Navigate the administrator users back to where they left off in the Web Version of Encompass Services Management page, after they are done interacting with your application's administrator-facing user interface.

Sample Usage:

async function closeAdminInteraction() {
  const transactionTemplateObject = await elli.script.getObject('transactionTemplate')
  transactionTemplateObject.close()
}

closeAdminInteraction()
elli.script.getObject('transactionTemplate')
  .then(
    (transactionTemplateObject) => {
      transactionTemplateObject.close()
    }
  )

Interface:

Input:

None

Returns:

None

🚧

Not able to retrieve this object?

Remember, the transactionTemplate object is only accessible to the administrator-facing view of a Partner application, registered as the $.adminInterfaceUrl property in the product configuration. This object encapsulates functionality that is only relevant for products that support 1-click/automated ordering workflows (as specified by the $.tags.workflows tag in the product configuration), and is only applicable when an administrator is trying to create a 1-click/automated service ordering setup in the Web Version of Encompass Services Management section.

This object is therefore not accessible to an integration's service ordering views (registered as the $.interfaceUrl property in the product configuration), wherein the transaction and application objects are available for use as applicable.