The php tag has no wiki summary.
1
vote
0answers
13 views
Is there a way to do Like against a list of Values using the PHP API?
I need a way to find all articles that are related to a list of tags.
Assuming the Articles_c object has a column Tags_c that holds a comma separated list of all tags that are applied to the article. ...
1
vote
1answer
30 views
Zend client for Salesforce webservice
I am new to Salesforce and Zend. I succeeded to implement a regular php client, but I am struggling to do the same in Zend framework. Does anyone know how to do it? Code example (especialy its ...
2
votes
0answers
52 views
Echoing the Counts of each record through PHP using SOQL and GROUP BY
To start, this is the query:
$query = "SELECT LeadSource, COUNT(id) Total
FROM Lead
WHERE CreatedDate > 2013-08-26T00:00:00Z
AND CreatedDate < ...
0
votes
1answer
38 views
Getting access token for portal users through OAuth [closed]
I need to get access token for portal users to access a site that was developed in salesforce .I should use OAuth2 method in php to get this access token.Can anyone help me out in solving this issue.
...
0
votes
1answer
79 views
Salesforce REST API example, error: failed with status 400
I am going through this example of REST web service to salesforce from PHP app, and I was getting the same errors described here. I tried to implement more permanent solution with
...
2
votes
2answers
55 views
Accessing a Salesforce sandbox through API
can someone with salesforce API integration help me understand the requirements to access a client's Sandbox? I need to access the sandbox and pull data into our MySQL server.
I hired a programmer ...
1
vote
0answers
44 views
Is it required to create parent and child records in single Salesforce create call of PHP toolkit?
When we are storing parent and child records in single salesforce create call using PHP toolkit is it required the External_ID_Field__c same name in both objects? or we can use any field which is ...
1
vote
0answers
27 views
Single items are all in on XML field when using PHP SOAP API
That's the snippet from it.
$query = "SELECT Id, Body, Status from Idea";
//print_r($query."</br>");
$response = $mySforceConnection->query($query);
// QueryResult ...
2
votes
1answer
130 views
Is it possible to create parent and child records in single Salesforce create call of PHP toolkit?
In the official documentation there are examples of how to do it in Java and C# but there are no examples of how to do it in PHP using Salesforce PHP Toolkit:
See paragraph "create() and Foreign ...
0
votes
1answer
45 views
API Calls - What Script/ Page/ Etc Made The Call?
Currently, our Web Development team is trying to mop up years of scattered coding techniques (PHP based sites), and in recent weeks, something disturbing has happened. Our API calls to Salesforce ...
1
vote
2answers
96 views
PHP Soap API returning XML string
I have successfully connected to SalesForce using the Soap API and the Force.com toolkit for php.
When returning records, however, I am getting part xml responses:
SELECT Id, Name, ...
1
vote
1answer
38 views
Store data in call center
I am using the salesforce developer account and i have tried to get contact information through wsdl api.I have get the data using this code like
require_once ('SforcePartnerClient.php');
...
0
votes
1answer
42 views
Query Account history using API
Is there a way to query the account history using php and the API? I have some accounts that got updated unnecessarily and I need to view the history to programmatically update them all back to their ...
0
votes
1answer
33 views
How to insert a new donation and associate an existing user with donation?
I am using the PHP SOAP API and trying to insert a new user (or retrieve an existing) and then insert & attach a new donation, but there doesn't seem to exist a donation "standard object". Is ...
0
votes
0answers
74 views
Invalid Session ID error appearing randomly
I am using the PHP partner API for salesforce and am coming across a rather odd issue randomly. Here is the error message I am getting:
Fatal error: Uncaught SoapFault exception: ...
0
votes
2answers
264 views
Authentication Bearer in SOAP API?
UPDATE
I created the below answer which allows you to use a REST application connection to (from there on) work on the SOAP API without needing to use SOAP's Login method, but instead relies ...
1
vote
2answers
308 views
php SOAP webservice failing to send an acknowledgement (ack) response to Salesforce
I am trying to set up a very simple webservice to consume salesforce outbound messages using php SoapServer class.
The salesforce outbound messages are being successfully received by the ...
6
votes
2answers
137 views
Issue when creating a new Recurring Donation through Salesforce API
Recently I have hit an error as described below:
Error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY Message: npe03.RecurringDonations: execution of AfterInsert caused by: System.NullPointerException: ...
2
votes
0answers
58 views
Obtaining users data after accepting / allowing a Chatter Application
I'm slowly on the road to completing my PHP application, the final piece to my knowledge is figuring out how, after a user accepts the use of an Application (I think I'm using a remote app atm), to ...