0

I have a page layout with a field defined like so:

<PublishingWebControls:RichImageField FieldName="30809220-9D7B-4124-8672-4DBBCEA8C67D" runat="server"></PublishingWebControls:RichImageField>

Everything is working fine with it. My question is, how can I set its default value in Element.xml?

0

RichImageField has a Value property. You can leverage that for setting the default image

<PublishingWebControls:RichImageField FieldName="30809220-9D7B-4124-8672-4DBBCEA8C67D" runat="server" Value="ImagePath" />
  • Will that work, according to link mentioned by Waqar this doesn't work! have you tested it? – ateet Nov 10 '14 at 16:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.