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

Partner Account ID field Lead object

There is Partner Account field on lead object.

Salesforce says,

DescriptionID of the partner account for the partner user that owns this lead. Available only if Partner Relationship Management is enabled OR Communities is enabled and you have partner portal licenses.


Although field says lookup,it looks like will be prepopulated when a partner user creates a lead.


Is there any way to get content(ID of account) of this field.


When i try Lead.PartnerAccount it says field doesnt exist


Does anyone have a clue?.It would be really good to get hold of this field 


Hi Newbie10,

The field “PartnerAccountId”is hidden for System Admin Profile by default,
Please go to Setup | Security Controls | Field Accessibility | Lead | View by Fields | Field: Partner Account (Picklist) | Change the Setting from Hidden to Visible for the required Profile (System Admin) | Save.
This field is Read Only by default and in API you can try using “PartnerAccountId”.

If this post answers your question, please mark this post as Solved.

Katrina CockrellKatrina Cockrell
Hi - I followed the above directions however I do not have "Partner Account" on my picklist.  Can you help me understand why?  

Katrina Cockrell 
Katrina, the Partner Account field will only be visible if Partner Relationship Management is enabled or Communities is enabled and your org has partner portal licenses.