Skip to Content
0

Custom Logon Page in Fiori (Adding a new button in Logon Page)

Jan 30, 2017 at 06:02 AM

389

avatar image

Hi Experts

I am trying to customise the Logon Page of Fiori Launchpad. I have to add a new button that will allow user to register themselves as new users ( User Self Registration). On click of this button, a new registration page will pop-up (a new SAPUI5 ) application where user can key in his details. I read many blogs on customising Logon page but they all are related to changing themes and branding. Kindly help how to achieve this.

Many thanks

Parth

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Masayuki Sekihara
Jan 30, 2017 at 07:08 AM
1

Hi Parth,

I guess you are talking about Fiori launchpad on premise.

You can design own logon page by copying the ABAP class /UI2/CL_SRA_LOGIN.

https://blogs.sap.com/2014/11/05/simple-steps-to-configure-fiori-loginlogoff-page/

Regards,

Masa / SAP Technology RIG

Share
10 |10000 characters needed characters left characters exceeded
Parth Budhiraja Jan 30, 2017 at 08:03 AM
1

Hi Masa,

Thanks for your reply. Yes I am talking about Fiori Launchpad on premise.

I am trying to design my own logon page leveraging the existing logon page. I want to add one more button below "Change Password" with "New User, Register here" which will call up custom SAPUI5 application. Here /UI2/CL_SRA_LOGIN is the class that is used for customisation of Logon page (changing Theme , look and feel) using INIT_DEFAULT_PARAMETERS method. To exact which method I must change or hook is provided for my requirement? Do I need to change FioriLaunchpad.html as well?

Parth

Show 4 Share
10 |10000 characters needed characters left characters exceeded

Hi Parth,

You can change the property 'template_login'.

METHOD init_default_properties.
...
CASE iv_context.
WHEN co_context_login.
...
set_property( iv_name = 'template_login' iv_value = '/sap/public/bc/ui2/logon/template_login.html' ).

Regards,

Masa / SAP Technology RIG

0

Thanks Masa. It worked :)

0

Ensure that you 'Accept' the right answer. Right way to say thanks. :)

-Krishna (Moderator)

0
Krishna Kishor Kammaje

Hi Krishna,

I cant see Accept button against Masa's reply. That's why I only liked his answer.

Thanks

Parth

0