However, I cannot get my three text fields to populate in the .htm. I've been using !IBI.AMP.EMPL_ID;, etc. Can this not be done using a drilldown?
Thanks in advance.This message has been edited. Last edited by: <Kathryn Henning>,
WebFOCUS 7703
November 13, 2014, 02:11 PM
SSander
Found this example:
TABLE FILE GGSALES
ON TABLE SET PAGE-NUM OFF
SUM UNITS AND DOLLARS
BY CATEGORY BY REGION
HEADING
"Regional Sales Report"
" "
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, $
TYPE=DATA, COLUMN=REGION,
URL=/ibi_apps/WFServlet?(IBIF_ex='ggdrill' AREA=REGION IBIC_server='EDASERVE' IBI_APPS='IBISAMP'),$
ENDSTYLE
END
If this does not help, I can send our solution tomorrow, because we use URL links from WF to our intranet and we pass parameters aswell.
Release: WebFOCUS 8104, AppStudio: 8105 OS: Windows Output: HTML,Excel,Active Reports
November 13, 2014, 04:10 PM
njsden
That's because you can't just pass parameters to an HTML page ... well, you can, but then you'll need to add some JavaScript to inspect the document.location.href and parse to collect parameters.
SSander's example shows that your drill-down should target an actual WebFOCUS .fex procedure (via WFServlet) and that will cause your URL values to turn into nice &variables the .fex can see. You can the use -HTMLFORM from within that fex to invoke your .htm file and !IBI.AMP.EMPL_ID; will finally make sense
One possible solution would be to call the fex file and define the variable on top of the fex file and then invoke your .html inside of .fex file and use !IBI.AMP.EMPL_ID. It should work.
Thanks, Pravin.Singh
WebFOCUS 7703 Windows, All Outputs pravinsinghwebfocus.blogspot.com
November 17, 2014, 09:52 AM
BarryS
Hi
You can pass a parameter to an HTM page just make sure that the parameter linked to a control has the same name as what you are passing in the drill down or URL.
You can have a report inside an HTML page and use a JAVASCRIPT drill down just make sure that you call the function as parent.function_name and pass a parameter to the function like: