Previously saved Layout Block used with Reference Content Block in a CloudPages Content Builder Landing Page exposes code on a published page
Last updated 2021-03-02 ·Reference W-5749714 ·Reported By 6 users
Using a reference content block and pulling in a layout content block on a CloudPage (Content Builder Landing Page) exposes slot/block code on a published page
1) In Content Builder, create Create > Content Blocks and select Layout.
2) Choose a content layout style, e.g. Two Column and press Select.
3) Add content to the Layout, e.g. drag a Text block and a button block and change the text and button name for respective blocks
4) Save and title the Layout block.
5) In Web Studio > CloudPages, create a Landing Page and set the Editor to Content Builder.
6) Drag a Reference Content block to the Landing Page and select the Layout content block created in step 4.
7) Publish the page and navigate to the published page
Additional code (slot and block details) is visible around the content in each block.
1) Use a regular layout block and drop reference content block(s) on it - will work with all previously saved blocks except Layout block
2) Do not use reference content block and instead drop the previously saved blocks directly on to the page - works with all blocks including reference content block.
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.