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
NBlasgenNBlasgen 

Client ID / Partner ID

My application has passed the security review (go Aloha apps!) but I still have issues with Professional Edition accounts and API access.  What's the current method of doing this?  I tried setting the Client ID:

 

$mySforceConnection->setClientId('CLIENT_ID');

 

But that doesn't seem to be the current method:

 

Call to undefined method SforcePartnerClient::setClientId()

 

So what do people recommend I try next?

Best Answer chosen by Admin (Salesforce Developers) 
NBlasgenNBlasgen

 

$callOptionsHeader = new CallOptions('CLIENT_ID/');
$mySforceConnection->setCallOptions($callOptionsHeader);
Found it... thanks.