Env:4.1
I need some help in knowing which direction to go towards?
Or whether its possible or not??
Need to create a document with list of objects from the universes with their properties (the ones that we find on the right side including advanced props…): like ‘description’,‘Select’,‘where’,‘Table’, Projection function, Technical source’ custom props etc…
I’ll prefer to create an application that just runs on my local PC rather than a web app that needs to be deployed on the server. You can direct me towards a webApp if thats the only way out.
MY local PC has Eclipse , the client tools - IDT etc installed, and i have copied the 4.1 server’s jar files.
I tried to run some java codes that i found on the internet for 3.1, it is able to login but it seems to be falling off - (they use code like: (ReportEngine) reportEngines
.getService
(ReportEngines.ReportEngineType.WI_REPORT_ENGINE)
(i believe that ‘ReportEngine’ code - does not work in 4.0, 4.1 versions… right??)
If in IDT you use the save as option of the blx then this gives you that sort of documentation however if you look at Sulis Systems “John Wiekert” they have developed a product that is in beta at the moment for BI4.
You will first need the SL SDK (Semantic Layer SDK) to get these informations from the BLX file.
Then you can easily read objects in the business layer :
List<BlItem> listItems = businessLayer.getRootFolder().getChildren();
for (BlItem item : listItems ) {
if (item instanceof DimensionImpl) {
DimensionImpl dim = (DimensionImpl) item;
// Get all the info you need from the object
}
}
For connecting, the SL SDK has some sample codes to help you.
So a universe documentor for UNX(BLX) is available? Or it will be available?
If so, will it be similar to the great Excel documentation scripts out there for the UNV universes?
I originally wrote the utility to compare two universes to see all of the changes, but by using a single universe instead of two it runs in inventory mode to document a universe (it pretends that everything is a change). The utility requires that you have the 4.1 SP6 client tools installed and that you have a JRE6 (or JRE7) to run it in. The universes and their connections and databases must be valid at run time for it to work (the universe must be capable of passing most of the IDT integrity checks). If this sounds like something youre interested in experimenting with, let me know and we can figure out how I can send it to you. Im a bit hesitant to just upload it on the board because of the specialized set up.
Conversely, if youre looking for guidance to get started using the Semantic Layer SDK to build your own documentation utility, I can probably help with that.
I am really interested in seeing some of your code for this to.
I just need to find some building blocks to make what I plan to do.
extracting universe metadata and save it in database tables. To be used as source for a universe enabling reporting on universe information over several universes. Typical use can be to produce documentation or analyse impact of database changes.
translation/update tool for universe objects and conditions. Mainly names and descriptions. To get a common standard and the same names/descriptions for similar objects over several universes.
Are familiar with how to do this using the COM SDK but now trying to get into the Java world and cover the UNX universes.
I am downloading now so it will be some weekend work for me now
I will also check the answer in the other thread.
Also looking forward to finally learn some more java.
Hope you dont mind if i get back with questions later.
I also hope I will be able to share some back later.
Good to see that I am not the only one struggling.
Its hard to find the way through when getting vague error messages and not knowing if the Java development environment or the connection to the BO server is causing the problems.
I am using Eclipse and have decided to start over with a fresh setup as I have done so many configuration changes to the one I have been using that I don’t know if its getting better or worse.
I have managed to connect to the server but I get errors when I try retrieve a universe from the server.
Have read and used guides that tell how to get started with Eclipse and the Java SDK but the guides are just made for dummies not for extreme dummies. I don’t know if its possible to dump a complete configured Eclipse environment for “distribution” but that would eliminate some of the problems and just leave the issues connecting to the BO environment.
A big thanks for all the help on the forum so far and I am really thankful for any help I can get. Luckily I am just doing this as a side project and have time to struggle, wait and research.
Make sure that C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86 is in your windows path variable
Use 32-bit JRE v6 for your SDK executable (not the 64-bit JDK you need for Eclipse)
Use VM argument: -Dbusinessobjects.connectivity.directory=“C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer”
In Eclipse it’s under Run --> Run Configurations for your project. On the Arguments tab put it in the VM arguments text box.
If you’re running your executable jar file from the command line, it’s passed in to java when you run your runnable jar:
java.exe -Dbusinessobjects.connectivity.directory=“C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer” -jar my_project.jar