Could i call one Content block from another content block. Is it possible?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @navink386520,
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
Views
Replies
Total Likes
Hi @navink386520,
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
Views
Replies
Total Likes
@navink386520 ,
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' %>
<%}
%>
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies