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
bprakashbprakash 

Enable as partner portal whenever the user profile is partner

I had an issue with the button,I had a user whose profile is partner,if the profile is partner then i need to "enable as partner portal"on the contact associated with that user.\

Here Enable as partner portal is standard button of salesforce.

How can i achieve this?

Thanks

Praka

bprakashbprakash

Can we automatically click the standard button based on the conditions?

Please help is needed,as i stuck to this 

Thanks

prak

gliustonecobragliustonecobra

did you check the account? I believe the account for the contact must be enabled first before the contact can be provided a partner user record.