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 24da1e0 commit ee0da10Copy full SHA for ee0da10
Client-Side Components/UI Macros/Show Open Incident of Caller/macro.js
@@ -0,0 +1,16 @@
1
+<?xml version="1.0" encoding="utf-8" ?>
2
+<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
3
+
4
+<img src='sn_tile_icon/now-checklist.svg' stype='width=5%,height:5%' onclick="showopentckts()" title="Show Open Incident of me"></img>
5
6
+<script language="javascript">
7
+function showopentckts(){
8
+var name=g_form.getValue("caller_id");
9
+var tableName='incident';
10
+var url=tableName+'_list.do?sysparm_query=caller_id='+name+'^stateNOT IN7,8';
11
+window.open(url,'OpenIncident',"popup");
12
+}
13
14
+</script>
15
16
+</j:jelly>
0 commit comments