You are here: About integrating with a maintenance management system > Integrating with other maintenance management systems > About integrating with a web-based system > Retrieving arguments from an API

Retrieving arguments from an API

The maintenance management system may provide an API to retrieve data from the user’s session. For example, Maximo 5 provides such an API in its JavaScript pages. This is the technique that the Asset Management Module uses for its Maximo 5 integration. The following example JavaScript expression retrieves the equipment number for the currently selected equipment.

<%=linkdoctree.getParent().getString("eqnum")%>

The returned value can then be integrated into the URL by writing code similar to the following example in the JavaScript page.

src=http://<ServerName>/ExplorerClient/Home.aspx?eqnum=<%=linkdoctree.getParent().getString("eqnum")%>

If the maintenance management system provides a similar API, this is the recommended way to obtain data from the user’s session.

Related concepts

Understanding the generic integration

Integrating with other maintenance management systems

Understanding the maintenance management system requirements

About integrating with a web-based system

About integrating with a Windows-based system

Related tasks

Retrieving arguments from a URL

Retrieving arguments from a form

Retrieving arguments from a session object


www.bluecieloecm.com