Skip to content

Commit ad19b70

Browse files
authored
Create script.js
1 parent 56749a4 commit ad19b70

File tree

1 file changed

+12
-0
lines changed
  • Client-Side Components/UI Actions/Variable Ownership

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
This script should be placed in the UI action on the table sc_req_item form view.
3+
This UI action should be marked as client.
4+
Use viewMtom() function in the Onclick field.
5+
*/
6+
7+
function viewMtom() {
8+
9+
var url = 'sc_item_option_mtom_list.do?sysparm_query=request_item=' + g_form.getUniqueValue();
10+
g_navigation.openPopup(url);
11+
12+
}

0 commit comments

Comments
 (0)