PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language.
2
votes
1answer
16 views
ExactTarget PHP Fuel Update QueryDefinition
I am trying to create some sugar methods for Query's since for some reason they are missing form the Fuel SDK.
I have create, retrieve, execute & delete but I cannot figure out how to do the ...
2
votes
1answer
31 views
Populating Client ID for API Call reporting purposes
This is loosely in reference to another Question: Client Id blank in "API Calls Made Within Last 7 Days"-Report
I'd like to find out, so that our Developers can implement it, where ...
3
votes
1answer
62 views
how to change email list status for email address with REST API
i am running into an issue with the REST API. I am able to subscribe a user to any list when they are new to the system using ->post(), but when a user is already in our system and unsubscribed from a ...
1
vote
0answers
33 views
Is this an acceptable method to send SOAP API envelope using PHP?
I'm trying to post a SOAP envelope to the ExactTarget API using this PHP:
http_post_data('https://webservice.s6.exacttarget.com/Service.asmx',$xml);
(where variable $xml is the SOAP envelope)
I'm ...
1
vote
1answer
57 views
Salesforce Open Popup via Trigger
I am creating lead using Force.com Toolkit for PHP.
I have also created trigger when any lead is created. using this trigger I wants to open one popup or model in salesforce screen. is it possible ?
2
votes
1answer
65 views
Sending data from PHP to Salesforce using CURL
I am New BEE to this i have got stuck so seriously
I have to send the data from php to salesforce and save the data in the sales force i have tried with the following code
...
1
vote
1answer
51 views
Decrypt a string encrypted by the EncryptSymetric() AMPscript function using PHP
I read elsewhere in StackExchange that it's not possible to decrypt AES strings originating from AMPScript in PHP. Is this true? It seems that it should be possible with mcrypt.
Also, part two for ...
1
vote
1answer
64 views
Trigger Welcome Email after adding new subscriber via API?
I have a web form that adds subscribers to a list via the API but because i'm using the API rather than web collect it won't send out the welcome email. How would I send send the welcome email via ...
2
votes
1answer
35 views
Web Collect - Display message if already subscriber
I'm developing a page on my site for vistor's to subscribe to a newsletter and I want to return a message if they are already subscribed.
It's a standard html form like the example on ...
2
votes
2answers
39 views
Salesforce rest query “join”
So I would like to know if a domain is in three or more tables
Normally I would do something like this to get one row
SELECT
c.Email,
a.Website,
l.Email as leadEmail
FROM Contact as c
...
1
vote
1answer
60 views
[exacttarget]Creating Folders and Emails error: ParentFolder.ID or CategoryID not found
Were using Fuel API [FuelSDK-PHP-v0.9], against ExactTarget Enterprise 2
We have several levels of folders within folders to organize our emails created in the exacttarget website, we are trying to ...
0
votes
0answers
58 views
PHP ExactTarget API retrieve subscribers of a specific list that had unsubscribed after a certain date
I'm trying to use the ExactTarget API in order to retrieve the subscribers of a specific list that had unsubscribed after a certain date.
Even just filtering for unsubscribed date I get this error:
...
0
votes
1answer
22 views
Update value in Object through API
I'm using PHP and SOAP OR REST to access the data from my Salesforce Account. I want to know if there's a way for me to do a query or something like it to update or insert some records? I haven't been ...
0
votes
2answers
64 views
GROUP BY custom field
I'm doing this query:
SELECT
ID, Name, Email_Domain__c
FROM
Contact
GROUP BY Email_Domain__c
And I'm getting this error
MALFORMED_QUERY: GROUP BY Email_Domain__c ^ ...
2
votes
1answer
66 views
Get more than 2000 with SOAP and PHP
I'm trying to return more than 2000 records, I haven't seen any answers for people using PHP and SOAP. Any recommendations? My query is simply:
SELECT
ID, Name
FROM
Contact
...
0
votes
2answers
90 views
Update Attributes for Subscriber on Multiple Lists Under Multiple Client IDs
I'm getting the devil trying to update subscriber attributes in multiple lists where the list is part of a subaccount. I don't know the proper terminology for this, but our account has several ...
0
votes
1answer
31 views
Unable to display results into a php table
I tried the force.com php toolkit to pull results from salesforce into php. Following is my code...
$query = "SELECT Id, Name, Phone from Contact";
$response = $mySforceConnection->query($query);
...
1
vote
2answers
79 views
Fuel SDK + PHP + Sendable Data Extension
I cannot figure out how to make a Data Extension sendable using the PHP version of the Fuel SDK.
The documentation describes both the SendableDataExtensionField and SendableSubscriberField as string ...
0
votes
1answer
19 views
Create a TriggeredSend Definition Fatal error: Call to undefined method WSSESoap::addOAuth() in /ET_Client.php on line 165
I'm trying to set of a TriggeredSend definition. After a lot of playing around I got the system to load the ExactTargetWSDL.xml. Now I've got this error showing up, and i'm not sure why.
Create a ...
1
vote
1answer
49 views
How Can I Create an HTML Page with the Subscriber Attributes in the Correct Order?
I am retrieving the Subscriber from the API.
The Marketing Cloud advertises an Order field in the Profile Management section, that allows attributes to be ordered. Also, there is a "Hidden" checkbox ...
2
votes
1answer
40 views
Exact Target Charset
I send Data via SOAP to Exact Target extension.
Everything work fine, but if I send some characters from another languages I have problems.
I have tried to set line <?xml version="1.0" ...
1
vote
0answers
44 views
PHP Code Example for Adding Steps, Activities to an Existing Automation?
I'm hoping that someone might be able to share a PHP example for updating an existing automation with an additional Step and an activity associated with that step. The single example (in .Net) for ...
2
votes
1answer
37 views
Updating a form in salesforce from a external website
im having trouble with my webservice when updating my form, when i click update the message service says it has modified the data within salesforce, ive had success doing this abit further up in the ...
1
vote
1answer
33 views
Link CaseComment to a Contact
I need to insert cases in salesforce from an external site. I'm using the Force.com_Toolkit_for_PHP:
http://wiki.developerforce.com/index.php/Getting_Started_with_the_Force.com_Toolkit_for_PHP
I can ...
1
vote
1answer
55 views
PHP and Salesforce API not returning results
If I use Force.com explorer or workbench.developerforce.com this query works in those tools:
SELECT Id, ContentDocumentId, Title, VersionNumber, PathOnClient
FROM ContentVersion
WHERE ...
3
votes
1answer
43 views
PHP ExactTarget API returns Empty Response when trying to connect
I'm just trying to do the basic connection to the service, but I'm getting the following message on the page:
Unable to load the webpage because the server sent no data.
Error code: ...
2
votes
1answer
100 views
Email Send Definition using Data filtered Data Extension
I try to set an Email Send Definition with a Data Extension which is filterd by a Data Filter (exclusionlist). Sending without the Data Filter is no problem but after applying the Data Filter it ...
0
votes
1answer
80 views
AMPscript Encrypt with PHP Decrypt?
I am trying to understand how AMPscript Encrypt/DecryptSymmetric might work with openssl or mcrypt in php.
Essentially - is there a way to use AMPscript to encrypt, and php to decrypt? It seems like ...
2
votes
2answers
86 views
Create A Complex Filter Part using ExactTarget PHP API
I have created a function to handle a retrieve request using the ExactTarget API with PHP. The problem is that there's no documentation for using Complex Filter Parts in retrieve requests using the ...
1
vote
0answers
12 views
Bounced emails with fuel sdk php
I'm trying to retrieve bounced mails with Fuel SDK PHP ET_BounceEvent object:
require('ET_Client.php');
$myclient = new ET_Client();
$bounceevent = new ET_BounceEvent();
$bounceevent->authStub = ...
0
votes
1answer
68 views
Getting the correct data extension rows in AMPScript
Our subscriber row has many rows, two of which are SubscriberKey, and ModifiedDate
I have a data extension that contains info about what the subscriber purchased
it is a one to many relationship, ...
0
votes
1answer
110 views
Using a single form to update multiple records [closed]
In our ExactTarget application we've used AMPscript and HTML to create forms which edit the data extensions. So far the edits have been to a single record per transaction. (edit the form content, ...
1
vote
1answer
70 views
How to use TriggerSend with an existing e-mail template? Php Coding
I am having trouble figuring out how to do the following;
Lets say I have a customer that comes to our site, and buys two of our products. They provide their email, first name, and last name.
And ...
0
votes
1answer
35 views
Start a Query Activity
Is there any sample code available that would show how to run an existing query activity via the SOAP api in php? There is a .net example on @Code but I'm not entirely sure of how to translate that to ...
0
votes
1answer
191 views
How to update the lead using php
Hi I have create the lead by using the following code but I dont know how to update the lead by using php.
My Code:
//Describing the Leads object and printing the array
$describe = ...
1
vote
0answers
37 views
Query opportunity from whatid on events
I am using the php api and am curious whether it is possible to get information from two objects in one query. I'm basically trying to save API calls. What I would like to do is grab information from ...
0
votes
2answers
90 views
Null.Pointer Exception is getting when i calling from php [duplicate]
I am receiving a null reference exception when this webservice is called from php. I am unable to resolve this on my own.
My Webservice code
global class Ctest{
global class RequestClass{
...
-1
votes
1answer
128 views
System.NullPointerException
while making a call from php i am getting the error
Attempt to de-reference a null object Class.Demo.Insert:
What is problem in my webservice?
global class Ctest{
global class ...
0
votes
2answers
169 views
Element {} item is invalid Can anyone explain this error?
When we are connecting to sfdc from php using the SOAP API we are receiving an error message: Element {} item is invalid How can i resolve my issuse
ini_set("soap.wsdl_cache_enabled", "0");
...
0
votes
0answers
104 views
salesforce Element {}item invalid at this location in php side
When we are connecting to sfdc using the SOAP API we are receiving an error message:
Element {} item is invalid
Can anyone explain this error ?
require_once ('SforcePartnerClient.php');
...
1
vote
2answers
97 views
What is the simplest way to save form data into Salesforce using the API?
I have created a simple PHP contact form in my website and I want to save the data into Salesforce.
I thought it would be really simpler.
I have looked into the SOAP API but it looked over kill for ...
2
votes
1answer
63 views
need help with exception failure when scheduling a send via SOAP API in PHP
I'm trying to create a scheduled send definition and I receive the following exception:
[StatusMessage] => Exception occurred during [ScheduleEmailSendDefinition] ErrorID: 540318960
This is the code ...
1
vote
0answers
65 views
How can i refresh Token using fuelsdk for php?
Here is the error messsage
status: code: 500 message: q0:FailedAuthentication The security
token could not be authenticated or authorized ---> A critical error
has occurred and has caused ...
1
vote
1answer
59 views
Integrating php with Salesforce
I am asked to built a web application in php where the back end database is going to be Salesforce Objects. The scenario is that "users" (can be 10,000+) would register/log in to the application and ...
2
votes
1answer
58 views
Unable to access all DataExtension properties. Can't get the DataExtensionField(s)
I'm having this issue with the php soap-api where I'm just unable to connect a DataExtension to a DataExtensionField. To be more precise, I can't get the DataExentensionFields related to a ...
1
vote
1answer
46 views
Limiting results with the fuel sdk
I am using the PHP Fuel SDK to grab a bunch of send id results. I'm using a filter like this.
$sendFilter = array('Property' => 'ID','SimpleOperator' => 'IN','Value' => $sendIDs);
How can ...
2
votes
1answer
535 views
Upload files to a Case in SalesForce via REST API
I'm working on uploading attachments from my website to Salesforce, attachments should be related to case object. I'm using REST API in PHP. So problem is that I get an error when I tried to upload ...
1
vote
0answers
130 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
166 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
59 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?
...