Skip to main content
edited tags
Link
Muhammad Raja
  • 9.3k
  • 7
  • 44
  • 85
Tweeted twitter.com/#!/StackSharePoint/status/95527643558055936
Source Link
Rob Windsor
  • 12.7k
  • 26
  • 40

FieldName for Field Controls added to a Page Layout in SharePoint Designer 2010

In SharePoint Designer 2010, when I drag a field from the toolbox onto a page layout the generated field control uses the field ID for the FieldName attribute.

<PublishingWebControls:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" 
    runat="server">
</PublishingWebControls:RichHtmlField>

Is there some way to get SharePoint Designer to use the field's internal name instead?