Content block | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SatheeskannaK
SatheeskannaKAccepted solution
Level 1
Sep 9, 2020 6:59 PM UTC

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

2 replies

New Participant
Mar 8, 2023 9:25 AM UTC

@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' %> <%} %>

 

 

 

 

Translate
SatheeskannaK
SatheeskannaKAccepted solution
Level 1
Sep 9, 2020 6:59 PM UTC

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

Translate
Thanks, Sathees