cancel
Showing results for 
Search instead for 
Did you mean: 

Extract class id and object id from WEBI 3.1

Former Member
0 Kudos

Hi

Is it possible to extract class id and object id from webi reports using java SDK in r3 version.

Regards,

Kavitha S

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kavitha,

You can get the classes in a datasource using the below code snippet:

---------------------------------------------------------------------------------------------------------------------------------------

IInfoObject oInfoObject = (IInfoObject) oInfoObjects.get(i);

out.println("<tr><td>"+ oInfoObject.getTitle() + "</td>");

DocumentInstance wiDoc = widocRepEngine.openDocument(oInfoObject.getID());

DataSourceObjects dbObject=wiDoc.getDataProviders().getItem(0).getDataSource().getClasses();

for(int k=0;k<dbObject.getChildCount();k++)

{

String count=dbObject.getChildAt(k).getName();

out.println("<td>"+count+"</td></tr>");

out.println("<tr><td> </td>");

}

---------------------------------------------------------------------------------------------------------------------------------------

However I am not sure about the objects, if you can specify your requirement with an example we can check for some options.

Hope this helps.

Regards,

Rajarsh

Former Member
0 Kudos

Hi Rajarsh,

Thanks for your reply.

I have extracted class name and object details.I am not getting class Id and Object Id.

whether it is possible to extract class Id and object Id.

Regards,

Kavitha S

Former Member
0 Kudos

Hi Kavitha,

The class id and object id has to be retrieved from the universe. As far as I am aware of, that information cannot be retrieved from the Report Engine SDKs.

COM SDKs can be used the retrieve the information.

Thanks,

Prithvi

Former Member
0 Kudos

Hi Prithiv,

Thanks for your information.

Regards,

kavitha S

Former Member
0 Kudos

Hi Prithiv,

Is it possible to view class and object ID in Universe Designer.

Regards,

kavitha S

Former Member
0 Kudos

No not from the designer. You can use the utility provided at below link to get the info.

http://bukhantsov.org/2011/09/how-to-diff-universes-using-universe-documenter/

It is developed using the COM SDKs.

Thanks,

Prithvi

Former Member
0 Kudos

Hi

Thanks Prithvi

Regards,

Kavitha S


Former Member
0 Kudos

Hi

I have extracted all details from universe using com sdk.

If i modify  one of the class in the universe ,whether class id will be changed or it will be in same id.

Regards,

Kavitha S