This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%[ | |
set @node = BuildRowsetFromXML(@productXML,concat("/products/product[",@productPos,"]/productImageURL"),1) | |
set @productImageURL = Field(Row(@node, 1),'Value') | |
]%% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img style="display: block;" src="%%=v(@productImageURL)=%%" alt="" width="150" border="1" /> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%[ | |
VAR @deObj, @prop, @de_statusCode, @de_statusMsg, @errorCode | |
var @FirstName, @LastName, @Email, @SubscriberKey | |
set @FirstName = RequestParameter("FirstName") | |
set @LastName = RequestParameter("LastName") | |
set @Email = RequestParameter("Email") | |
set @SubscriberKey = RequestParameter("SubscriberKey") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body style="font-family:sans-serif"> | |
<a href="%%profile_center_url%%">Base - Profile/Preference Center</a> | |
<br/><a href="%%subscription_center_url%%">Base - Subscription Center</a> | |
<br/><a href="%%unsub_center_url%%">Base - One-Click Unsubscribe</a> | |
<br/><a href='%%=MicrositeURL(1111,"subscriberMID", "4444")=%%'>Custom Profile/Preference Center</a> | |
<br/><a href='%%=MicrositeURL(2222,"subscriberMID", "4444")=%%'>Custom Subscription Center</a> | |
<br/><a href='%%=MicrositeURL(3333,"subscriberMID", "4444")=%%'>One-Click Unsubscribe</a> | |
<p>This email was sent by: | |
<b>%%Member_Busname%%</b> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub header() | |
Dim eCol As Integer | |
Dim i As Integer | |
eCol = Cells(1, Columns.Count).End(xlToLeft).Column | |
For i = 1 To eCol | |
With Cells(1, i) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function GetFolderPath(ByVal FolderPath As String) As Outlook.Folder | |
Dim oFolder As Outlook.Folder | |
Dim FoldersArray As Variant | |
Dim i As Integer | |
On Error GoTo GetFolderPath_Error | |
If Left(FolderPath, 2) = "\\" Then | |
FolderPath = Right(FolderPath, Len(FolderPath) - 2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
a.customerID | |
, s.emailAddress | |
from EnterpriseAttributes a | |
inner join _Subscribers s on (s.subscriberID = a.subscriberID) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%[ | |
var @firstName, @lastName | |
set @firstName = "Scut" | |
set @lastName = "Farcus" | |
UpsertDE("My_Test_DataExtension",1,"SubscriberKey",_SubscriberKey,"FirstName",@firstName,"LastName",@lastName) | |
]%% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%[ | |
var @em, @couponRow, @couponCode | |
if _messagecontext == "PREVIEW" then | |
set @couponCode = "XX TEST XX" | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script runat="server"> | |
Platform.Load("Core","1.1.1"); | |
var automationCustomerKey = "CUSTOMERKEY-OF-AUTOMATION" | |
var rr = Platform.Function.CreateObject("RetrieveRequest"); | |
Platform.Function.SetObjectProperty(rr, "ObjectType", "Automation"); | |
Platform.Function.AddObjectArrayItem(rr, "Properties", "ProgramID"); | |
Platform.Function.AddObjectArrayItem(rr, "Properties", "CustomerKey"); |