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
1answer
15 views

List all attributes of a subscriber list

I am working with the marketing cloud web service API and I am trying to locate a method that returns a list with all attributes of a subscriber list (like: FirstName, LastName, Gender, and so on) ...
0
votes
1answer
15 views

unsubscribe via Update Method and Subscriber Object

I am using the Exact Target SOAP API, on stack 7 (S7) I am trying to modify the status of a subscriber via the update method in order to unsubscribe a subscriber. I know that to unsubscribe you need ...
1
vote
0answers
27 views

SSL certificate problem: unable to get local issuer certificate, curl_errno 60

I'm trying to integrate PHP script with Salesforce by following the example on the link: http://developer.force.com/cookbook/recipe/interact-with-the-forcecom-rest-api-from-php But I get the error ...
0
votes
0answers
29 views

How to set boolean value in Force.com Toolkit for PHP?

How can I set a checkbox value using the Salesforce PHP Toolkit? Here is what I've got: $records = array(); $records[0] = new SObject(); $records[0]->fields = array( 'Id' => '12345', ...
0
votes
0answers
16 views

How to setup WAMP to integrate PHP with salesforce REST API

I'm trying to integrate Salesforce REST API with PHP. i'M using WAMP server as my localhost. But whenever I tried to run the PHP script for Oauth authentication, I get error ERR_CONNECTION_REFUSED on ...
0
votes
0answers
16 views

how to prevent the resubmitting the form when reload the page using php

I am create the simple form insert the value for salesforce using php. I put validation for mobile no duplication. Once i fill the form and submit it show the success message.when i press F5 or reload ...
0
votes
0answers
7 views

How to Check mobile is exist in account page using php in salesforce

I create the form with mandatory field(Name,Mobile,city,Email,Gender).I create the form and insert the value into salesforce also. But i need to throw the error message if mobile no is exist in ...
0
votes
1answer
10 views

PHP Can't Update Picklist with Existing Value

I'm having a very strange problem with PHP (Laravel with Forrest) and updating values. I've got a pick list called Approved_Rejected__c with the following values: New Submitted Approved Rejected ...
1
vote
1answer
24 views

SOAP API username and password

This might seam like a stupid question but I have run out of options. Upon connecting to the SOAP API with SalesForce, I must provide a username and a password. I tried my credentials from the App ...
1
vote
1answer
28 views

Salesforce OAuth 2.0 JWT Bearer Token Flow with PHP

Anyone can help me with JWT Token Flow returning an error of {"error":"invalid_client","error_description":"invalid client credentials"} Why am I getting this error ? I suspect that I uploaded a ...
0
votes
1answer
19 views

how insert the record into account salesforce(sandbox) using php

I am creating the simple page with mandatory field. When i submit button it should insert into salesforce account directly. I refer the ...
1
vote
0answers
12 views

Sending SMS with Fuel-sdk PHP

I'm trying to send a SMS to a single number using the PHP sdk I've had a look at this https://code.exacttarget.com/apis-sdks/soap-api/sms-api-scenario-guide.html but cant find a PHP SDK. anyone ...
1
vote
1answer
36 views

Marketing API - get subscribers | unsubscribers | how to subscribe | unsubscribe

I am new to SalesForce and I am having trouble locating the part of the documentation that refers to subscribing/unsubscribing someone via the API. Could someone, Please, point me into the right ...
0
votes
0answers
11 views

Refresh the fields in salesforce

I have an external URL i.e. from Php. I just want to hit That url by sending(POST) 2 parameters from sales force and Then update the fields. I could achieve this by creating a button if I click on ...
1
vote
1answer
13 views

How to use the apexrest with C# [closed]

I developed a code to generate Accounts from the web in PHP but now I'm in front of a chlange to make it in C# for an emergency here is my PHP code, if you can help me how to do it ..... many thx ...
0
votes
0answers
15 views

MobileConnect: REST API Linebreak

I am attempting to trigger a MobileConnect message via REST API (and PHP) that includes a linebreak (uses \n). However, I haven't been able to successfully get the linebreak to generate. An example of ...
0
votes
0answers
8 views

Creating User Feeds with API using PHP

I need to create user feeds on Salesforce using API from a PHP web application I develop. The requirement is to post the form data as the feed on submit. I have tried Salesforce SOAP API and can ...
3
votes
2answers
118 views

session id or oath token, they not interchangeable?

Very new to Salesforce development. I used a connect app to get Oauth security token in a plugin. I am trying to call an Adobe Salesforce web service that needs a session ID. When I run my plugin I ...
0
votes
1answer
31 views

Apex equivalent of PHP sha1() and some more encoding methods

I got a PHP script to generate an encoded URL. I need to translate this script into Apex code to generate the same URL. However, the PHP encode functions seem to work differently from Apex. The ...
0
votes
0answers
19 views

Unable to validate app keys on php server

I'm getting this error when trying to authenticate ETclient a server. [Tue Mar 08 10:34:28.541573 2016] [proxy_fcgi:error] [pid 30750:tid 140334382126848] [client 10.20.30.224:62617] AH01071: Got ...
2
votes
1answer
28 views

Sync Salesforce data to my web app

Good day everyone. I am using php and mysql at the moment and I am trying to sync my salesforce data to my web application. The scenario is this: When I will create/update/delete data in salesforce, I ...
2
votes
1answer
30 views

Call <link rel=“stylesheet” href=“”> On A Specific Part Of My Page Without Overriding My Current CSS Style

I am trying to call <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> in the header.php that is linked to my post_form page for the jQuery file ...
0
votes
1answer
16 views

Where to pass “Partner code”? I am getting following error

Error: call to URL https://cs31.salesforce.com/services/apexrest/CreateLoan/ failed with status 200, response HTTP/1.1 200 OK Date: Tue, 01 Mar 2016 08:18:26 GMT Set-Cookie: ...
1
vote
1answer
41 views

Access to Category ID denied

I'm getting an error when trying to /update/ create a template using fuel php sdk. $contentarea = new ET_ContentArea(); $contentarea->authStub = $etClient; $contentarea->props = ...
1
vote
1answer
34 views

why i am getting this error when sending data through curl

Error: call to URL https://cs31.salesforce.com/services/apexrest/CreateLoan/ failed with status 400, response HTTP/1.1 400 Bad Request Date: Sat, 27 Feb 2016 09:22:27 GMT Set-Cookie: ...
0
votes
0answers
28 views

Is this url I am using is correct?

I am using url like "https://test.salesforce.com/services/oauth2/token/" and trying to connect salesforce api through my third party website. But it is showing me error like following URL No ...
0
votes
1answer
57 views

Fatal error: Call to a member function __setSoapHeaders() when generating access token in php

When trying to generate a soap access token for salsforce I am getting an error: Fatal error: Call to a member function __setSoapHeaders() on a non-object in ...
0
votes
1answer
46 views

Caught exception: Unable to validate App Keys(ClientID/ClientSecret) provided.: DateTime::__construct(): It is not safe to rely

I have installed Marketing Cloud (ExactTarget) PHP SDK, created my App and updated config.php with ClientId and SecretId but when I am running any sample or any other code I get this error ...
0
votes
0answers
24 views

Populate custom group lookup field using PHP

I am new to Salesforce (but experienced php developer). My trouble is with populating a custom group lookup field via php. The salesforce dashboard was setup by someone else; and I'm learning my way ...
0
votes
2answers
71 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
21 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
115 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
72 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
34 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
25 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
45 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
17 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
22 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
37 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
19 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
75 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
58 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
65 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
76 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
95 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
108 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
39 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
269 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
12 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
40 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 ...