- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2020 05:07 AM
Hello,
I have created a catalog item to reset the password for user account and when i click on the "Reset Password" button it is not triggering at all.
Reset Password- it is of type UI Page and below is the Ui page screen shot
we have created the script include as follows:
I don't know what is the error the "Reset Password" button on Catalog tem is not triggering and not executing the client script at all, Can anyone suggest me where i went wrong.
Thanks and Regards,
Prerana
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2020 07:58 AM
Hi,
Set this property 'glide.ui.escape_all_script' to 'false' on your instance and the UI Pages will work. You might need to Elevate your roles to set this property to 'false'.
Refer the KB article: https://hi.service-now.com/kb_view.do?sysparm_article=KB0685296
Kindly mark my answer as correct/helpful if it helped in resolving your issue.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2020 08:32 PM
Hi Prerana,
I would like to understand the business use-case or requirement for this
You are giving users capability to reset password for Requested For user by clicking the button.
But will they be submitting the Request?
If yes then you can reset the password once RITM is submitted
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2020 10:46 PM
Hello Ankur,
Thank you for your response, our client requirement is to automate the process of password reset and above issue( button in ui page is not triggering) is fixed by making the property 'glide.ui.escape_all_script' to 'false'.
Thanks and Regards,
Prerana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2020 11:28 PM
Hi Prerana,
Glad that it helped. I just tried to understand the business use-case.
If you are not allowing user to submit the catalog then you can hide the Add to Cart and Order Now button
Also what happens if they don't click the Button and instead click the Order Now
Your scenario would fail
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2020 07:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2020 07:43 AM