- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2016 03:05 PM
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.
Solved! Go to Solution.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2017 03:07 PM
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);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2016 04:52 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2017 03:07 PM
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);
}