Conga Grid Error Message: Unable to Create/Update Fields (AccountID) or Name ID Value of Incorrect Type
ERROR MESSAGE
Unable to create/update fields: AccountID. Please check the security settings of this field and verify that it is read/write for your profile or permission set.
Or:
Name ID: id value of incorrect type.
CAUSE
When attempting to create tasks inline in a related list Conga Grid, the grid may refresh and you can lose data that you entered. You may receive the error messages listed above. These errors and loss of data are caused by an issue with Task Who IDs and What IDs. When Person Accounts are active, tasks can treat the Foreign Key lookup from Accounts to Tasks as a
WhoID
.
WHAT TO DO
To modify the Visualforce Page Markup of the related list to use a
WhatID:
- In Salesforce, click Setup.
- In the App Setup area, click Develop and click VisualForce Pages.
- Locate the VisualForce page and click its Label link.
- Click Edit.
- Click the Visualforce Markup tab.
- For a single related list Visualforce page:
- Find the value
FKName="WhoId"
orFKName="<ObjectId>"
. - Change the value to
FKName="WhatId"
.
- Find the value
- For a MultiTab Visualforce page:
- Find the Tasks tab in the
<li>...</li>
block of tags, and note the position in the list. - Find the same position in the
<div>...</div>
block of tags. - In that DIV section, replace
FKName = “AccountId”
orFKName = “WhoId”
withFKName=”WhatId”
.
- Find the Tasks tab in the
- For a single related list Visualforce page:
- Click Save.