Creating an Input File in WebFOCUS Developer Studio

The design of a WebFOCUS Enable application is analogous to the design of a WebFOCUS Visual Discovery application except that the development of the layout takes place in Flex Builder instead of the HTML Layout tool in Developer Studio. You need to prepare an input file in Developer Studio. See the Developer Studio documentation on how to create a report procedure (.FEX file) with Report Painter.

The report procedure serves as the input file to the RIA (Rich Internet Application) you are building with WebFOCUS Enable. Because the required output for the application is XML, the procedure must contain the command ON TABLE PCHOLD FORMAT XML.

You need several dimensions to create aggregate tables, filters, and charts in the sample application. You also need a minimum of three measures, as required by some of the charts.

Using Report Painter, create the following sample procedure and name it xmltest.

TABLE FILE GGSALES
PRINT
   REGION
   ST
   CITY
   CATEGORY
   PRODUCT
   DOLLARS
   UNITS
COMPUTE COGS/D12.2 = DOLLARS * .75;
ON TABLE PCHOLD FORMAT XML
END

When you run the application, ibiFLEXEnable converts the results of the procedure, with output type XML, into an ActionScript arrayCollection for use as a data provider in the MXML application.

By default, WebFOCUS Enable searches for the procedure in the Developer Studio path install_drive:\ibi\apps\baseapp.


WebFOCUS