- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2024 10:48 AM
Hello -
I am working on a requirement for the KB Article Expiry notification/configuration where currently if there are over 10 KBAs that need updated, it provides a URL to a list view of the articles. I want to update this so that if it is over 30 it will do the same.
I found the script include that is driving this: KBKnowledgeSNC This is a read-only script and the script include: KBKnowledge is to be used for overriding, I am just not sure how to go about overriding it in that script.
KBKnowledgeSNC script include:
The function that is controlling this is on line 359 in the above script, "notifyForExpiringArticles". I tried just copying all of that section of script from line 359 to 434 and pasting it into the 'KBKnowledge' script include override, however I am getting an error.
"Could not save record because of a compile error: JavaScript parse error at line (6) column (30) problem = missing } after property list (<refname>; line 6)"
This is what I have in the KBKnowledge script include:
Note - I only want to change the 'var maxArticleCount' variable so that it is 31 instead of 11.
Thanks!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2024 11:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2024 11:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2024 11:42 AM
Also add a comma ( , ) after your function end (Line 86 and Line 87)