- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2024 02:00 AM
To update the "Publish" UI action on the kb_knowledge form to maintain the current pages as the redirect, . The "Publish" UI action can only be seen by Admin, KB Owner, and revisor by default. When a user clicks "Publish," it sets the article in a state to 'Review' and close the form and redirect to list view .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2024 02:09 AM - edited ‎03-19-2024 02:33 AM
Hi @tilmenastij,
Add the following line highlighted in bold to the final publish function as follows:
To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Helpful.
Thanks, Robbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2024 03:18 AM
Hi @tilmenastij ,
You need to change the " Publish" UI action button from script as mentioned below, it help to resolve your issue.
action.setRedirectURL(current);
Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.
Thanks
AJ
Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/
ServiceNow Community Rising Star 2024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2024 02:09 AM - edited ‎03-19-2024 02:33 AM
Hi @tilmenastij,
Add the following line highlighted in bold to the final publish function as follows:
To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Helpful.
Thanks, Robbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2024 03:18 AM
Hi @tilmenastij ,
You need to change the " Publish" UI action button from script as mentioned below, it help to resolve your issue.
action.setRedirectURL(current);
Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.
Thanks
AJ
Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/
ServiceNow Community Rising Star 2024