on 10-08-2014 5:41 AM
Hi
Is it possible to extract class id and object id from webi reports using java SDK in r3 version.
Regards,
Kavitha S
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.