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 74d01c8 commit 0a68c82Copy full SHA for 0a68c82
Client-Side Components/UI Actions/Knowledge Link Validator/uiaction.js
@@ -0,0 +1,13 @@
1
+/*
2
+This script should be placed in the UI action on the table kb_knowledge form view.
3
+This UI action should be marked as client.
4
+Use validateLinksInArticle() function in the Onclick field.
5
+*/
6
+
7
+function validateLinksInArticle() {
8
+ var articleSysId = g_form.getUniqueValue();
9
+ var gdw = new GlideDialogWindow('validate_links_dialog');
10
+ gdw.setTitle('Validate Article Links');
11
+ gdw.setPreference('sysparm_article_id', articleSysId);
12
+ gdw.render();
13
+}
0 commit comments