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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]Problems with RESTful

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Problems with RESTful
 Login/Join
 
Member
posted
In the old version of WebFOCUS used this command in webservices to list the subfolders and files from a domain in MRE
try {
logon = wfs.WebFocusLogOn ("user", "pass", login, folder);
retMR = wfs.MREOpenDomain (login, "domain / domain.htm");
}

In the latest version using the RESTful I can not get the information subfolders and files

RESTful example:
request3 = WebRequest.Create ("http: // localhost: 8080 / ibi_apps / rs / ibfs / WFC /
Repository / domain / std_reports? IBIRS_action = get ")
request3.Method = "GET"

Is there any way to get this information as it was in the old version using RESTful?

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 8107
All Outputs
 
Posts: 2 | Registered: April 20, 2015Report This Post
Master
posted Hide Post
You have to iterate through all levels.

Get the domains:
../ibi_apps/rs/ibfs/WFC/Repository?IBIRS_action=get

Then for each domain:
../ibi_apps/rs/ibfs/WFC/Repository/" + domainname + "/std_reports?IBIRS_action=get
( assuming you need the std_reports

etc.etc.

Best way to do this is use a browser-debugger and just look what IBI's tree-view does.

Good luck,
Dave


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report This Post
Member
posted Hide Post
Thanks Dave
But I need something that works as the webservice version 7 of WebFOCUS.

I need the xml bring all folders, subfolders and files without having to go through all levels
In the current version it only lists the folders.

every new version something is made worse, it is hard work that way.


WebFOCUS 8107
All Outputs
 
Posts: 2 | Registered: April 20, 2015Report This Post
Guru
posted Hide Post
George,

The GET request does work in RESTful. Can you try this from the RESTful test page first?

http:///ibi_apps/rs?IBIRS_action=TEST

Please review the following documentation for further assistance .....

WebFOCUS Managed Reporting RESTful Web Service Requests

Ref.: WebFOCUS RESTful Web Services Developer's Guide
WebFOCUS Managed Reporting RESTful Web Service Requests
WebFOCUS Managed Reporting

Listing Folders and Subfolders

Thank your for participating in the Focal Point Forum,

Tamra Colangelo
Focal Point Moderator
Information Builders


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
 
Posts: 487 | Location: Toronto | Registered: June 23, 2009Report 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]Problems with RESTful

Copyright © 1996-2020 Information Builders