Using Console app and ContentService to import rich text properties with macros
I have written a console app that creates its own ApplicationContext to use with the Umbraco v6 ContentService. I am using this console app to migrate content from another system into Umbraco.
Using this app, I am attempting to populate Richtext properties with macro content (macros are already defined in Umbraco prior to the import).
After the import completes, I open the Umbraco backend, right click the top-level node of the site, and select Publish > Publish (top-level node) and all its sub-pages (including unpublished subpages).
The problem is that the macro content in the Richtext property mentioned above does not get rendered properly. This problem can be fixed one node at a time by selecting the individual content node in the backend, then clicking "save and publish".
Does anyone know how to properly import macro content in Richtext properties using the v6 ContentService in a console app without requiring a manual "save and publish" on every node after the import is complete?
Using Console app and ContentService to import rich text properties with macros
I have written a console app that creates its own ApplicationContext to use with the Umbraco v6 ContentService. I am using this console app to migrate content from another system into Umbraco.
Using this app, I am attempting to populate Richtext properties with macro content (macros are already defined in Umbraco prior to the import).
After the import completes, I open the Umbraco backend, right click the top-level node of the site, and select Publish > Publish (top-level node) and all its sub-pages (including unpublished subpages).
The problem is that the macro content in the Richtext property mentioned above does not get rendered properly. This problem can be fixed one node at a time by selecting the individual content node in the backend, then clicking "save and publish".
Does anyone know how to properly import macro content in Richtext properties using the v6 ContentService in a console app without requiring a manual "save and publish" on every node after the import is complete?
is working on a reply...