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?


1 Answer 1


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
    Commented Nov 10, 2014 at 16:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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