Focal Point Banner


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.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]Is it possible? Drill down to report in CONTENT from EDASERVE?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Is it possible? Drill down to report in CONTENT from EDASERVE?
 Login/Join
 
Platinum Member
posted
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, 2017Report This Post
Platinum Member
posted Hide Post
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,


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
 
Posts: 186 | Location: Infobuild India | Registered: August 28, 2015Report This Post
Platinum Member
posted Hide Post
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, 2017Report This Post
Guru
posted Hide Post
copy the hyperlink, check if it matches the path and of your .fex.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Virtuoso
posted Hide Post
"If the mountain won't come . . ."

How about moving the (outer) fex to the repository, and arranging to execute it via call to Client?
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Platinum Member
posted Hide Post
I've just been told to not use JavaScript if possible.
Chaudhary, you said there were other ways?

Thanks!


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Platinum Member
posted Hide Post
quote:
Originally posted by j.gross:
"If the mountain won't come . . ."

How about moving the (outer) fex to the repository, and arranging to execute it via call to Client?


That may be the way to go.
Thanks.


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Platinum Member
posted Hide Post
contentRun('IBFS:/WFC/Repository/Public&|BIP_item=Chart1.fex' 'Policy_State' Policy_State),

Please make sure that you are passing correct fex file path in above function and you have the run access of that file.


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
 
Posts: 186 | Location: Infobuild India | Registered: August 28, 2015Report This Post
Platinum Member
posted Hide Post
Chaudhary,
That was it -- I forgot to add the folder name in the Repository path.
Thanks everyone for all the help!


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Platinum Member
posted Hide Post
Smiler


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
 
Posts: 186 | Location: Infobuild India | Registered: August 28, 2015Report This Post
Platinum Member
posted Hide Post
This worked for me in WebFOCUS 8.2:
 
 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, 2010Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]Is it possible? Drill down to report in CONTENT from EDASERVE?

Copyright © 1996-2020 Information Builders