Skip to content

Instantly share code, notes, and snippets.

@matrostik
Created December 10, 2017 07:54
Show Gist options
  • Save matrostik/632455ec885d528415af10712932d1f4 to your computer and use it in GitHub Desktop.
Save matrostik/632455ec885d528415af10712932d1f4 to your computer and use it in GitHub Desktop.
%%[ /* 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 @1stImageLinkValue = 1stImageLink SET @1stImageAltTextValue = 1stImageAltText SET @1stImageLinkCoremetricsValue = 1stImageLinkCoremetrics SET @2ndImageBackgroundColorValue = 2ndImageBackgroundColor SET @2ndDesktopImageValue = 2ndDesktopImage SET @2ndMobileImageValue = 2ndMobileImage SET @2ndImageLinkValue = 2ndImageLink SET @2ndImageAltTextValue = 2ndImageAltText SET @2ndImageLinkCoremetricsValue = 2ndImageLinkCoremetrics SET @3rdImageBackgroundColorValue = 3rdImageBackgroundColor SET @3rdDesktopImageValue = 3rdDesktopImage SET @3rdMobileImageValue = 3rdMobileImage SET @3rdImageLinkValue = 3rdImageLink SET @3rdImageAltTextValue = 3rdImageAltText SET @3rdImageLinkCoremetricsValue = 3rdImageLinkCoremetrics SET @4thImageBackgroundColorValue = 4thImageBackgroundColor SET @4thDesktopImageValue = 4thDesktopImage SET @4thMobileImageValue = 4thMobileImage SET @4thImageLinkValue = 4thImageLink SET @4thImageAltTextValue = 4thImageAltText SET @4thImageLinkCoremetricsValue = 4thImageLinkCoremetrics SET @CopyValue = Copy SET @CopyBackgroundColorValue = CopyBackgroundColor SET @CopyFontSizeDesktopValue = CopyFontSizeDesktop SET @CopyFontSizeMobileValue = CopyFontSizeMobile SET @CopyFontColorValue = CopyFontColor SET @NumberOfCTAValue = NumberOfCTA SET @StackCTAValue = StackCTA SET @CTABackgroundColorValue = CTABackgroundColor SET @CTAFontColorValue = CTAFontColor SET @CTAFrameColorValue = CTAFrameColor SET @CTAFontSizeDesktopValue = CTAFontSizeDesktop SET @CTAFontSizeMobileValue = CTAFontSizeMobile SET @CTAArrowValue = CTAArrow SET @LeftCTATextValue = LeftCTAText SET @LeftCTALinkValue = LeftCTALink SET @LeftCTACoremetricsValue = LeftCTACoremetrics SET @LeftCTAAltValue = LeftCTAAlt SET @MiddleCTATextValue = MiddleCTAText SET @MiddleCTALinkValue = MiddleCTALink SET @MiddleCTACoremetricsValue = MiddleCTACoremetrics SET @MiddleCTAAltValue = MiddleCTAAlt SET @RightCTATextValue = RightCTAText SET @RightCTALinkValue = RightCTALink SET @RightCTACoremetricsValue = RightCTACoremetrics SET @RightCTAAltValue = RightCTAAlt SET @UseSplitBottomImageValue = UseSplitBottomImage SET @1stSplitImageBackgroundColorValue = 1stSplitImageBackgroundColor SET @1stSplitImageValue = 1stSplitImage SET @1stSplitImageLinkValue = 1stSplitImageLink SET @1stSplitImageAltTextValue = 1stSplitImageAltText SET @1stSplitImageLinkCoremetricsValue = 1stSplitImageLinkCoremetrics SET @2ndSplitImageBackgroundColorValue = 2ndSplitImageBackgroundColor SET @2ndSplitImageValue = 2ndSplitImage SET @2ndSplitImageLinkValue = 2ndSplitImageLink SET @2ndSplitImageAltTextValue = 2ndSplitImageAltText SET @2ndSplitImageLinkCoremetricsValue = 2ndSplitImageLinkCoremetrics SET @1stPaddingTopValue = 1stPaddingTop SET @1stPaddingBottomValue = 1stPaddingBottom SET @2ndPaddingTopValue = 2ndPaddingTop SET @2ndPaddingTopMobileValue = 2ndPaddingTopMobile SET @CenterCopyValue = CenterCopy SET @LeftCTAAltValue = LeftCTAAlt SET @OnTheLeftValue = OnTheLeft SET @CityValue = City SET @ApplicationEndpointValue = ApplicationEndpoint SET @ApplicationIdValue = ApplicationId SET @ApplicationSchemeValue = ApplicationScheme SET @ApplicationTokenValue = ApplicationToken SET @ApplicationSchemeGridValue = ApplicationSchemeGrid SET @LanguageValue = Language SET @MarketValue = Market SET @ApplicationDomainNameValue = ApplicationDomainName SET @ApplicationProductId1Value = ApplicationProductId1 SET @ApplicationProductId2Value = ApplicationProductId2 SET @ApplicationProductId3Value = ApplicationProductId3 SET @storyTellingAvailable = "True" ]%% %%=CONTENTBLOCKBYNAME("Content Builder\Development\Contents\Playground\Dynamic Communications\Offers\2 - Story Telling\sections\4 - rendering\story-telling-rendering-section-version1")=%%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment