Try our conversational search powered by Generative AI!

Fetching a page with EpiFields content

Vote:
 
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?
#12811
Oct 17, 2006 16:05
Vote:
 
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
#14926
Oct 18, 2006 14:42
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.