Retrieve/Restore and Import/Export in Orchard 1.8

Topics: Core, Customizing Orchard, General, Troubleshooting, Writing modules, Writing themes
May 4, 2014 at 6:35 AM
I created a custom menu item type using new Retrieve/Restore in Orchard 1.8. I thought when i create a content part using these methods i don't need to write import/export manually. It seems i have to write these method yet. Why?
May 7, 2014 at 8:01 PM
You don't have to write import/export for data stored in the infoset indeed. What is the issue you're seeing?
May 7, 2014 at 9:24 PM
Please see for example code of Orchard.Source.1.8\src\Orchard.Web\Core\Navigation\Models\ShapeMenuItemPart.cs
This part is using Retrieve/Restore but also has importing/exporting in its driver.
Also i tested. i deleted these methods and import/export did not work for its fields.