New answers tagged

1

Regarding Automations, the documentation references Automation, AutomationInstances and AutomationInstance SOAP objects. Sounds like one of the key pieces of data you want is the status of the last run instance. Each time you run an automation it creates an instance. Unfortunately the 'LastRunInstanceID' property on the Automation object always seems to ...


1

There's example code here. <?php // SOAP_CLIENT_BASEDIR - folder that contains the PHP Toolkit and your WSDL // $USERNAME - variable that contains your Salesforce.com username (must be in the form of an email) // $PASSWORD - variable that contains your Salesforce.ocm password define("SOAP_CLIENT_BASEDIR", "../../soapclient"); require_once (...


3

It's nicely explained in Send a triggered email using WSProxy article from sfmarketing.cloud blog. Triggered Send object: <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Header> <fueloauth>YOUR_ACCESS_TOKEN</fueloauth> </Header> <Body> <...


-1

Try it : java -cp C:\Salesforce\tools.jar;antlr-4.7.2-complete.jar;js.jar;ST-4.3.jar;force-wsc-47.0.0.jar com.sforce.ws.tools.wsdlc wsdl.xml enterprise.jar I hope it will help you.


1

Anyone looking for an answer to the above question - the below code worked - <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <fueloauth>Add your appropriate authentication key/code here which ...


3

Rather than utilize the POST and build out the xml envelope, etc., why not utilize WSProxy inside SSJS and then be able to parse the JSON returned? WSProxy has better efficiency than AMPscript/SSJS API functions - meaning it will be quicker AND it is returned in a format that is native to SSJS and easily parsed. e.g. var prox = new Script.Util.WSProxy(); ...


0

I spent some time frustrated with this exact thing a while back, and never figured it out. I did figure out how to update the subject line of an email send definition to display a prefix if it was a test send, which functions similar to what you are asking. I ended up coding to add it and remove it for a series of data proofs on a monthly recurring project ...


0

Yeah it's in seconds. Here is the sample:


1

After a lengthy debugging, the following lines turns out to be ignored config.setProxyUsername("dummyUsername"); config.setProxyPassword("dummyPassword"); The code that establish the lowest level of tunneling is sun.net.www.protocol.http.HttpURLConnection#doTunneling. In its getHttpProxyAuthentication function, it will use PasswordAuthentication a = ...


Top 50 recent answers are included