How do I restore the deleted kb article attachment?

Reddy
Kilo Sage

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

7 REPLIES 7

Saurabh singh4
Kilo Guru

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

 

 

 

Alok Das
Tera Guru

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

Lorenzo Stermie
Kilo Guru

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.