kentico_michal
-
2/11/2011 6:04:29 AM
RE:Web parts - content remains when the web part is deleted and then placed back
Hi Dima,
If you remove the content from Editable text web part manually, it will be deleted from CMS_Documents table for that particular document. On the other hand, if you remove the Editable text web part which has contained some content, it will be stored in the CMS_Documents table.
Please consider this by design behavior as a some kind of backup. Let’s imagine that you have template with Editable text web part. This template is used on 100 documents. You have different content within Editable text web part on each document. Now if you remove this web part from one document, it will be removed from all 100 documents which use the same template. If the content was not stored, you would lose data from each document. But the content is still available in CMS_Documents table, so if you later decide to get back, you will just add new Editable text web part with the same ID as Editable text web part you have removed and content will display.
Best regards, Michal Legen
|