Skip to main content
4 events
when toggle format what by license comment
Jun 13, 2014 at 8:10 comment added Peter Kjaer I would recommend against doing this. You will be overwriting the entire SiteEdit configuration, not just the Page Types. The XML that is stored is not a public API, so if you mess it up or if the format changes in the future -- you will get bugs that nobody will be able to reproduce (most likely). At the very least, you should be reading the existing data (if any) and adding the Page Types to it -- and also should be using the Data Adapter with the root element of the XML (=XmlElement type) instead of a string with the default encoding!
Jun 12, 2014 at 18:32 vote accept Nickoli Roussakov
Jun 12, 2014 at 17:23 history edited Ram G CC BY-SA 3.0
added 74 characters in body
Jun 12, 2014 at 17:16 history answered Ram G CC BY-SA 3.0