cancel
Showing results for 
Search instead for 
Did you mean: 

Change portal logon screen for dynamically modifications

Former Member
0 Kudos

Hy all,

It`s necessary to dynamically modify portal logon screen components (it does not matter, branding-text or branding-image).

Have you any idea how to do it without restarting of server?

Regards,

SMatveev

Accepted Solutions (1)

Accepted Solutions (1)

piyush_kumar6
Active Contributor
0 Kudos

Hi SMatveev,

Ya well we can do the required changes in portal logon screen without restarting of server.

You just need to download the logon.par application from portal and import the par file with same in NWDS

and complete the required changes. After completing the changes rebuild the par application and upload the same.

Suppose if you want new branding images then in par file place your new images with same name as old image name

or if you want to add some text on logon screen the go to umlogon.jsp and add your new text/hyperlink .... ect

After uploading the modified par file you can see the new changes in your logon screen .

If suppose some user is still getting the old screen then just clear the browser cache/history.

Note: In this way you can get what you want without restarting of serve but problem will occur when you

update your portal or applying new patch , It will overwrite the your changes and again you will get default screen.

You can avoid this also by taking backup of your logon par before applying the patch. after the upgrade just again deploy

the copied par.

Please let me know if you need any help on this.

Regards,

Piyush

Former Member
0 Kudos

Hi, Piyush!

The term Dynamically means that we need to display dynamically generated information, like current time. Because of that uploading of new .par file is not a suitable method. Did you know other ways?

Regards, SMatveev.

piyush_kumar6
Active Contributor
0 Kudos

Hi SMatveev,

Suppose if you want to add Current time in logon screen then

add javascript code or java code on umlogon page . It will show the current time.

regards,

Piyush

Former Member
0 Kudos

Hi, Piyush.

Current time is just example. What i can do if i need to display some information, that I deliver from the outside.

regards, SMatveev.

piyush_kumar6
Active Contributor
0 Kudos

ok ok

suppose you want to show some news/feed or some other stuff which are coming from

outside .. so just add div / iframe on the page and give the link on that.

If its not your requirement then you tell in detail that what you want to do otherwise its bit difficult

to get .... suppose i'll be not knowing the solution but someone will be knowing so you will get the

help.

Regards,

Piyush

Former Member
0 Kudos

Hi, Piyush!

Hmm iframe... good idea) Thanks, Piyush. I try to do so.

Regards,

SMatveev.

piyush_kumar6
Active Contributor
0 Kudos

Hi SMatveev,

you are most welcome,

Do let me know if you need any other help on the same.

Regards,

Piyush

Former Member
0 Kudos

Hi, Piyush and others.

I decided to change logonPage.jsp from *.war file, which I took from server.

But now I have trouble with correct import of *.war file.

I follow the steps that described in this article:

But I can`t build WAR project. Hence I can`t take dependences between EAR end WAR project.

Does anybody knows, how I can correctly import *.WAR file in NWDS.

piyush_kumar6
Active Contributor
0 Kudos

Hi SMatveev,

You need to download logon.par application not war application.

Regards,

Piyush

piyush_kumar6
Active Contributor
0 Kudos

Hi SMatveev,

Hey i thought you are on 7.0 so i wrote logon.apr

If you are on CE environment then only you will get war application.

Please let me know you Portal environment.

Regards,

Piyush

Former Member
0 Kudos

Hi, Piyush.

No, version of my portal is CE 7.2.

There is war files with page settings at this version.

Regards, SMatveev.

piyush_kumar6
Active Contributor
0 Kudos

Hi ,

For CE 7.2 check below link you will get step by step solution.

[Logon Apps on CE 7.2|https://cw.sdn.sap.com/cw/docs/DOC-101074]

[CE 7.2|http://help.sap.com/saphelp_nwce72/helpdata/en/23/c0e240beb0702ae10000000a155106/frameset.htm]

If you are still getting problem then let me know what error you are getting.

Regards,

Piyush

Former Member
0 Kudos

Hi Piyush.

These are two similar articles.

I already do as they says.

The trouble starts at point 3.b.

I do everything that they says, but I cant deploy EAR project, because i can`t build project, that was created when i have Imported WAR file.

Regards, SMatveev.

piyush_kumar6
Active Contributor
0 Kudos

Hi SMatveev ,

Please let me know what error you are getting in Point 3.b .

Before this point are you able to create new war file ???

Regards,

Piyush

Former Member
0 Kudos

Hi Piyush.

I don`t want to create new WAR file. I already have dold WAR file from server. I must modify it & deploy on server.

I don`t have any errors at point 3b but if i do as article tells me at this point, I can`t build WAR project.

I tell that the WAR project, that have been created by instructions on point 3b contains no function "build"...

Roughly speaking, If I push right button of my mouse on this WAR project, and choice "development component" item, I see "Migrate to software component" & "Convert project to development component", but no "Build", "Deploy" e.t.c.

That is the problem...

Regards, SMatveev.

piyush_kumar6
Active Contributor
0 Kudos

Hi ,

After doing all the required changes in your war application from NWDS which you have taken from server,

Right click on the war application and select Build WEB Archive it will build your war application if any error is there

then it will show there only .

After doing this Create a new EAR Application Project project and include the module of the default logon UI application.

as shown in point 3 .

After creating EAR application Right click on the war application again and select Add EAR Project

now follow the point 4.

Regards,

piyush

Former Member
0 Kudos

I am sorry, but there is no Build WEB Archive item. (On project, created by importing of WAR file).

What kind of project must be created when I spend import WAR file?

Regards,

SM.

Former Member
0 Kudos

I think that current theme of our discussion differs from the description of this topic. I close this topic & open new with correct description.

Thanks to all.

Regards SMatveev.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi!

See this links:

Hope it help.

Regards, Mikhail.