New answers tagged

0

I recommend adding the below check RestRequest request = RestContext.request; Map requestHeaders = request.headers; if (requestHeaders.containsKey('Sfdc-Stack-Depth') && '1'.equals(requestHeaders.get('Sfdc-Stack-Depth'))){ System.debug('Do not calllout as it will cause a callout loop error'); } As described here, The SFDC_STACK_DEPTH header is ...


0

What I have done in the past is to run the query through an SQL Activity instead of run it directly. The process is somehting like this: Create a Query activity Use the SOAP API to perform the SQL Activity Wait as much as needed till the query finishes... This is something you need to estimate outside SFMC The data have to be prepared over a DE, you can use ...


1

You can use good old package.xml and ANT for deploying bulk of components (custom placeholder fields in your case) through a single deployment command. All the custom fields should be listed in the package.xml. Refer to this, this & this to explore this option. You can find many blogs and article related to this on the web. If you want to stick with VS ...


0

Pagination with the custom page size is possible by combining ContinueRequest and BatchSize properties In example I paginate over DataExtensionObjects which have a useful auto-incremented identifier _CustomObjectKey In the first request, we specify list of Properties and BatchSize which limits the number or entries in the response: <RetrieveRequest> ...


2

It isn't currently possible if you just rely solely on the SOAP API. As from Mark's answer, you can perform a SOQL query on User to get the FullPhotoUrl. But then you are stuck. If the user has a photo defined the URL will include the photo ID starting with the 729 keyprefix. However, Photo isn't currently exposed via the SOAP API. So you can't retrieve it. ...


0

Turns out the issue is that the names not sent were in a holding pattern due to "CONTACT DELETE" process. Therefore, our trigger was always fine. Thank you for the feedback to help troubleshoot.


2

When you make a RetrieveRequest where the response indicates there are further pages of results that may be retrieved, you'll receive an OverallStatus of "MoreDataAvailable" similar to this response: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" ...


1

There is a hidden field _CustomObjectKey which is used in AmpScript, this field may also be requested for DataExtensionObject: Thanks to Jonas Lamberty for a hint! Request: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <fueloauth>secret</fueloauth> </soap:Header> <...


Top 50 recent answers are included