BOB: Business Objects Board
Not endorsed by or affiliated with SAP

Register | Login 

Launch Works 
Launch Works (Opens a new window)  

General Notice: No events within the next 45 days.

Version Control of WebI Documents


 
Search this topic... | Search Crystal Reports... | Search Box
Register or Login to Post    Forum Index -> Building Reports -> Crystal Reports  Previous TopicPrint TopicNext Topic
Author Message
Anand Singh
Forum Member
Forum Member



Joined: 15 Aug 2002

Posts: 4



PostPosted: Tue Sep 13, 2005 8:21 am 
Post subject: Version Control of WebI Documents

Hi All,

Has anybody come across any requirements to version control Web Intelligence documents in XI? Can you use normal version control tools like VSS or PVCS? Any ideas/solutions?

I know that XI can store instances of scheduled documents along with data. Are these instances editable? How far back can you store them?

Any help will be appreciated.

- Anand Singh
icon_arrow.gif Born again BO User
Back to top
Sebastien Goiffon
Forum Fanatic
Forum Fanatic



Joined: 29 Sep 2004
ASUG Icon
Posts: 6374
Location: France


flag
PostPosted: Wed Sep 14, 2005 3:22 am 
Post subject: Re: Version Control of WebI Documents

Hi and welcom back to BOB icon_wink.gif

Indeed report instances are editable ! you can store them as long as you want ! you only can parameter the number of instances you want to keep.

Note that in next release versionning will be possible.

Regards

_________________
360Suite: Security, backup, promotion, impact analysis, bursting, metadata solutions.
Spend 9 minutes to save HOURS. Alternative of CMC and LCM.
Back to top
substring
Forum Addict
Forum Addict



Joined: 16 Jan 2004
ASUG Icon
Posts: 4071
Location: Richardson Texas


flag
PostPosted: Thu Sep 15, 2005 10:09 pm 
Post subject: Re: Version Control of WebI Documents

Each report on Infoview has a hyperlink for the latest instance and a hyperlink for history. History contains all the old instances in chronological order. You can edit an instance and run it On Demand. But the change will not be saved back to that instance. You can send the edited result to your inbox or any other location though.

Hope this helps.

_________________
If you are using BusinessObjects, you should join ASUG.
Follow me on Twitter: @substring
Back to top
rainaaj
Forum Member
Forum Member



Joined: 19 Sep 2005

Posts: 4



PostPosted: Wed Nov 16, 2005 8:37 pm 
Post subject: Re: Version Control of WebI Documents

I want to be able to execute the latest version of Crystal report and maintain a certain no of instances. I am using BO XI and Crystal XI to publish it to CMS.

I have written some JSP code. but it always gets me the old instance. How do it make sure i get the latest.

maybe the code below can make u guys help me better

Code:
String query = "Select SI_NAME, SI_ID,    SI_INSTANCE From CI_INFOOBJECTS Where " +
           "SI_PROGID='CrystalEnterprise.Report' And SI_NAME = 'Circuit Metrics Week Year.rpt' and SI_INSTANCE = 0" ;

/*  String query = "Select SI_NAME, SI_ID, SI_DESCRIPTION, SI_UPDATE_TS From CI_INFOOBJECTS Where " +
           "SI_PROGID='CrystalEnterprise.Report' And SI_NAME = 'Circuit Metrics Week Year.rpt' order by SI_INSTANCE DESC";
*/
             
  IInfoObjects results;
  results = infoStore.query(query);
  IInfoObject report = (IInfoObject)results.get(0);
  IReportSourceFactory factoryPS = (IReportSourceFactory)enterpriseSession.getService("PSReportFactory");
  Object reportSource = factoryPS.openReportSource((report), Locale.ENGLISH);


  CrystalReportViewer viewer = new CrystalReportViewer();
   
  viewer.setName("CrystalReportViewer");
  viewer.setOwnPage(true);
  viewer.setPrintMode(CrPrintMode.ACTIVEX);
  viewer.setReportSource(reportSource);
  String selectionFormula = "Not isnull({Query1.Nmaxbwutil}) and {Query1.Cpon}= '" + cpon + "'";
  viewer.setSelectionFormula(selectionFormula);
  viewer.setDisplayGroupTree(false);
  viewer.setHasLogo(false);
  viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);

/*  response.sendRedirect("http://10.194.80.252:8081/businessobjects/viewrpt.cwr?id="+ report.getID() +"&sf=Not isnull({Query1.Nmaxbwutil}) and {Query1.Cpon}= '" + cpon + "'&apstoken="+logonToken+"&isdisplaygrouptree=false"); */



How do i do that

[Moderator Edit: Please use the "code" format option rather than bold when posting code. Thanks.]
Back to top
Display posts from previous:   
Register or Login to Post    Forum Index -> Building Reports -> Crystal Reports  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT - 5 Hours
 
Jump to:  

Index | About | FAQ | RAG | Privacy | Search |  Register |  Login 

Get community updates via Twitter:

Not endorsed by or affiliated with SAP
Powered by phpBB © phpBB Group
Generated in 0.0590 seconds using 17 queries. (SQL 0.0161 Parse 0.0348 Other 0.0081)
CCBot/2.0 (http://commoncrawl.org/faq/)
Hosted by ForumTopics.com | Terms of Service
phpBB Customizations by the phpBBDoctor.com
Shameless plug for MomentsOfLight.com Moments of Light Logo