Skip to Content
0
Former Member
Apr 28, 2009 at 09:00 AM

Problems with publications

29 Views

Hi,

I'm implementing a publication handler in java for Business Objects Xi R2. The project must create, view, modify and delete publications that users create on BO Documents.

We work only with Webi and Deski documents (no CrystalReports).

I currently try to create a publication, but i'm a bit lost with how publications works !

1 - When i create a publication by setting planification for a document in infoview, BO creates 2 instances in the CMS of kind 'Webi' (in case of a webi doc) ? Why does the cms create 2 instances ? Why not just 1 ? Why does it create instances with a kind of 'Webi' and not publication ??

2 - I found there are many ways to do a publication :

-> First, you can request a report with an infostore query, and set scheduling informations. If you "schedule" the informations ( IInfoStore.schedule() ), the CMS will create a new instance of the report containing the scheduling informations (of kind 'Webi' !!!). If you only "commit" without scheduling, the CMS will only update the scheduling informations belongings to the report withou creating a new instance ! What am i suppose to do ? a new instance, or just updating the report document ???

-> The second way that i found (hardly ...) in the sdk : to use the infostore to create a new collection of type Publication. Then i can set informations like the Report ID, scheduling informations, prompts etc ... At the end of the process, an infostore commit will create a new object of kind "Publication" !

I do not know wich method is the good one. What are the best practices for scheduling Webi and Deski reports ?

Thanks by advance for any help in understanding how this stuff works !

David.