function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Connor CainConnor Cain 

allow Conga to Query CustomField

I am working on creating a Automated Data Dictionary using Conga Composer. I am looking to Get the Label, API name, DataType, and Description.Right now I am Able to run this query into the FieldDefinition:

Select DeveloperName, Label, Datatype 
From FieldDefinition where EntityDefinition.QualifiedApiName = 'Plan__c' 
ORDER BY DeveloperName


But when i run this Query into CustomField i get an Error:
Select DeveloperName, Label, Datatype 
From FieldDefinition where EntityDefinition.QualifiedApiName = 'Plan__c' 
ORDER BY DeveloperName


Error:
ERROR at Row:1:Column:53
sObject type 'CustomField' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.



I am able to run both Queries in Dev Console but how can I Run both in Conga to get the Information I want. or is there even a better way?

SandhyaSandhya (Salesforce Developers) 
Hi,

Make sure that you have  view all data permission for the profile of the user when querying the custom object.


Best Regards,
Sandhya
 
Connor CainConnor Cain
hey Sandya,

thank you for responding, only admins will be using this Conga function and so we already have access to view all Data in our profile settings.