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 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); + +}