Focal Point
How to Call Fexes from ASP

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

September 26, 2007, 02:52 PM
<Socrates>
How to Call Fexes from ASP
I'm trying to figure out how to call fexes from within asp code. My intent is to keep all the asp functionality, i.e, dashboard, filters, logic, etc. and just display the report using fexes. Any help is greatly appreciated...thnks
September 26, 2007, 03:18 PM
Erney
Basically you make a call to the WFSERVLET from your button click event on the asp page.
The servelet has certain fields that need to be filled from the asp page. IBIMR_DIR and IMIMR_domain and stuff... Just dont forget to set these variable to the crazy names that web focus gives them and not to the names displayed on the folder itself.


Or you can pass it as a herf.
href="http://svr99rvi/ibi_apps/WFServlet?IBIF_ex=facility"

This message has been edited. Last edited by: Erney,


WF 7.1.7- Windows XP
September 26, 2007, 03:58 PM
susannah
Interesting you should ask...
Just yesterday an IBI guy told me 'no one did that anymore, everyone used dashboard'...ha!! could he be more wrong?

here's a quick example of an .asp page from developers studio on a local box, running 762.
Depending on your setup, (edit your profile for us, please), some of the bits may be a bit different.
<FORM name="form1" action="http://localhost/ibi_apps/WFServlet" TARGET="main"  method="get" >
<input type="hidden" name="IBIC_server" value="EDASERVE" />  

...this is the path on my box
<input type="hidden" name="IBIAPP_app" value="Inventory Inventory baseapp" />
 <input type="hidden" name="IBIF_ex"  value="invrep11">
 <input type="hidden" name="MYPARM1" value="MYVALUE1">
 <input type="hidden" name="MYPARM2" value="MYVALUE2">
 <input type="hidden" name="MYPARM3" value="MYPARM3"> 

... heres an example of a parameter visible to the user
 	<tr><td><select name="MYPARM4" size="1"   >
 	<option selected value="ALL">All VALUES OF WHATEVER</option>

... this bit includes a file of pre-made drop down values
 <!-- #include file="list_inv/list_SMT.txt" -->
	</select></td>
<INPUT TYPE="reset"  NAME="RESETbutton" VALUE="reset"   >
   <input type="submit" name="submitbutton" value=" GO "   ></td>
    </form>	


This message has been edited. Last edited by: susannah,




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
October 01, 2007, 05:33 PM
<Socrates>
Thanks Erney, Susanah...Your posts were very helpful.