From 56749a41a2a6734c797982523284e5dc4b661532 Mon Sep 17 00:00:00 2001 From: bharakm Date: Sun, 19 Oct 2025 16:14:52 -0500 Subject: [PATCH 1/2] Create Readme.md --- .../UI Actions/Variable Ownership/Readme.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Client-Side Components/UI Actions/Variable Ownership/Readme.md diff --git a/Client-Side Components/UI Actions/Variable Ownership/Readme.md b/Client-Side Components/UI Actions/Variable Ownership/Readme.md new file mode 100644 index 0000000000..4621d0668b --- /dev/null +++ b/Client-Side Components/UI Actions/Variable Ownership/Readme.md @@ -0,0 +1,13 @@ +The Variable Ownerships UI Action is a lightweight admin utility designed to help manage request item (RITM) variables more effectively. + +With just one click, it provides direct access to the variable values table, allowing administrators to quickly review, update, or remove sensitive data entered by mistake. This eliminates the need to navigate multiple related tables manually, saving time and reducing risk. + +Key Benefits: + +• Direct access to RITM variable values + +• Faster cleanup of sensitive information + +• Improves data hygiene and admin efficiency + +• Simple to implement and lightweight From ad19b7009b74acae7cf98511320c4e6226035112 Mon Sep 17 00:00:00 2001 From: bharakm Date: Sun, 19 Oct 2025 16:16:41 -0500 Subject: [PATCH 2/2] Create script.js --- .../UI Actions/Variable Ownership/script.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Client-Side Components/UI Actions/Variable Ownership/script.js diff --git a/Client-Side Components/UI Actions/Variable Ownership/script.js b/Client-Side Components/UI Actions/Variable Ownership/script.js new file mode 100644 index 0000000000..4778df6d5d --- /dev/null +++ b/Client-Side Components/UI Actions/Variable Ownership/script.js @@ -0,0 +1,12 @@ +/* +This script should be placed in the UI action on the table sc_req_item form view. +This UI action should be marked as client. +Use viewMtom() function in the Onclick field. +*/ + +function viewMtom() { + + var url = 'sc_item_option_mtom_list.do?sysparm_query=request_item=' + g_form.getUniqueValue(); + g_navigation.openPopup(url); + +}