Focal Point
Developer studio documentation

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

June 03, 2008, 03:35 PM
Larry Doley
Developer studio documentation
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";

var ibixmltree="ibixmltree";

var ibiOptions = new Array(cgipath,ibirls);


<script id=IBI_nls src="/ibi_html/javaassist/nls.js" type=text/javascript>

<script id=IBI_ibigbl src="/ibi_html/javaassist/ibi/html/js/ibigbl.js" type=text/javascript>

<script id=IBI_ibigblloadCss type=text/javascript>
ibigblloadCss(null);



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.



Standard reset button




Standard fieldset tag to draw a box around the controls



The span is used to position the text AE_NUM

AE_NUM

This is the listbox
Sourcetype looks like it’s an IBI specific tag attribute typeMaster seems pretty obvious what other types can there be?
Datatype is another non-standard tag. No idea if this is related to the request
Requiredfield no idea here either
Boundtovariable I suspect but am not sure this is tied to the request
Datasource is also non-standard however this is the master name here not sure what would happen on sqlpass through
Selectedvalue operation this looks like something for IBI scripts since selectedvalue is a method of the select object and the operation is should this be an “AND” or an “OR” operation and in a list it should be OR for multiple selections
Addalloption and dynalldisplayvalue seem to be joined to add the all. It would be nice to be able to add a none as well.
Datafield seems to be the field retrieved and is derived from the value filed in the parameters tab
Displayfield seems to be the text display of the datafield and is derived from the display field on the parameters tabl
Ibiformat and dfformat seem to be the same thing and are the usage and actual in the master not sure which is which or if it matters

The data for this control is gotten when the UpdateData function is executed. The default IBI uses is onload event. But you should be able to put it anywhere. This is located in the ibirls2.js file.




End of the span fieldset and form



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