on 08-25-2015 9:53 PM
Hi,
I'm looking to write an app that extracts info from the CMS. This will get just all the users and user groups, and it will get all the reports and their paths. I can worry about getting more later. Maybe I can deploy it once and it will update nightly. I was going to write it in Java and not .NET, I feel a bit more comfortable in Java. Although I do love Visual Studio, the last couple times I set it up it was a real pain if I didn't have the latest and greatest MSDN subscription to go with it.
1. I know I can just create an application that sits on the BOE box and schedule it with windows scheduler. Has anyone done this before with an SAP BI SDK app?
2. While I appreciate knowing all the possible ways of doing something, I'm not looking here to get all of the ways to do this. Unless there is a single best practice that pretty much everyone does.
Thanks!
I have done similar things, but I usually inherit from IProgramBase. That way I can upload the program to BO and run it on a schedule from there. I also output the information to .csv files, which can be easily opened in Excel or uploaded to SQL Server.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I create an executable .jar.
The reason that you want to inherit from IProgramBase is that it knows how to handle the parameters that BO passes to it. BO passes the following in this order:
UserID
Password
CMS Name
Authentication Type (like 'secEnterprise' or 'secWinAD', etc.)
It then passes in any other parameters that you've configured when you set up the program schedule.
-Dell
Dell thanks so much!
So you actually leave the main method in your program? I understand that you can use the main method in for testing but do you create a "version" with the main method not included for deployment to BOE? If so, how do you do create an executable jar with no main method?
Thanks!
Thanks so much Dell! I have one more question!
I am using opencsv for this app.
If I did not need opencsv, I could deploy it to BOE and I would not need to package or extract the jars that the program needs. The reason being that BusinessObjects already has them in the java/lib folder - as you know!
However, how can I include the opencsv jar without packaging all the jars with my runnable jar? Basically, I need to do the same as "configure build path" in Ecplise for my project, but I need to do that through the Business Objects platform, so that I am configuring their build path.
Do you know what I'm talking about?
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.