1

I am creating a a publishing Html field using below xml. When I retrieve the field after creation also no of lines field is set to 6. But when the field is rendered in new form it has only one line and not six. Is NumLines value is not considered for publish html field?

<Field ID="7aeaf4de-3cb3-48c6-8586-4106290fa12d" DisplayName="FieldDisplayName" Name="FieldName" Group="Group1" Type="HTML" Description="" NumLines="6" RichText="TRUE" RichTextMode="FullHtml"></Field>
2
  • You can use the UnlimitedLengthInDocumentLibrary ="TRUE" attribute. AFAIK, NumLines will only work on Note Field. Commented Sep 12, 2017 at 10:26
  • Will UnlimitedLengthInDocumentLibrary ="TRUE" will increase the height of the rendered field? Also I'm working with a list, not a library.
    – Damitha
    Commented Sep 12, 2017 at 11:27

0

Your Answer

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

Browse other questions tagged or ask your own question.