Focal Point
Calling Maintain procedure

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4491088331

August 14, 2005, 04:26 PM
<Faisal I Rathor>
Calling Maintain procedure
I have created two frames e.g, frameA and frameB in html file. I have placed a menue bar in frameA. I want to click on menue in frameA and run Maintain procedure and output to frameB.
Is it possible.
August 15, 2005, 03:51 PM
Maintain Wizard
We can launch Maintain applications and place the output in a Frame. What is the code that you are using for your Menu? Is this pure HTML? We need to know to give you the code to launch the Maintain.
August 15, 2005, 04:09 PM
<Faisal I Rathor>
Frames are placed in pure HTML form. I am calling a fuction in JavaScript code upon clicking a menue bar and want to display the maintain output to another target frame.
Here is my code to run maintain.
----------------------
function hit(action)
{
var url = "http://localhost/cgi-bin/ibi_cgi/webapi.dll?IBIF_cmd= MNTCON RUN getmaintain&take_action=" + action;
window.open(url, main);
}
-----------------------
'main' in the code is target frame.
thanks.
August 17, 2005, 12:04 PM
Maintain Wizard
The URL should look something like this. If you would like the complete example, send me an e-mail at Mark_Derwin@ibi.com.

MaintainUrl = "http://localhost/cgi-bin/ibi_cgi/ibiweb.exe?IBIS_connect=on&IBIF_cmd=MNTCON CLOSEMSH;MNTCON EX MNTIVP;&IBIS_passthru=on&IBIAPP_app=IBISAMP&newtime=" + GetCurrentStamp + "&var1=" + selection;

window.open(MaintainUrl, "frameB");