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
bujjibujji 

Cannot Access PersonContactId

Hi Guys,

I am having a problem with accessing PersonContactId, if i am writing a SOQL query it is returning PersonContactId value. But if i am trying to use when creating a button it is throwing error like "PersonContactId" is not there.

I am using for the below conditions.

Behaviour: Excute Javascript
Content:     Onlick Javascript

in the body i am using like alert({!Account.PersonContactId});

why this strange behaviour, any suggestions are appreciated.

Thanks,
Bujji
ShashForceShashForce
Hi Bujji,

Please see if this helps: http://salesforce.stackexchange.com/questions/7526/person-account-contact-id-in-spring-13

Thanks,
Shashank