Knowledge found and lost while working with Microsoft Dynamics CRM
RSS icon Home icon
  • Changing the Form Layout for an NTEXT Field in Dynamics CRM 3.0

    Posted on March 9th, 2006 mitch Print Print No comments

    I encountered an interesting issue this morning that required interesting solution.

    I had to change an attribute type from NVARCHAR to NTEXT due to some data import issues ( I'm assuming ).  When I added the Field back to the Form, it automatically occupied two cells in the Form ( the section was two-column ).

    Now personally, I was a bit irritated with CRM taking license with my Form design. Especially when I could only control the number of lines high the Field would be.

    So instead of getting mad, I got even, and corrected the issue by doing the following:

    1. Export the Entity.
    2. Open in WordPad.
    3. Find the FormXML section and locate the field in question.
    4. Change colspan="2" to colspan="1"
      ( colspan is HTML-speak for: how many table columns does
        this cell occupy )
    5. Save the file
    6. Import the Entity
    7. Publish the Entity

    And there you have it. 

    Since the sky didn't open up and start bleeding or anything, I'm assuming this is a supported action.  Your mileage my vary.

     

    Customization, Dynamics CRM
    1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
    1,760 views

    Leave a reply