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     [SOLVED] How to display/update properties for multiple reports
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] How to display/update properties for multiple reports
 Login/Join
 
Member
posted
Can anyone tell me how to list and/or update the report properties for multiple reports without having to open and view/modify the properties for each report individually from Developer Studio or the Managed Reporting Environment (MRE)?

I'm specifically interested in viewing the data server property for multiple reports, and then bulk updating the property for these reports according to a set of criteria.

Ideally, I would be able to view the report properties in a format that's similar to the table below.

Fex name Data Server
-------- -----------
rpt1.fex prod_db
rpt2.fex test_db
rpt3.fex test_db
rpt4.fex dev_db

I'd then like to update the Data Server to "test_db" for all reports in the list.

Thanks for your help.

We're using WebFOCUS 7.6.1 on UNIX (Solaris.)

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.1.7
Unix -- Solaris
Excel, PDF, HTML, text
 
Posts: 10 | Registered: March 17, 2009Reply With QuoteReport This Post
Expert
posted Hide Post
I don't understand the question. As far as I know, there is no "data server property" for a fex, MRE or otherwise. Usually, the data server is not mentioned in the fex code - could you please post a snippet of code that specifies the data server?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Unfortunately there is no easy way that I know of to edit the properties for multiple procedures at once. (Francis - from the right click on the procedure in DS and select properties, not within the procedure itself.) The only way I cane think of to do this is to use the mrmigrate tool to extract the structure into an XML file, manually edit it, changing the property for the desired procedures, and then use the edited XML file to reload the structure. There are a few examples of this on the forum (maybe search for mrmigrate) . But this seems like a LOT of work for something so simple (unless we're talking of changing hundreds of procedures' properties.) This would be an excellent suggestion for a new feature request!


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Reply With QuoteReport This Post
Member
posted Hide Post
Francis, Darin - thanks for your replies.

There are potentially a large number of reports that we would need to change (sorry I didn't mention this in my OP), but the most important thing is being able to identify WHICH ones need to be changed. Darin - thanks for the tip about mrmigrate tool -- I'll plan to poke around on the forum and see what else I can find out.

Also, after my OP, someone else pointed out to me that the html file associated with each domain on the UNIX file system will contain a "node=XXX" (XXX is data server property) for each FEX for which the default Server for the domain has been overriden. (Not sure if this is the case for non-UNIX platforms.)

Thanks again.


WebFOCUS 7.1.7
Unix -- Solaris
Excel, PDF, HTML, text
 
Posts: 10 | Registered: March 17, 2009Reply With QuoteReport This Post
Virtuoso
posted Hide Post
That's correct - for the time being. You can actually edit the HTM file (backup first!) for the domain and just search/replace in the desired spots. My understanding is that in the future, the mechanism for storing the structure of the domains will not be an HTM file any longer, so this wouln't be an option. For now, it works.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How to display/update properties for multiple reports

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