Focal Point
dev stu 534 form(launch page) question

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

July 22, 2005, 05:03 PM
susannah
dev stu 534 form(launch page) question
anybody have devstu 534 installed,
and now how to generate an html form,
a launch page
there is no publish option
like there is in mre
and i've tried guessing at the
form elements but
can't make
it work. i want to launch the fex
from a page on XP's personal
websever. I know its doable..
ive got just a link working..
but i can't xlate that link
into the form bits...The link
syntax that works is:
<href="http://localhost/cgi-bin/ibi_cgi/webapi.dll?
IBIF_webapp=/ibi_apps&IBIC_server=EDASERVE&IBIAPP_
app=Inventory%20Inventory%20baseapp&IBIF_ex=invrep11&PARM=MYVAL">

This message has been edited. Last edited by: <Mabel>,
July 22, 2005, 05:33 PM
Francis Mariani
You have to use Resource Layout tool to create an HTML launch page for a fex.

New > Procedure > Create with: Resource Layout Painter.

Once the program is open, click on the small report button on the right hand (the one above the graph button). Then draw a box on the page and right click the box and select Report Properties > Open an existing report. Navigate to where the fex is and select it. I think what happens next is that all dialog manager variables used in the report fex become text boxes on the html page. You can then convert some of them to drop down boxes and do other stuff. I think you will have to add a submit button. What all this does is to create an html page that has the report in an iframe within the same page as the parameters - not what most of us want!

The other alternative is to do this:

Once the program is open, click on the small button button (the one above the radio button button!) Then right click the button and select Button Properties > Create hyperlink > Run Report. Click on the ellipses button and navigate to where the fex is and select it. I think what happens next is that all dialog manager variables used in the report fex become text boxes on the html page. You can then convert some of them to drop down boxes and do other stuff. This is more like what most of us want.

I still think it's faster to code my html page by hand!
July 22, 2005, 06:41 PM
susannah
i do too, i code by hand, but i can't figure out the syntax for launching from the devstu engine, on a standalone xp personal server. everything i try gives me 'wef focus was called with an invalid somethingorother'
..
update. figured it out with a clue from css:
<input type="hidden" name="IBIC_server" value="EDASERVE" />
<input type="hidden" name="IBIAPP_app" value="Inventory Inventory baseapp" />
<input type="hidden" name="IBIF_ex" value="invrep11">
July 25, 2005, 07:38 AM
Tony A
Susannah,
Watch out if you are dev'ing
in Applications and
then migrating to MRE as the hidden inputs will need a change as I am sure you realise.
The MRE equivalents are
<INPUT type=hidden value=salesxm1/salesxm1.htm name ="IBIMR_domain">
INPUT type=hidden 
value=MR_RUN_FEX name ="IBIMR_action">
<INPUT type=hidden 
value=MR_STD_REPORT name ="IBIMR_sub_action">
<INPUT type=hidden 
value=app/campaign.fex name ="IBIMR_fex">
<INPUT type=hidden 
value=#newfolderm0b name ="IBIMR_folder">
<INPUT type=hidden 
value=14:47:56 name ="IBIMR_random">
<INPUT type=hidden name ="IBIAPP_app" ismre="1">

This message has been edited. Last edited by: <Mabel>,
July 25, 2005, 06:01 PM
susannah
Thanks Tony, but no. there's no mre on this standalone devstu install. just wanted to run a ss from xp's own iis.
we figured it out.
its very simple...once we knew how. it was the &20 chars between the projectdirectorynames in the adapted drilldown syntax that threw me.
<input type="hidden" name="IBIC_server" value="EDASERVE" />
<input type="hidden" name="IBIAPP_app" value="projectname projectname baseapp"
/>
<input type="hidden" name="IBIF_ex" value="fexname">