IBI's documentation on how things work internally has been on again off again over the years. I'm in the process of documenting what developer studio html layout tool does to call reports etc. So that I can make much better looking pages here's what I've got so far please feel free to add to it
These are the scripts and links to scripts that IBI developer studio puts in.
<script id=IBI_OptionsScript type=text/javascript> var rltVersion = "764"; var cgipath = "cgipath"; var ibirls = "ibirls2";
var rltdyncalendar = "rltdyncalendar"; var gmap = "ibigmap"; var olap="olap"; var olappanebase="olappanebase"; var olapdrill="olapdrill";
The body tag has the edaconnectionrequired=”true” added to it. This appears to be an IBI
specific enhancement and I assume it means that eda will be called
The input language=”Javascript” is optional could be done for the entire page or left out.
The button1_Onclick(this) calls a Javascript which just calls an IBI Javascript function OnExecute(ctrl) (you can find this in ibirls2.js) and it basically goes through a couple of functions to execute the request.
The requests_list = “1” is used by the code to figure out which request to execute. Further down the page you’ll see the xml request requestid = 1 and this is what it’s referring to.
This is a pretty standard form using a post method. The fexlist_list point to the actual object submitting the request. In this case it points back to button1 which has the code necessary to actually process the request associated with it.
These are two hidden controls. The first one seems to be telling what input controls are being used for variables. How to pass multiple. Have to check that out. The second gives the location for baseapp. That’s pretty easy
This is the start of the xml request
<script>
Here’s the request section there can be more than one
This is the first request it ties back to the input button Sourcetype typeFex says we use focexec don’t know the other values Targettype comes from html Targetname does as well Ibif_ex tells the focexecname Ibiapp_app gives the app path
This is the variable declaration
the field is AE_NUM The file refers to the master Description is the text description Operation is AND OR Name is AE_NUM
June 03, 2008, 04:00 PM
Francis Mariani
Larry,
Please put the code part of your posting between
[code]
[/code]
tags, your posting doesn't look so good!
Cheers,
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