on 03-06-2009 9:07 AM
Hello All,
I am customizing my portal login page. I am following the below mentioned blog.
[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/11840%3Fpage%3Dlast%26x-maxdepth%3D0] [original link is broken];
Here in the blog, it is said that to get the login page like google, I need to copy the code from google page to umLogonPage.jsp .
Modifications I done in google code:-
- I deleted all the left side information text.
- Gmail image is changed by my company logo.
- Only the top & bottom blue colors templates are kept & the login block i.e. User Name, Password & Submit button.
Problem:-
1. What all more changes in Gmail code I need to do to make it work for my portal?
2. Except umLogonPage.jsp, in which other file I need to make any changes & What will be the changes?
Regards
Chander Kararia
Dear Chander,
You no need to change any .jsp file. Modify your umLogonTopArea.txt and umLogonBotArea.txt.
Regards
Ponnusamy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I have already gone through with these blogs but the problem is still there. May be I am missing tricky step.
When I followed these blogs, I am getting the below mentioned error.
*Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
The exception was logged. Inform your system administrator..
See the details for the exception ID in the log file*
Please suggest what should be done.
Regards
Chander Kararia
Hi,
The Blogs mentioned in PG's thread deals with all scenarios about portal cusomization.
First of all try to download the par file and add 1. com.sap.portal.runtime.logon_api.jar
2. umelogonbase.jar lib files. Build and export the par file without making any changes to esure you are not missing anything.
Now you can sit and modify umLogonPage.jsp and the two text files. If you go through the file you can find the two txt page included in jsp page above and below.
(If you copy jsp into another notepad and replce the include jsp code with corresponding text , you will get a clear picture of the entire logon page.)
The code inside the form tag is the core area in this logon page.
If you have to include any mime object please object and use path like src= "<%=webpath%>js/sample.js".
Regards
Baby
Hello Baby,
As you said, I downloaded par file. Imported it to the NWDS. Now, I checked, both the jars you mentioned were not there. So, I added them as External Jars to the project.
I created the project with the name com.sap.newlogon, so my par file name is com.sap.newlogon.par
Please Note that there is no change in the jsp or any other file. I kept them as they are.
I checked the par file in the portal, it got deployed successfully.
Now, I have made the changes in the xml file & in the Config Tool as mentioned.
I restarted all the instances of the server.
BUT, Still I am getting the same exception as mentioned earlier. Please suggest what should be done next.
Regards
Chander Kararia
Hello Baby,
I tried to run the application from the NWDS xml file. It did not run.
FYI.. I am having 5 components there namely, default, certlogon, basicauthentication, header and anonymous. I tried all the components to RUN them. I am getting the exception for all.
When I checked the exception log, it is having no information.
BUT, when I try to open the portal, it throws exception & after reading the log file, it says that "An error occurred during authscheme computation"
Suggest what should be done.
Regards
Chander Kararia
Hi Baby,
I done the fresh import. created a new par file & uploaded/deployed it to the portal.
Then, I made the changes in the Authscheme.xml file & saved it with another name & uploaded it.
Then I made the changes in Config tool also.
When I started the portal again, I was able to see the login page.
IN THIS I DO NOT MADE ANY CHANGES, EXCEPT THE NEW PAR NAME.
-
Now, I tried to change only the "Welcome" text on the portal screen. I unzipped the umelogonbase.jar file & in that I updated the LogonLables.properties file. (instead of welcome, I made it welcome to portal)
Now I created the jar file using the zip program. (I simply selected all the files, right clicked, select-> Add to Archive. A window opened. By default It showed the name as umeLogonbase.jar.zip. I deleted the .zip part from the name & clicked on Ok. This is the way how I created a new jar file using zip program )
I added the jar file under lib folder & re deployed the application. Now, I am getting the exception instead of Portal Login page.
-
I suppose, there could be problem in making the jar file. Please suggest the best / correct way of creating the jar file. or
Is there any other reason for the exception.
Regards
Chander Kararia
I use this to get the server - node:
String node = "";
Enumeration props = System.getProperties().keys();
while (props.hasMoreElements()) {
String thisProp = props.nextElement().toString();
if (thisProp.startsWith("dsr.") && thisProp.endsWith(".buffersize")) {
node = thisProp.substring(5 + thisProp.indexOf("_" + SID + "_"), thisProp.indexOf(".buffersize"));
if (node != null) {
String cluster = node.substring(0, 6) + "00";
node = node.substring(0, 8);
}
}
}
Hope it helps
Johannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chander,
I have a simple solution for your problem.
I hope so far you are familer with .jsp file for logon screen.
Create imges of google like front page and put it as a background image in portal logon screen.
Move the table containg lables and input fields of logon screen.
Change the captions and size as per your requirement.
This is tested way of customizing logon screen.
If you require more information then just let me know.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.