Archive

Archive for August, 2013

Multiple forms of type Main are found. No Record Walls are added – CRM 2011 Activity Feeds Error

August 28, 2013 2 comments

I was getting below warning message, when I tried to configure Activity Feeds for entity ‘Contact’ and selected the “Enable walls for this type of record form” check box

Multiple forms of type Main are found. No Record Walls are added. Configure the walls to the required forms manually

Activity Feeds Configuration

Activity Feeds Configuration

Reason

The reason was, my ‘Contact’ entity has multiple forms of type “Main” configured and CRM does not allow us to check  “Enable walls for this type of record form” check box.

Contact Entity Multiple Forms

Contact Entity Multiple Forms

So to configure the walls for ‘Contact’ entity, we have to do it manually by following below steps

How to configure “Record Wall” to required forms manually

To configure wall manually

  • Choose the form you need to show the record wall for among multiple forms
  • Open the Form Editor
    • Insert a new Tab with single column (Go to Insert > Tab > One Column)
    • Open the Tab to edit (Go to Tab Properties > Display)
      • Name= tab_recordwall
      • Label = Record Wall
      • Uncheck “Expand this tab by default”
    • Tab Properties > Events
      • Form Libraries, add “msdyn_/ActivityFeeds.Form.js” file
      • In event handlers, Add
        • Library: msdyn_/ActivityFeeds.Form.js
        • Function: ActivityFeeds.Form.CustomizationUtils.updateRecordWallRenderingState
        • Check “Enabled.
        • Check “Pass execution context as first parameter”
Tab Properties

Tab Properties

 
  • Save your changes to the tab and return to the form editor.
  • Select the section inside of the “Record Wall Tab”.
  • In the Form Editor, Add ‘RecodWall.htm’ file by click Insert > Web Resource
  • In the “Record Wall” Tab’s ‘Section’, choose ‘General’ tab and set
    • Web resource = msdyn_/RecordWall.htm
    • Name = RecordWall
    • Visible by Defualt = checked
    • Pass record object…= checked
Record Wall Tab's Section Properties

Record Wall Tab’s Section Properties

  • In the “Record Wall” Tab’s ‘Section’, choose ‘Formatting’ tab and set
    • Layout > One column
    • Row Layout > 15 rows (this is flexible, but 15 is standard the standard look).
    • Display border = yes
    • Scrolling = as necessary
  • Save & publish

🙂

Xrm.Utility is undefined error – CRM 2011

Other day when I deployed my solution on a new CRM server, I was getting “Xrm.Utility is undefined” script error.

I refered“Xrm.Utility” JScriptin my code to open forms which was causing script issue.

Reason & Fix

  • The CRM server is not having UR 8
  • Since Xrm.Utility object was added in CRM 2011 Update Rollup 8, installing UR 8 on server solved the issue

🙂