Solution Deployed
Healthcare & Life Sciences / Payer
[Review Document] button in Document Checklist Item record doesn't work without 'View Setup and Configuration' permission
Summary
The query to get DCI and DCI Parent Record RecordType info fails for users who do not have the 'View Setup and Configuration' permission.
SELECT ParentRecord.RecordType.Name, DocumentTypeId FROM DocumentChecklistItem WHERE Id=''
^
ERROR at Row:1:Column:8
Didn't understand relationship 'RecordType' in field path. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.
This seems to be a general problem with polymorphic fields. Testing with Event.WhoId encounters the same issue.
SELECT ParentRecord.RecordType.Name, DocumentTypeId FROM DocumentChecklistItem WHERE Id=''
^
ERROR at Row:1:Column:8
Didn't understand relationship 'RecordType' in field path. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.
This seems to be a general problem with polymorphic fields. Testing with Event.WhoId encounters the same issue.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Solution Deployed with 1 report
Nov 30, 2026