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
chpurohitchpurohit 

We are rolling out communities and bringing in partner organization information from a home grown dealer portal.

RamuRamu (Salesforce Developers) 
Can you please elaborate your question?
chpurohitchpurohit
@Ramu.

what we have is a database where we have all our partner accounts and partner contacts. They will be using salesforce communities going forward and we need to bring in data into salesforce and enable them as partner org's so that contacts could be then turned into community users.

we are building an interface that will push partner accounts and contacts in salesforce and i wanted to see if they can also enable all those accounts as partner accounts in salesforce, this way we dont have to go to each account and enable them as partner manually.

hope this helps
Wizno @ ConfigeroWizno @ Configero
"There are fields called IsPartner and IsCustomer on the account"
More details: https://help.salesforce.com/apex/HTViewSolution?id=000005366&language=en_US

So you can query all the accounts that you want to enable portal access on and set IsPartner = true, do the update on the accounts, and then run logic to get all the Contacts for those accounts and create Partner Community users.