Hot answers tagged

3

So, any time you close a script block and open a new one, that will reduce performance. Combine that with a mix of scripting languages (SSJS and AMPscript) and you add more processing. So yes, this will have some impact in total performance and speed of delivery. Try catch itself as well can add a slight delay as well due to how it is executed. Now the ...


1

EDIT So I investigated this a bit more and it appears you can still use it inside the same block, but you need to have the open and close script tags inside of the content. See below example: <script runat=server> Platform.Load("Core","1.1.1"); Platform.Function.ContentBlockByKey("writeDebug") var label = "...


1

Yes you can via the REST API and WSProxy. First you would need to find the journey data via GET /interaction/v1/interactions (SFMC doc) and grab the triggers. Within the triggers you can find the event definitions which you can use to find the ObjectId of the trigger Data Extension by calling the endpoint GET /interaction/v1/eventDefinitions/{id} (SFMC doc). ...


1

EmailAddress indeed is not an attribute, it is a property directly on the subscriber object. Makes sense too, Profile Attributes are things that you configure, whereas EmailAddress is on the subscriber object by default, like SubscriberKey itself, or Status. Please see here: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/subscriber....


1

I ended up using the AMP script URLEncode() function encoded inline and treated as content.


1

There is AFAIK no personalisation string which could tell you about the email being sent in a bcc context. Could you build a logging data extension, with following columns: CaseID (PK), JobID(PK), Timestamp - this will allow you to lookup, prior to executing CreateSalesforceObject function, whether a comment has been created for this case. Setting aggressive ...


1

You need to set your @tempValue dynamically in this case and then correctly interpret the content of it by the TreatAsContent function. In the end, you would have something like this for immediate redirect - <table border="0" cellpadding="0" cellspacing="0" width="100%"> %%[ for @counter = 1 to @resourceCount ...


Only top voted, non community-wiki answers of a minimum length are eligible