This file contains hidden or 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
{"appVersion":"238.0.77","id":"eb336797-87dd-4403-8822-aec621d52dcb","name":"MCPM RH Test Functionality","version":4,"modelVersion":"3","references":{"dataExtensions/0cf136f9-b2f6-ec11-b843-48df37d1da94":[{"identifier":"categories/313175","relationship":"required"}],"automations/9adc7f82-6e11-4f06-b187-e274db5d79c2":[{"identifier":"queryActivities/a916b76e-9db2-4dc6-a1a0-40e7bb1a1c24","relationship":"required"},{"identifier":"categories/313179","relationship":"required"}],"assets/121055":[{"identifier":"categories/313174","relationship":"required"}],"categories/313175":[{"identifier":"categories/299830","relationship":"required"}],"queryActivities/a916b76e-9db2-4dc6-a1a0-40e7bb1a1c24":[{"identifier":"dataExtensions/0cf136f9-b2f6-ec11-b843-48df37d1da94","relationship":"required"},{"identifier":"categories/313181","relationship":"required"}],"categories/313174":[{"identifier":"categories/311250","relationship":"required"}],"categories/313179":[{"identifier":"categories/299831","relationship":"required"}],"categ |
This file contains hidden or 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 language="JavaScript" executioncontexttype="get"> | |
Platform.Load("Core","1.1.5"); | |
var TestDE = DataExtension.Init("TEST_DataExtension"); | |
var result = TestDE.Rows.Update({"AccountId":"Test_account"}, ["ContactId"],["0032405071zljdyAAA"]); | |
Write('<b>Output:</b>'+result); | |
</script> |
This file contains hidden or 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 type="text/javascript" runat="server"> | |
Platform.Load("core", "1.1.5"); | |
var prox = new Script.Util.WSProxy(), | |
objectType = "Email", | |
cols = ["Name"], | |
moreData = true, | |
reqID = null, | |
numItems = 0; |
This file contains hidden or 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 @debug | |
var @jid | |
var @listid | |
var @batchid | |
var @email | |
var @skey | |
var @reason | |
var @unsubscribeAll |
This file contains hidden or 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 @MobileFinal = "614xxxxxxxx"]%% | |
<script runat="server"> | |
Platform.Load("core", "1"); | |
var mobileNumber = Variable.GetValue("@MobileFinal"); | |
var mobileNumberList = []; | |
mobileNumberList[0] = mobileNumber; | |
var mobileNumbers = Stringify(mobileNumberList); | |
//Request accesstoken | |
var url = 'https://auth.exacttargetapis.com/v1/requestToken'; |
This file contains hidden or 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
define([ | |
'postmonger' | |
], function ( | |
Postmonger | |
) { | |
'use strict'; | |
var connection = new Postmonger.Session(); | |
var authTokens = {}; | |
var payload = {}; |
This file contains hidden or 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.5"); | |
var prox = new Script.Util.WSProxy(); | |
var guid = Platform.Function.GUID(); | |
var name = "my test de - " + guid; | |
var de = { | |
Name: name, | |
CustomerKey: guid, |
This file contains hidden or 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
%%[ /* Assign Values from the DE row being previewd */ SET @OfferNameValue = OfferName SET @BrandValue = Brand SET @CategoryValue = Category SET @GenderValue = Gender SET @OfferScoreValue = OfferScore SET @ValidFromValue = ValidFrom SET @ValidToValue = ValidTo SET @SourceIdValue = SourceId SET @WeightValue = Weight SET @PlacementValue = Placement SET @ContentIDValue = ContentID SET @NameValue = Name SET @OrientationValue = Orientation SET @SubjectLineValue = SubjectLine SET @SnippetValue = Snippet SET @SnippetURLValue = SnippetURL SET @PreheaderValue = Preheader SET @ThemeValue = Theme SET @UseTopSpacerValue = UseTopSpacer SET @TopSpacerBackgroundColorValue = TopSpacerBackgroundColor SET @MainImageBackgroundColorValue = MainImageBackgroundColor SET @MainImageNumberOfSlicesValue = MainImageNumberOfSlices SET @UseMainImageSpacerValue = UseMainImageSpacer SET @1stImageBackgroundColorValue = 1stImageBackgroundColor SET @1stDesktopImageValue = 1stDesktopImage SET @1stMobileImageValue = 1stMobileImage SET @1stImage |
This file contains hidden or 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 @de, @de_col, @de_statusCode, @de_statusMsg, @errorCode | |
InsertDE('Customers','SubscriberKey','[email protected]', 'EmailAddress','[email protected]') | |
SET @de = CreateObject("DataExtensionObject") | |
SetObjectProperty(@de, "CustomerKey", "17EA5F55-35B7-4A6E-848E-FDCE00D7726C") | |
SET @de_col = CreateObject("APIProperty") | |
SetObjectProperty(@de_col, "Name", "SubscriberKey") |
This file contains hidden or 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
public static class HexToColorConverter | |
{ | |
/// <summary> | |
/// Converts a hexadecimal string value into a Brush. | |
/// </summary> | |
public static SolidColorBrush ConvertToBrush(string value) | |
{ | |
return new SolidColorBrush(ConvertToColor(value)); | |
} |
NewerOlder