Focal Point
[Solved] Turn an Analysis Designer report into a fex?

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

August 25, 2008, 04:09 PM
Moogle
[Solved] Turn an Analysis Designer report into a fex?
Hi,

I've built a report using Analysis Designer that shows Measure Actual, Measure Target, Month, and Objective. This particular data set would be invaluable if I could access it as a hold file, for further use.

I saved the report, but I don't think it made a fex. How are these reports saved, and is it possible to extract a fex from this report? I understand I can do a view source, but with the number of includes, it's a little much. I'll call that Plan B.

Cheers,

Joey

This message has been edited. Last edited by: Moogle,


-WebFOCUS 8.2.01 on Windows
August 25, 2008, 04:27 PM
Bob Jude Ferrante
AD reports are not saved as FOCEXECs. They are saved as Content (Launch Pages) with parameters passed to standard templates.

You can see these parameters in the saved Launch Pages on the Administrator tab. you can view them in plain language by using the unescape button. Remember not to save the values while they are unescaped or you will break the saved report.

There is an analysis tool for developers that extracts the parameters so you can create a FOCEXEC. The FOCEXEC looks something like this (note this is a V5 example, but you get the idea):

-SET &TIME_RANGE=9Q;
-SET &TIME=0;
-SET &LOCATION=0;
-SET &PRODUCT=0;
-SET &ORGANIZATION=0;
-SET &SUPPLIER=0;
-SET &PERSPECTIVE_ID=0;
-SET &OBJECTIVE_ID=0;
-SET &MEASURE_SERIES='0';
-SET &INWH33='';
-SET &SORTBY1='LOCATION';
-SET &RPT_FLDIN01='INDVRC_ACTUAL_TARGET_DEFAULT';
-SET &SORTACROSS='TIME_LEVEL02_VALUE';
-SET &REPORT_TITLE='Here is a saved report';
-SET &WFFMT='HTML';
-SET &THIS_FOCEXEC='PMF_RPT_TMPLT_MEAS_ACRDIM';
-INCLUDE PMF_RPT_TMPLT_MEAS_ACRDIM

The parameters that are saved are passed to the template (PMF_RPT_TMPLT_MEAS_ACRDIM) and used to generate the report. These could be packaged as a FOCEXEC. IN fact if you look at some of the Grid style gadgets you will notice they are slyly just AD templates with some parameters coded in, and others passed.

The tool is called pmf_parm_xtract.htm and is there in the 4.2.1 current standard distribution. You can add it as a content page - make sure to launch it as a Web Server page (URL) with a full URL to its location on the Web server, not as a FOCEXEC in the Launch Page definition.


Bob Jude Ferrante
Director of Business and Development
WebFOCUS Performance Management
Bob_Ferrante@ibi.com
917-339-5105

I'll take any questions about PMF - business or technical - anytime!

August 27, 2008, 03:37 PM
Moogle
Yes! This worked very well. I'm continually impressed by the modular nature of PMF; it's made my job easy compared to building a full implementation from scratch. Hooray for re-usable code!

Thanks Bob, I'll set this thread to [Solved].


-WebFOCUS 8.2.01 on Windows