BlueCielo Meridian Asset Management Module 2013 Administrator's Guide | BlueCielo ECM Solutions

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 a URL

Retrieving arguments from a URL

When the maintenance management system does not provide a convenient API, but a unique identifier is available in the URL of the maintenance management system page, then the identifier can be retrieved from the URL. For example, specified the following URL for the current web page in the maintenance management system:

http://srv/gisapp/showmap.jsp?latitude=123&longitude=445

The URL arguments can be extracted and the Meridian Explorer home page can be opened by the following JavaScript:

<script language=javascript>
function showDocs()
{
sURL = window.location.href;
s = sURL.split ('?')
window.open(‘http://<ServerName>/ExplorerClient/Home.aspx?' + s [1]);
}
</script>

A link to the Meridian Explorer home page can be provided by an anchor on the maintenance management system’s web page similar to the following.

<a onclick ="showDocs ();">Show linked documents</a>

With this technique, it is most convenient to pass all of the arguments from the maintenance management system URL to the URL of the Meridian Explorer home page and then define filters only for the arguments that are necessary for the object to document relationship.

One advantage of this technique is that the JavaScript runs on the client in the browser, so it cannot interfere with the server-side operation of the maintenance management system application.

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 an API

Retrieving arguments from a form

Retrieving arguments from a session object


Copyright © 2000-2013 BlueCielo ECM Solutions

www.bluecieloecm.com