As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.
We have a report under EDASERVE that has a drill down and we want to move the drill down report to Content section of BI Portal, to leverage the BI Portal security (only BI Portal users should see the drill down). Is this possible? My current call looks like this: FOCEXEC=folder1/tracking_report_drill( \ Policy_State=Policy_State \ )
Thanks!This message has been edited. Last edited by: DWaybright,
WebFOCUS 8.2.03 (production), 8.2.06 (testing) AppStudio, InfoAssist Windows, All Outputs
Posts: 183 | Location: Indiana | Registered: December 05, 2017
There are several ways of taking care of this, here's one: using with JAVASCRIPT function,
-* File: IBFS:/localhost/EDA/EDASERVE/APPPATH/demo/Procedure1.fex Created by WebFOCUS AppStudio
TABLE FILE CAR
SUM
SALES
BY COUNTRY
BY MODEL
ON TABLE NOTOTAL
ON TABLE HOLD FORMAT HTMTABLE AS SOURCE
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
$
TYPE=DATA,
COLUMN=N1,
JAVASCRIPT=contentRun('IBFS:/WFC/Repository/Public&|BIP_item=Chart1.fex' 'COUNTRY' N1 'MODEL' MODEL 'SALES' SALES),
$
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN
<html>
<head>
<script language="JavaScript">
function contentRun()
{
urlSelf = '/ibi_apps/run.bip?BIP_REQUEST_TYPE=BIP_RUN&|BIP_folder=' + arguments[0]+'&|IBI_random='+Math.random();
for (var i=1; i < arguments.length; i=i+2)
{
urlSelf += '&' + arguments[i] + '=' + arguments[i+1];
}
window.location = urlSelf;
}
</script>
</head>
<body>
!IBI.FIL.SOURCE;
</body>
</html>
-HTMLFORM END
This message has been edited. Last edited by: Chaudhary,
Chaudhary, Thank you! Now I get an Access to Item Denied error. I'm not sure why that would be since I created and published the fex I'm trying to run unless it has to do with security surrounding running javascripts.
Thanks!
WebFOCUS 8.2.03 (production), 8.2.06 (testing) AppStudio, InfoAssist Windows, All Outputs
Posts: 183 | Location: Indiana | Registered: December 05, 2017
TABLE FILE ibisamp/ggsales
SUM UNITS
BY REGION
ON TABLE SET STYLE *
TYPE=DATA, URL=/ibi_apps/WFServlet?( \
IBIF_webapp='/ibi_apps' \
IBIC_server='EDASERVE' \
IBIMR_drill='IBFS,RUNFEX,IBIF_ex,true' \
IBIF_ex='IBFS:/WFC/Repository/Public/Chart1.fex' \
REGION=REGION \
),$
ENDSTYLE
END
WebFOCUS 8.2.06
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010