Skip to content

Commit 5872bdc

Browse files
Open LIST UI Action (#1287)
* Create Open in LIST View * Delete UI Actions/Open in LIST View * Add files via upload UI Action for Opening the LIST view of current Form Table * Delete UI Actions/Open LIST.js * Create UIActionscript.js * readme.md Open LIST UI Action
1 parent 25c72b9 commit 5872bdc

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
function openinLIST() {
2+
var taskTable = g_form.getTableName();
3+
4+
// Construct the hardcoded LIST URL
5+
var listURL = '/' + taskTable + '_list.do?sysparm_clear_stack=true';
6+
7+
// Open in new window
8+
var w = getTopWindow();
9+
w.window.open(listURL, '_blank');
10+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This UI Action opens the LIST view for the current table in another tab.
2+
UI action will run on Onclick openinLIST()

0 commit comments

Comments
 (0)