Enumerate Universe fields that are used by WebI report?

I’m hoping to determine the effects of changing or deleting a field in a Universe will have on the associated WebI reports.

Using the BusinessObjects .Net SDK, I can easily determine the linkage between Universes adn WebI reports.

What I need is the mechanism that will analyze a given WebI report. It appears that the WebI Java SDK, has the desired functionality, but it doesn’t have a .Net version.

As I have other meta-data functionality built in a .Net application, I’m guessing that I will need to write an Xml Webservice in Java that will expose the functionality that I need to my .Net application.

Has anyone tried to accomplish:

  1. use the WebI SDK to enumerate fields
  2. wrap the Java SDK with an Xml Webservice

Thoughts appreciated.


craibuc :us: (BOB member since 2009-10-19)

The SDK you need is Report Engine SDK. It has both Java and .NET versions.

Rachid


rachidb :morocco: (BOB member since 2006-07-06)

Do you mean the Report Application Server (RAS) SDK? I thought that was just for Crystal Report-type reports.


craibuc :us: (BOB member since 2009-10-19)

No. I mean Report Engine. For Java it is referred to as REBEAN and for .NET it is referred to as RENET.
It is used for Webi and Deski reports.


rachidb :morocco: (BOB member since 2006-07-06)

Thanks. I had no idea this was available.

Off the top of your head, do you know which classes represent the ‘fields’?


craibuc :us: (BOB member since 2009-10-19)

I am not familiar with .NET.
I know in Java you can use ReportExpression or VariableExpression class to get list of varibales used.
Code snippet like this:

DocumentInstance doc=repEng.openDocument(idocID);
for (int i=0; i < doc.getDictionary().getChildCount(); i++){
	exp = doc.getDictionary().getChildAt(i);
	dobj = exp.getDataSourceObject();
	ds = exp.getDataSource();
}

ds would be your universe and dobj would be the object in that universe.

Hope this helps,
Rachid


rachidb :morocco: (BOB member since 2006-07-06)

Thanks for the helpful replies, Rachid. :slight_smile:


craibuc :us: (BOB member since 2009-10-19)