We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d232970 commit 1421f71Copy full SHA for 1421f71
Client-Side Components/UI Actions/Group dependency/uiaction.js
@@ -0,0 +1,14 @@
1
+/*
2
+This script should be placed in the UI action on the table sys_user_group form view.
3
+This UI action should be marked as client.
4
+Use popupDependency() function in the Onclick field.
5
+condition - gs.hasRole('admin')
6
+*/
7
+
8
+function popupDependency() {
9
+ var groupSysId = gel('sys_uniqueValue').value;
10
+ var gdw = new GlideDialogWindow('display_group_dependency_list');
11
+ gdw.setTitle('Group Dependency');
12
+ gdw.setPreference('sysparm_group', groupSysId);
13
+ gdw.render();
14
+}
0 commit comments