Install guide
Accessing WOW pages from other applications
District Redirects
Most WOW pages can be accessed directly using an HTTP GET, i.e. a full URL with
arguments. To see what this URL look like, place the cursor over any link in WOW, use
the right mouse button and select option ‘Open Link in New Window’. The URL will be
displayed in the address bar of the new window.
In the examples below, http://wow.oilco.com is an illustrative main WOW URL,
(environmental variable WOW_URL in wow.env), TESTDATA is an example OpenWorks
project, and GOM an example district.
For example, to view a particular Well Summary page directly:
http://wow.oilco.com/bin/ow_well.cgi?owproj=TESTDATA&wellid=1&headeronly=true
If a site uses multiple districts, then this direct approach may fail, for example if the current
district is set to one that does not contain the specified project. In these situations it is
necessary to use the wow_redirect.cgi script to set the district before proceeding to
the target page.
For example, to launch the SeisWorks module from outside WOW with a specified district:
http://wow.oilco.com/bin/wow_redirect.cgi?dist=GOM&url=http://wow.oilco.com/bin/sw.cgi
If the URL itself contains arguments, then it is necessary to replace ‘&’ with ‘@’ so that
these arguments are then correctly passed on by the redirect script. For the well example
above, the resulting redirect syntax is:
http://wow.oilco.com/bin/wow_redirect.cgi?dist=GOM&url=http://wow.oilco.com/bin/ow_we
ll.cgi?owproj=TESTDATA@wellid=1@headeronly=true
WOW 5000.0.1.11 Release Notes Page 36 of 104 March 2014