Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Download CSV from Reporting Server
Go
New
Search
Notify
Tools
Reply
  
Download CSV from Reporting Server
 Login/Join
 
Master
posted
/ibi_apps/rs/ibfs/EDA/EDASERVE/my_folder/myfile.csv?IBIRS_action=run

So the above obviously doesn't work as it's not a FEX. I tried using GET and that didn't work, but tells me there is a file there. File looks encoded into the XML. So how can I download the CSV that I have sitting on my reporting server?



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Reply With QuoteReport This Post
Expert
posted Hide Post
What about HTMLFORMTYPE and -HTMLFORM ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6212 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Expert
posted Hide Post
Use EDAGET.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5637 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Expert
posted Hide Post
Sorry Gavin, meant to include an example for you but have been v busy Smiler

TABLE FILE GGSALES
SUM DOLLARS
BY REGION
ON GRAPH HOLD AS MYCSV FORMAT COMT
END
-RUN

EX EDAGET TXT,MYCSV.CSV,T


Hope you're recovering!

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5637 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Master
posted Hide Post
No, I have a FEX that can pull it:
http://forums.informationbuild...1057331/m/8647007186

I was attempting to do it without FEX code.. Like a URL to get it and I found one.. Undocumented Feature, but also found that it's a security hole in WebFOCUS..

/ibi_apps/rs/ibfs/EDA/EDASERVE/my_folder/myfile.csv?IBIRS_action=getContent

This can be used to pull MAS, FEX, and ACX. When calling a FEX like that, it dumps the CODE of the FEX.. So don't let your clients know the paths, because that seems to be the only protection around it.



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Reply With QuoteReport This Post
Master
posted Hide Post
quote:
Hope you're recovering!


I've recovered well.. Back on the Harley without landing on my head anymore. Smiler

Thanks for asking/stating.



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Reply With QuoteReport This Post
Expert
posted Hide Post
quote:
but also found that it's a security hole in WebFOCUS


You can supply security to the app folders from within the reporting server.

Perhaps someone from IBI could add a comment to two about how to secure this up.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6212 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Master
posted Hide Post
quote:
You can supply security to the app folders from within the reporting server.


But then the end user that would need the adapter and synonym to access the data couldn't if they don't have access to it.

Actually should have the ability to turn off the "IBIRS_action=getContent" and still have the ability to use "IBIRS_action=run".



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Reply With QuoteReport This Post
Expert
posted Hide Post
NFR time ?

It may get some traction due to the loophole


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6212 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Download CSV from Reporting Server

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.