Skip to Content

After i showed you the Portal Customizations Intro – Login Part 1 , we a diving now a little bit deeper.  I will also provide a FAQ section of some questions i saw earlier in forums.

In the upcoming part 3 I will go into the details of easy changes in the Portal Customizations Intro – Look&Feel Part 3 

Dynamic Images and Links

I want to archive a Logon page that looks different for different user. The final PAR file should also work through the DEV, QUA (and sometimes Staging STG ) and PRD without changes in the code. The  user will access the portal in all cases via different URLs. Hence we have to check the Request URL which can be accessed in a Java Servlet .   In the code below we look in which system we are:

j2eeclusterserver0appssap.comcom.sap.security.core.adminservlet_jsplogon
ootlayout

   2. Add the images you want

   3. Delete  sapportalsjspumLogonPage.class

   4. Log on to the Portal as administrator and go here:

      System Administration -> System Configuration -> UM Configuration.

   5. Click on the “Direct Editing” tab in the System Administrator UME settings.

   6. Change the parameter:

      ume.logon.branding_image=/logon/layout/YOUR_BRANDING_IMAGE_FILE.gif

   7. Remember to empty your browser cache and hit CTRL-F5 to refresh the page.

Q: I uploaded the par file without changing the name. Now I get an iview n/a exception.How can I get back to my old Par file ?

A: The only way is getting it from an other environment (hopefully it was in DEV only), because you have overwritten the original file. 

To report this post you need to login first.

12 Comments

You must be Logged on to comment or reply to a post.

  1. Subathra Murugesan
    Hi,
      Both of your blogs are good. Many are still stuck up with personalizing the logon page in Portal. And, am one of them. Thanks to your blogs.I need to change the background color of the logon page. Which file should I modify in order to achieve that?
    Thanks & Regards,
    M.Subathra
    (0) 
    1. Kai Unewisse Post author
      Hi Murugesan,

      try the following and let me know if that worked:

      Go to your Theme Editor and choose Portal Body – Background Color of Portal Pages – choose your setting eg. FFFFFF. Save your settings
      In case that the page is not picking up immediatly, try to change the theme of the desktop to a SAP templates, save and view the logon page. Then change back to your custom theme and it should  start working.

      (0) 
  2. Anonymous
    Hi,

    You said that the solution to redirect the brandnew user was to add a new field in the user profile, I did not get it, I know i can add a new field but how can I redirect the user to the policy iview the first time.

    Regards

    Alexis

    (0) 
    1. Michael Nicholls
      I think the idea is that you have a role that is given to the user based on a field in the user profile. So, you set this field to indicate the user gets just this one role. After they accept the policy, you then unset this field and give the user their normal roles. Involves some coding!
      (0) 
      1. Anonymous
        In fact I have something similar to show the policies, what I was looking for it’s an standard solution, because once you change the role by code, the problem that I have is to refresh the new role after the user accept the conditions. We include the navigation routine but it does not work properly.
        (0) 
    1. Kai Unewisse Post author
      Hi Sandeep,

      please open a forum question and send me this link to my email address (see my profile). In the forum provide more details of what par file you were working on and what steps were done. if you have the part of the trace/log file available; that would help a lot too.

      This area should be only for questions regarding the blog.
      Hope to hear from you soon,
      Kai Unewisse

      (0) 
    2. Kai Unewisse Post author
      Hi Sandeep,

      please open a forum question and send me this link to my email address (see my profile). In the forum provide more details of what par file you were working on and what steps were done. if you have the part of the trace/log file available; that would help a lot too.

      This area should be only for questions regarding the blog.
      Hope to hear from you soon,
      Kai Unewisse

      (0) 
  3. Priyanka Suman
    Hi Kai
    Could u pls explain  how u r going for the different logon pages?are u capturing the url and accordingly redirecting them to different customised logon jsps?
    Elaborate
    Thanks
    (0) 
  4. sapuser user

    Hi Kai,

    The blog is really good , I have a requirement to customize the self registration page , we need to use our own registration page instead of the one provided by the SAP, can you tell me how we can do this?? Thanks for u r blog.

    Regards,
    Chris.

    (0) 
  5. Tiberiu Sasu
    regarding your FAQ
    Q: I want to preview the logon page before I change the authschemes.xml. How ca i do that?
    A: There are two ways :
    Add the Java developer role to your user.
    Click on Tools > PDK Component Inspector > Logon component > Details>default>Start

    can we launch the component inspector without having to log in?

    (0) 

Leave a Reply