Content block | Community
Skip to main content
Level 4
August 31, 2020
Solved

Content block

  • August 31, 2020
  • 2 replies
  • 1610 views

Could i call one Content block from another content block. Is it possible?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SatheeskannaK

Hi @navin_kumar0601,

 

Calling content block from another content block is not possible within ACS as of now. Refer this,

 

https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/content-blocks/td-p/325205

 

Thanks, Sathees

2 replies

SatheeskannaK
Community Advisor
SatheeskannaKCommunity AdvisorAccepted solution
Community Advisor
September 9, 2020

Hi @navin_kumar0601,

 

Calling content block from another content block is not possible within ACS as of now. Refer this,

 

https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/content-blocks/td-p/325205

 

Thanks, Sathees

Thanks, Sathees
March 8, 2023

@navin_kumar0601 ,

You can use this syntax to call a fragment within a content block.

 

 

<% if(context.targetData.brand == 'hello') {%> <%@include contentModelFragment='CMDL534' %> <%} else if(context.targetData.brand == 'world') {%> <%@include contentModelFragment='World_10' %> <%} else if(context.targetData.brand == 'working') {%> <%@include contentModelFragment='working_01' %> <%} %>