cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

customization in CMS

Former Member
0 Likes
417

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

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

Former Member
0 Likes

Hi Prithvi,

I am using BO 4 version.

I want to know that how many users logged in to the CMS. I want to run this code at the time of logon.

So that I can trigger some event, like mail the user count to the Administrator.

Regards

Vijay

Former Member
0 Likes

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

Former Member
0 Likes

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

Former Member
0 Likes

Hi Vijay,

Customizations for BILaunchpad is possible. Let me check if it would be possible to achieve what you are looking at. I would let you know when I would have sometime to look at that.

Thanks,

Prithvi

Former Member
0 Likes

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-how-to-customize-bi-launch-pad-hom...

http://scn.sap.com/community/bi-platform/blog/2013/06/01/tutorial-customizing-bi-launch-pad-name

http://scn.sap.com/community/bi-platform/blog/2013/06/01/tutorial-branding-and-theming-of-bi-launch-...

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