The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
21 views

Getting a 400 error when using OAuth

Exception: https://login.salesforce.com/services/oauth2/token: curl= (OK); http=400 (Bad Request) I am getting this error when a few users are trying to use my page. But other users are fine. Is ...
0
votes
1answer
25 views

Can't add PHP to my VF page

I'm trying to add some simple php to a VF page and I'm getting this error: The processing instruction must begin with the name of the target Could someone point out where the problem is? ...
0
votes
0answers
40 views

Html file sent from list

From below link. Dynamic html mail process My individual file size is below 25 Kb,overall the folder size is above 115 Mb.All html newsletter inside it. what is the size of LIBXML_PARSEHUGE? ...
1
vote
1answer
56 views

Dynamic html mail process

I have sent the newsletter for 5375 user. But I am getting the below error Warning: DOMDocument::loadXML(): xmlSAX2Characters: huge text node: out of memory in Entity, line: 116199 in ET_Client.php ...
1
vote
1answer
40 views

Character issue in exact target subscriber full name

When I am added the attribute in to subscriber show the below character issue. I have used the code php fuel sdk.
1
vote
2answers
53 views

API getting username and password with exact target

My code snippet require('exacttarget_soap_client.php'); $wsdl = 'https://webservice.exacttarget.com/etframework.wsdl'; try { @$client = new ExactTargetSoapClient($wsdl, ...
0
votes
1answer
47 views

Attributes add for subscribers

code snippet. require('ET_Client.php'); $myclient = new ET_Client(); $NameOfAttributeOne = "ExampleAttributeOne"; $NameOfAttributeTwo = "ExampleAttributeTwo"; $profileAttrOne = array("Name" => ...
4
votes
1answer
123 views

Dynamic html mail process through single list

I want to sent a mail through single list every week.html mail and text mail both. It is possible to create one list like "12548" and add the different user like "[email protected]","[email protected]", .... ...
4
votes
2answers
44 views

Web App Authentication

I'm working on a simple PHP web app to pull some data from our Salesforce to an external database for use in a website. I am a novice with a lot of stuff here but my primary question is regarding ...
0
votes
1answer
24 views

Insert customer field to custom object

I am trying to insert a customer object into a custom object called Vouchers. I am fetching the object using: $customer_object = $this->apiCall("sobjects/Customers__c/someid", array(), 'GET'); ...
1
vote
1answer
47 views

Upsert custom object entry using entry ID to check if it exists to update or create new record?

I'm using this code to create an entry in a custom object which works. I'd like to replace the create with upsert to handle updating existing entries in the custom object when the entry ID is ...
2
votes
1answer
40 views

Salesforce API creating records AA2 appended to returned ID?

I'm using the Salesforce PHP Toolkit, when I create a record in a custom object the ID which is returned has AA2 appended to the end of the ID. Upserting Contact (existing) Array ( [0] => stdClass ...
1
vote
0answers
18 views

How to select dynamically linked items from Pricing Matrix via PHP REST API

I've been given the task of writing a new SalesForce application for our company. It's to be a sort of front-end for some clients. One of the functions is to allow these clients to build a product ...
4
votes
1answer
122 views

How to properly allow non-user/client login for external apps with the REST API?

So, I've been given the task of writing a web application for constructing and submitting quotes for my company. First off, I'm brand new to SalesForce, and I'm understanding it better and better ...
3
votes
2answers
79 views

Are workflows also triggered through the API?

Does anyone know if workflows are triggered by calls from the API? I have a workflow that is triggered by updating an opportunity. It then sends an outbound message to an external page that updates ...
2
votes
0answers
55 views

How to create, update and upsert leads with php toolkit using all or none header?

For Java, I found an example here, but I can't find any example using PHP Toolkit and I have any idea of how to do it. I have checked SforceBaseClient.php and the WSDL file. Inside WSDL file I've ...
1
vote
0answers
21 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
2answers
124 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 ...
3
votes
0answers
83 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
280 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. ...
2
votes
1answer
464 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 ...
3
votes
2answers
301 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
65 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
41 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
449 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
118 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
1answer
225 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, ...
2
votes
1answer
69 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
103 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
42 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
355 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: ...
1
vote
2answers
349 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
485 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
220 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
77 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 ...