In this section: How to: |
When you are developing your REPORT type procedure using a WebFOCUS desktop product, you can define drill-down actions for different areas within the report.
To create drill-downs from a report to a map:
Note the name that you specified for the GIS filter in step 9 of How to Incorporate the GIS Filter for Amper as String and Amper as Number Styles in a WebFOCUS Desktop Product .
A new JavaScript section (for example, Section 1) is added, as shown in the following image.
function RunMyMapOutput(fexId) { for( var i = 1; i < arguments.length; i += 2 ) { parms[arguments[i]] = arguments[i + 1]; } //var getMapViewerWindowWindow = window.opener; debugger; var getMapViewerWindowWindow = getMapViewerWindow("mapWindowLEAflex"); getMapViewerWindowWindow.jsClearMap(null,null,true,true); getMapViewerWindowWindow.jsRunFex(fexId,false,parms); getMapViewerWindowWindow.focus(); }
For example:
function getMapViewerWindow(windowName) { var getMapViewerWindowWindow = window.top.frames[windowName]; debugger; if(getMapViewerWindowWindow) getMapViewerWindowWindow = getMapViewerWindowWindow.window; return getMapViewerWindowWindow; }
For example:
How to: |
When developing your REPORT type procedure with a WebFOCUS desktop product, such as App Studio or Developer Studio, you can define drill-down actions for different areas within the report.
The Drill Down dialog box opens.
You have the choice of using two JavaScript functions provided by the WebFOCUS GIS Adapter.
BuildReportAmpVars(fexId,value1,...,valueN)
where:
Is the ID value in ESRIINFO.xml of the FOCEXEC you wish to invoke.
Are the parameter values to be passed to the FOCEXEC as AMPER variables. Each value is assigned a generic name beginning with &ESRI0001.
BuildReportNamedVars(fexId,name1,value1,...,nameN,valueN)
where:
Is the ID value in ESRIINFO.xml of the FOCEXEC you wish to invoke.
Are the parameter names and value pairs that are passed to the FOCEXEC as AMPER variables. Each value is assigned to the name provided.
You have the choice of using two JavaScript functions provided by the WebFOCUS GIS Adapter.
BuildReportAmpVars(fexId,value1,...,valueN)
where:
Is the ID value in ESRIINFO.xml of the FOCEXEC you wish to invoke.
Are the parameter values to be passed to the FOCEXEC as AMPER variables. Each value is assigned a generic name beginning with &ESRI0001.
BuildReportNamedVars(fexId,name1,value1,...,nameN,valueN)
where:
Is the ID value in ESRIINFO.xml of the FOCEXEC you wish to invoke.
Are the parameter names and value pairs that are passed to the FOCEXEC as AMPER variables. Each value is assigned to the name provided.
WebFOCUS |