on ‎2014 Nov 04 9:56 AM
Hi,
I want to run java code when a user logs in to CMS using Central Management Console.
In SDK I seen that when any user logs on Logon event will be triggered, But how I can run my java code at the time of logon.
How I can add my code to the CMS.
Thanks.
Regards
Vijay
Request clarification before answering.
Hi Vijay,
Customizations in the CMCApp is not supported by SAP.
Refer to SAP Note:
1218598 - Support policy on customizing BusinessObjects InfoView, BI launch pad and other applicatio...
Can you let us know what java code you want to run at the time of logon?
Also mention the BO Product version being used?
Thanks,
Prithvi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
To get the list of users currently logged on you would need to execute the below query to CMS
SELECT
SI_ID, SI_USERID, SI_APSNAME, SI_LOGON_ALIAS, SI_LASTLOGONTIME
FROM CI_SYSTEMOBJECTS
WHERE SI_KIND = 'Connection' AND SI_FAILOVER_AVAILABLE_UNTIL = NULL AND SI_AUTHEN_METHOD != 'server-token'
You would be using the above query in your java code to get the list of current active sessions.
However, as mentioned it would not be possible to embedd your code with the CMCApp so that this information can be retrieved at the time of login. You might be able to do R&D and modify the CMCApp probably but it is not recommended to do from SAP.
So the best option would be to create a java program object with your code and publish it to the CMS repository. You can schedule the java program object to run at regular intervals as per your requirements and have the list active users emailed to administartors.
Just out of curiosity, why you want to end users login to Central Management Console? It is administration console and is used to administer the system. If you want users to access BO content(reports etc.), they should do it through BILaunchpad.
Thanks,
Prithvi
Hi Prithvi,
Thanks for the very useful information, I am a JAVA developer now working on BIBO.
By your previous answer I come to know about that. So if at all users login with BILaunchpad so do we have any chance to customize the BILaunpad app.
Actually I need to run at the time login itself , so that I can trigger a mail to the administrator so that he can login to the CMC, he can logoff few users.
Regards
Vijay
Hi Vijay,
Below are the links which could act as a starting point for you.
http://scn.sap.com/community/bi-platform/blog/2013/06/01/tutorial-customizing-bi-launch-pad-name
Also, have a look at 1586824 - BI 4.0 / 4.1 - How to customize and add company logos to BI Launch Pad / Logon Page
To create a customized logon page, you will need to edit the custom.jsp file, and place supporting files in the noCacheCustomResources folder. You will then be required to redeploy the BOE.war web application to your SAP BusinessObjects Enterprise system.
The custom.jsp file can be found in: C:\Program Files (x86)\SAP BusinessObjects\Tomcat6\webapps\BOE\WEB-INF\eclipse\plugins\webpath.InfoView\web
I do not have a system currently to test whether what you are looking at would be possible, however the above links would give you a starting point for your research.
Thanks,
Prithvi
Message was edited by: Prithviraj Shekhawat
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.