How to disable the Welcome Page (welcome.do)

SC10
Kilo Guru

The system Welcome Page, welcome.do, which is controlled by adding content to the "Welcome Page Content" (sys_home_list.do?sysparm_userpref_module=c4a536e2c6112275009669056d8e541c), is coming up after an ESS user updates their sys_user "My Profile" page.

This is the only time that an Update action on a page is bringing a user to a specific page (welcome.do) INSTEAD of the previous page they are on. How do I go about disabling this page, so users don't ever go to it? It's a completely unused page in our system.

Thanks.

1 ACCEPTED SOLUTION

jamesmcwhinney
Giga Guru

Here is what I ended up doing:



Create a new ui action against the table sys_user to override the global OOTB one.


The new UI action will redirect the user back to the current record, preventing them from hitting the welcome page.



Name: Update


Form Button: Yes


Table: sys_user


Action Name: sysverb_update (this is the important part and what causes it to override the OOTB version)


Script:



action.setRedirectURL(current);


current.update();


if (! current.isActionAborted()){


action.setRedirectURL(current);


}


View solution in original post

2 REPLIES 2

russell_miller
Kilo Guru

Hi Shane,



You could put in a business rule on the sys_user table that will send non rolled users to the home page



It will need to run on update and have the following condition (in the advanced section)



!(gs.getUser().hasRoles())



Then the code in the rule simply needs to be:



action.setRedirectURL("home.do");




Hope that helps



Cheers


RM


jamesmcwhinney
Giga Guru

Here is what I ended up doing:



Create a new ui action against the table sys_user to override the global OOTB one.


The new UI action will redirect the user back to the current record, preventing them from hitting the welcome page.



Name: Update


Form Button: Yes


Table: sys_user


Action Name: sysverb_update (this is the important part and what causes it to override the OOTB version)


Script:



action.setRedirectURL(current);


current.update();


if (! current.isActionAborted()){


action.setRedirectURL(current);


}