How do I restore the deleted kb article attachment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2020 02:42 PM
Hello,
Kb article author deleted the original attachment and replaced it with a new attachment. I want to restore the deleted attachment.
I didn't find the record in Deleted Records table. Please help me out.
Regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2020 12:52 AM
Hi Reddy
Attachments are always associated to some record somewhere. To do this you would need to create your own table that retains the original table_name and table_sys_id values, then you can attach your attachment to that record when a delete operation happens. I'm thinking a BR triggered on delete. It would be sort of an attachment purgatory.
Please my mark my answer Correct and helpful ,If this helps you in any way
Saurabh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2020 01:33 AM
Hi,
If the record was published first and then checked out and the attachment was replaced then you can find the old version of kb article in version as well as in kb_knowledge table. Also, the attachment would be available in sys_attachment table associated with the old record sys_id.
Kindly mark my answer as Correct and Helpful based on the Impact.
Regards,
Alok

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2020 07:05 AM
If you have article versioning you may be able to recover it from the previous version.
Do you clone your instance to a test\dev instance? you may be able to find it there as well.