Knowledge article display attachments button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2023 02:24 PM
How can I make the "Display attachments" tick box to be ticked automatically when an attachment is added to the Knowledge article?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2023 06:40 PM
Hi,
Do you want this to happen after the attachment is made in a business rule? If so, create the "after" business rule on "insert" for the attachment table with the condition that the table is kb_knowledge. Then set the kb_knowledge display attachment checkbox to true with a script something like this:
var kbA = new GlideRecord('kb_knowledge');
kbA.get(current.table_sys_id);
kbA.setValue('display_attachments', true);
kbA.update();
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 12:42 PM
Introducing our innovative 'Knowledge Article Display Attachments Button' feature, designed with your convenience in mind. Now, accessing essential information on Private Toto Recommendations is easier than ever. Stay informed and make informed choices effortlessly with this user-friendly tool.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 02:04 AM
Rather than using a script? Have you tried adjusting your default values in your knowledge base to always have Display Attachments set to 'True'? That way when a new article is created for that knowledge base, you are asked to apply that as a default value?