PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language.

learn more… | top users | synonyms

0
votes
2answers
36 views

Salesforce PHP API : INVALID_LOGIN

I am working with Salesforce PHP API(https://developer.salesforce.com/page/PHP_Toolkit_20.0_Samples) to retreive and update information. But do get the INVALID_LOGIN error when trying to execute if ...
0
votes
1answer
18 views

Issue modifying date on activated order due to work flow

I use the PHP Toolkit to backdate orders as they are processed in our project management system, but I am having an issue recently where orderitems are not being updated as expected. I disabled the ...
1
vote
1answer
44 views

The Triggered Send is not completely configured or in a new status

I am trying to create/retrieve a triggered send via the PHP FuelSDK. I am using the following code: public static function POST_test() { $tsName = 'tsWelcomeS1_t1'; $tsDescription = 'Welcome ...
3
votes
2answers
49 views

Salesforce REST API with PHP, INVALID_SESSION_ID after successful authentication

I connected my web app to salesforce and successfully followed all the steps in the web server OAuth flow to get an access_token and related info: ...
1
vote
0answers
30 views

List all available job positions using the API

I am very new to Salesforce tools and its inner workings. I was asked to recreate our company's Carrers page, that right now is a SF Site loaded inside an iframe on our website. The idea is to ...
0
votes
1answer
17 views

Error:Cannot use object of type QueryResult as array - PHP Tool Kit

1) I have an PHP Form that post all the gathered information(I.e when the user enters the details and clicks on submit )it will post to the to the Php file for processing Error: Cannot use object of ...
1
vote
1answer
31 views

Failure Attempting to update Opportunity

I am attempting to update an Opportunity using the SOAP API Enterprise Client. I am getting back various errors, so I don't think I am passing the correct or possibly required information. The 2nd to ...
0
votes
0answers
15 views

Unable to set subscriber status via the PHP API

I am trying the code on this page https://help.exacttarget.com/en/technical_library/web_service_guide/technical_articles/managing_subscriber_status_for_one_or_all_lists/ $subscriber = new ...
1
vote
1answer
20 views

Creating Case via PHPToolkit fails to activate email queue

I've successfully setup a case system that models the Web to Case system, because I couldn't use it specifically because it lacked in the feature department. So, I wrote a function that processes ...
0
votes
1answer
30 views

Problem getting AUTH Token

I'm trying to get an Auth Token (using PHP) and having trouble getting back the authorization code so I can make the next call and get the Auth Token. I set up a connected APP in the console and have ...
0
votes
1answer
18 views

how to send an email by setting the templateid using php tool kit --->Single email method

1) I am trying to send an email using PHP Tool kit when the records (Candidate) is created. I have read the documentation from here Send Single Email Message 2) I tried setting the settemplateId ...
0
votes
1answer
56 views

PHP tool Kit is not allowing to pass null values from the HTML form for (Date field)

1) I have an HTML Form that post all the gathered information(I.e when the user enters the details and clicks on submit )it will post to the to the Php file for processing 2) The problem is when i am ...
0
votes
0answers
50 views

What am I doing wrong with this Triggered Send API Call?

I am fairly new to ExactTarget and its API, but the API seems pretty straight forward, I am trying to do a Triggered Send (I think i have it set up properly) but I am getting an error from the return ...
1
vote
1answer
38 views

Populate the lookup field using php tool kit[Salesforce]

1) A lookup relation is defined between position and Candidate in SFDC 2) In HTML form, I am trying to send candidate information and position candidate has applied from PHP form to SFDC using PHP ...
-1
votes
1answer
45 views

upload the document to notes and attachments using php toolkit salesforce

I am trying to do the integration using PHP Toolkit and creating a record in salesforce (Custom Object).I am having an issue Example :Let's say i have a candidate applying for the job .The Applicant ...
1
vote
0answers
55 views

Call Salesforce Apex Rest Post Method using PHP

The aim of this code is to call post method apex rest using php curl. But I am getting an error of response [{"message":"Unexpected parameter encountered during deserialization: Last Name at [line:1, ...
0
votes
1answer
61 views

How to call Rest API post method in salesforce?

How can I call Rest API post method that has parameters into php codes? . I just want the proper format for calling . Here is my Code. @RestResource(urlMapping='/Event/*') global with sharing class ...
0
votes
1answer
31 views

Salesforce PHP Tookit - Temporary Error in Name Resolution

I am using the PHP Toolkit to connect to my Salesforce organisation. Information on the tookit can be found here: https://developer.salesforce.com/page/PHP_Toolkit However, I have been getting ...
2
votes
0answers
61 views

Salesforce SSO and SimpleSAMLphp - Assertion OK, Login failed

I am trying to setup SSO between a LAMP website and SalesForce by using SimpleSAMLphp v.1.13.2. I have followed this tutorial: https://salesforce-developer.net/salesforce-sso-with-simplesamlphp SAML ...
0
votes
0answers
10 views

How to update the pick list field instead of override using PHP API?

I am using the PHP API to update a pick list field. Say the value in there is XYZ. If I do a POST request as ABC, it only shows ABC. XYZ gets lost. I need to be able to update a pick list field ...
0
votes
1answer
27 views

Pass values from php from to the salesforce [PHP Integration]

I Have a generic PHP Application Form which has around 20 fields(say First Name,Last name,Mobile,Position etc ) .I am integrating this form to create a record in salesforce. How can i pass the values ...
0
votes
0answers
17 views

Streaming API and PHP

I'm using PHP for an application that feeds from Salesforce and stores some data in a database. Right now, I have a cron that every hour checks the database to see if the status of contacts was ...
0
votes
0answers
60 views

Upload image to Exact Target Portfolio using SOAP API (PHP)

I'm trying to upload an image from my computer to my Portfolio in ET using PHP. I'm having some trouble because I'm not sure how to set the URN and Source properly and I'm not finding any clues on the ...
1
vote
1answer
55 views

Modifying data using SOQL?

I'm using SOQL along with the SOAP API in order to pull a certain set of data to my webpage. However, I want to modify this data (two custom fields) and update the records in Salesforce itself. As I ...
0
votes
0answers
24 views

Salesforce Marketing Cloud PHP API send email to external SalesForce Report

I see one other reference to this but not a direct solution - the code below will reliably send mail to a native ExactTarget / SMC list but I need to send to a report that resides directly on ...
0
votes
2answers
55 views

how to submit a geolocation field via the API create command?

I'm starting out using the enterprise API for PHP with a simple create command... $createResponse = $mySforceConnection->create($insertArray, 'customobject__c'); My $insertArray includes a value ...
2
votes
1answer
27 views

What is the proper API format for submitting compound fields?

I'm using the Salesforce SOAP API via the PHP library and trying to figure out the proper format to submit an Address compound field type. I've tried submitting as an associative array: ...
1
vote
1answer
19 views

Trouble querying a certain value from Salesforce PHP API

so I have a script on a page on my website that connects to my SF, queries for a certain value, and returns the value. It looks like it should work, but I'm not seeing anything. $user is set, and the ...
5
votes
1answer
61 views

Query Result: Where does “any” come from?

I created a simple custom object in salesforce. There are 3 Extra fields: id, email, name (API Names: id__c, email__c, name__c) I dumped 100 rows of random Mockup data into that object (some fields ...
-2
votes
1answer
205 views

OnClick function in HTML is not working with AJAX call [closed]

<!DOCTYPE html> <html> <head> <title></title> <style type="text/css"> .bor { border-color: blue; ...
1
vote
0answers
45 views

Getting error while integrating php with salesforce

I have integrated my PHP application with salesforce. I cant retrieve any data from salesforce . I am getting this following error . org_config.php <?php define("USERNAME", ...
0
votes
1answer
61 views

Having Trouble with Force.com REST API oAuth2 Authentication

I am experimenting with Pat_Patterson's "Interact with the Force.com REST API from PHP". I am using PHP Version 5.6.3 , and I already registered my app via Setup->Create->Apps->Connected Apps. I setup ...
0
votes
0answers
40 views

500 internal server error when Using fuel sdk

I am trying to write to a data extension. I have created the app and linked it to marketing cloud, I also downloaded the files from github. I then added the clientid, clientsecret and defaultwsdl to ...
0
votes
0answers
55 views

How to get Contact PhotoUrl in Salesforce using SOAP API and partner WSDL?

I managed to query the fields and it returns the image names as expected. Issue is , it shows the image only if i have an active salesforce login session ( if i log into salesforce in another browser ...
1
vote
1answer
36 views

Is it possible to export contacts from users salesforce accounts using external application (php)

So I'm building an application which exports contacts from various CRMs and unifies that data to run marketing reports on their contacts. I was easily able to get HubSpot and InfusionSoft working ...
0
votes
1answer
36 views

Which of all of the custom fields on a custom objects are required?

I created a stdclass() object to upsert into Salesforce. I can upsert other custom objects in this way, but there is one that I can't get to work. Here is the error message that I get **** Creating ...
0
votes
1answer
58 views

Salesforce integration with php

Afternoon, I am currently having an issue displaying data from newly added fields within my php page? Here is an example. [http://cvm.org.uk/salesforce/sport-details?id=003D000001r6G3tIAE][1] ...
0
votes
1answer
17 views

Where can I find records that I created using the PHP Toolkit API?

I am new to the PHP Toolkit and I am trying to understand where I can find standard objects/records that I have created using the following code in a php file downloaded from the PHP Toolkit sample ...
0
votes
0answers
34 views

Trying to clear Data Extension with PHP

I am trying to find a way using PHP to clear all data extension records in one go. I looked in Fuel SDK but didn't find any solution, I then looked at the SOAP service and seem to find an operation ...
0
votes
0answers
26 views

PHP SOAP: User on multiple lists; can I send subscription preference updates only for one list?

Users can update their subscription preference to each of the lists they're on on our site. We currently only send the changed values via the PHP SOAP API wrapper's Lists property. It appears that if ...
1
vote
1answer
124 views

SOAP API - How to set an email attribute?

I'm creating an email via the SOAP API. So far, this is working: // SOAP client @$client = new ExactTargetSoapClient($wsdl, array('trace'=>1)); // Login details $client->username = 'xxx'; ...
0
votes
1answer
48 views

Fuel-SDK: How to upsert (UpdateAdd) DataExtension row

PHP's startker-kit has an UpdateAdd save action, which basically inserts a row if its ID doesn't exist and updates it if the id exists. Is there an equivalent in PHP's Fuel-SDK? Or do I need to write ...
0
votes
0answers
214 views

SoapClient::SoapClient(): 'uri' option is required in nonWSDL mode

Sorry it's my first post, and I don't know how to make snazzy code stylings yet. i'm Getting PHP Error PHP Fatal error: SoapClient::SoapClient(): 'uri' option is required in nonWSDL mode in ...
0
votes
0answers
63 views

encrypt parameter value in URL with php

I've been given a URL that contains a page that uses ExactTarget. All I need to do is pass in an encrypted parameter to it. I've tried encrypting it in PHP but it's not working. I'm doing a ...
0
votes
0answers
43 views

Migrating to Node.js from ExactTarget's PHP starter kit

I wrote a custom class based off of ExactTarget's PHP starter-kit to manage our newsletters sign-ups, it gets the job done. Problem is, my company wants to outsource this task to a third party, it ...
0
votes
0answers
30 views

PHP SOAP: How to retrieve all data for a Subscriber record?

I called tech support Today, but no one was available who has PHP expertise, and I was asked to post here. Using the method on this ExactTarget docs page Retrieve a Subscriber Via the Web Service ...
0
votes
1answer
52 views

Web Crawler Page Request only retrieves Redirect

I'm using PHP to retrieve some Salesforce content, but when I do a request, Salesforce only return redirect information (such as: window.location.replace('link_here'). Is there a reason for that? Is ...
1
vote
2answers
43 views

SOQL Select Statement within Select Statement in PHP

I have the following query: SELECT Name, Media_RO_Status__c, (SELECT OldValue, NewValue, CreatedById, CreatedDate FROM histories) FROM Registration_Object__c The response I get in php is: SObject ...
0
votes
0answers
27 views

Nested SOQL Query in PHP

I've the following SOQL query in PHP SELECT Id, Contact.Account.Name, CommunityNickname FROM User where CommunityNickname != '' That returns an sObject, however, when I try to retrieve the fields I ...
-1
votes
1answer
43 views

(PHP) Fuel SDK + Updating subscriber status on (publication) list

I am trying to update a subscriber's status on a (publication) list, however, ET_Patch() doesn't appear to be affecting anything. If a subscriber is on the list with a status of Unsubscribed, I will ...