FInd Knowledge articles with particular related attachments.

John Noonan
Tera Contributor

How can I get a list of Knowledge Articles with particular types of attachments? My problem is that my organization is no longer allowing the download of legacy Microsoft Office formatted files (xls, doc, and ppt) and I need to find the articles that have those attachments. I have looked at the sys_attachment table and I have found the attachments that are applicable, however I have not found a way to tie that back to the article.

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hi,

On the sys_attachment table if you conduct a filter search for "File name" contains and then the extension type, you'll get a list of those records. The "Table sys ID" column contains the sys_id of the record the attachment is associated with and the "Table name" gives you the table.

You haven't provided what you're actually going to do, but as far as how it all relates, I've mentioned that above.

find_real_file.png

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

8 REPLIES 8

Hi,

Yes, you should be able to. I did, for example:

find_real_file.png

find_real_file.png

I'll expand the filter down too so you can see:

find_real_file.png

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Really odd for me here on my instance. I am doing exactly what you did there and finding none of these sys_ids in my kb_knowledge table. I am trying to figure out what I am doing wrong and will likely say something here when I figure it out. I am even pasting the things into notepad before pasting them into the my search to ensure that there are no odd characters. I have exported them as a csv file and have even tried doing an "Is One Of" filter based on what was in that.

Okay I got it. Thanks for your help. I really appreciate the people like you who help here in the community.

Hi,

Glad you got it!

I was prepared to analyze some screenshots of your effort if you were still having issues, haha.

Feel free to mention me @Allen Andreas in any future questions/posts you have and I'll be glad to assist.

Take care! 🙂


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!