I have a page with some EpiFields embeddings and I want to use it as a part of another page. The content is inside MainBody and when I read the value of it from another page and write it out, the EpiFields embedding causes the page to crash.
So is there a better way to read EpiFields.LongString typed property and write it out so that the EpiFields embeddings still work?
You need to render the MainBody property through the EPiServer.WebControls.Property control for epifields to work.
Simply set the PageLink property of the Property control to the page with the epifields embeddings.
For example:
(assuming the epifieldspage has the id 178)
Or, if the epifieldspage is "pointed out" by a property:
(assuming the property is named "EPiFieldsPage"):
/johan