Focal Point
WF Maintain -- Anyone know how to override the App Path in Maintain?

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

March 19, 2008, 10:25 AM
John_Edwards
WF Maintain -- Anyone know how to override the App Path in Maintain?
I have two applications running on a single reporting server that need different APP PATH settings. Is there a way to modify the path in the call to Maintain, or within it?

I will gladly send five geek gold to anyone that can help with this.

John



March 19, 2008, 10:40 AM
Pete
Hi John,

I always supply the the extra path in my call in the example below thats loader

  

-HTMLFORM BEGIN
<html>
<meta http-equiv="Pragma" content="no-cache">
<head>
<title>Upload Module </title>
<script language="javascript" type="text/javascript">
  function enterMntApp()
  {
  var today = new Date();
  start.newdate.value=today.getTime();
    start.IBIF_cmd.value=
      "MNTCON CLOSEMSH;MNTCON APPPATH loader;MNTCON EX upload;";
    start.submit();
  }
</script>
</head>
<body onload="enterMntApp()">
  <form name="start" action="http://S11007:80/cgi-bin/ibi_cgi/ibiweb.exe" method="POST">
    <input type="hidden" name="IBIS_connect" value="on"/>
    <input type="hidden" name="IBIS_passthru" value="on"/>
    <input type="hidden" name="IBIC_server" value="CLUSTER"/>
    <input type="hidden" name="IBIF_cmd" value=""/>
    <input type="hidden" name="newdate" value=""/>
  </form>
</body>
</html>
-HTMLFORM END





Is this what you are looking for?

P.


D: WF 7.6.2 P. : WF 7.6.2 on W2003
------------------------------------------------------------------
I see myself as an intelligent, sensitive human, with the soul of a clown which forces me to blow it at the most important moments.

-Jim Morrison-

March 19, 2008, 10:41 AM
Francis Mariani
App commands:

APP PATH app1 app2...appn - to set the directory search path.

APP PREPENDPATH app1 - to prepend a directory to the existing path.

I'm not sure how you call Maintain, but if it's called from a fex, you can add one of these commands before the call...

If it's called from a URL, you may be able to add '&IBIAPP_app=app1' which acts like an APP PREPEND command.

I hope this helps.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 19, 2008, 10:50 AM
John_Edwards
Thank you both. I'm going to have to try this again. I got word that it didn't work when we put it in place earlier. It just makes sense that it would work.

J.



March 20, 2008, 05:32 AM
GamP
In stead of doing this with the MNTCON command, I always add an extra input field, like:
<input type="hidden" name="IBIAPP_app" value="maintain_app masters fexes"/>

Hope this helps...


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988