• Warrior
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 3
    Replies
  • Here is a snippet of my code :

         $fields = array (
           'OwnerId__c' => $owner_id,
           'Account Name' => $result["title"],
           'AccountId__c' => $result["id"],
           'Type' => "Existing Business",
           'Lead Source' => 'Other',
           'CurrencyIsoCode__c' => 'USD',
           'Stage' => 'New Opportunity',
           'Close Date' => $result["close_date"],
           'Product_Type__c' => $result["product_type"],
           'Renewal__c' => true,
           'Description' => $result["description"]
         );

         $sObject = new SObject();
         $sObject->fields = $fields;
         $sObject->type = 'Opportunity';

 

So when i run this, my code connects to salesforce but i get the error in teh subject line. Any ideas?

 

When I try to connect to salesforce using the SOAP API i get the following errors together:

looks like we go no XML file and SoapClient::__setSoapHeaders(): Invalid SOAP header in SforceBaseClient.php

Help please?

Hi i am new to salesforce and i just created a sandbox. When i go to the sandbox page via Setup > Data Management > Sandbox and i click the login button beside the sandbox name i am redirected to a page which autofills the username for me. When i type in my passwword ( i used the same password as my account password) it does not work.

Any suggestions?

  • Here is a snippet of my code :

         $fields = array (
           'OwnerId__c' => $owner_id,
           'Account Name' => $result["title"],
           'AccountId__c' => $result["id"],
           'Type' => "Existing Business",
           'Lead Source' => 'Other',
           'CurrencyIsoCode__c' => 'USD',
           'Stage' => 'New Opportunity',
           'Close Date' => $result["close_date"],
           'Product_Type__c' => $result["product_type"],
           'Renewal__c' => true,
           'Description' => $result["description"]
         );

         $sObject = new SObject();
         $sObject->fields = $fields;
         $sObject->type = 'Opportunity';

 

So when i run this, my code connects to salesforce but i get the error in teh subject line. Any ideas?

 

Hi i am new to salesforce and i just created a sandbox. When i go to the sandbox page via Setup > Data Management > Sandbox and i click the login button beside the sandbox name i am redirected to a page which autofills the username for me. When i type in my passwword ( i used the same password as my account password) it does not work.

Any suggestions?