I created a component that, for each created tab, brings a core component container using a data-sly-resource.
However, when I try to insert other components within it, the following error message appears:
'Paragraph create operation failed.'
How can I resolve this error? I will share the code snippet where it appears within my custom component."
<div data-cmp-is="block_tab" data-cmp-hook-block_tab="property" class="block_tab">
<sly data-sly-use.multifieldAccordion="${'block_tab.js' @ multifieldName='multifield'}"></sly>
<sly data-sly-test.configured="${multifieldAccordion}"></sly>
<div data-sly-test="${configured}" class="cmp-block_tabGroup">
<div class="wrap-header">
<div class="cmp-block_tabGroup__header">
<div class="cmp-block_tabGroup__header__tab" data-sly-repeat.item="${multifieldAccordion}">
<sly data-sly-test="${properties.showIcons == 'showIcon'}" data-sly-use.iconTemplate="/apps/ccrcanaisdigitais/components/block_tab/icons/${item.properties.tabicon}.html">
<sly data-sly-call="${iconTemplate.icon @ width='16', height='16'}"></sly>
</sly>
<p class="cmp-block_tabGroup__header__tab__title">${item.properties.tabname @ context='html'}</p>
</div>
</div>
<div class="cmp-block_tabGroup__arrows">
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8 14L2 8L8 2" stroke="#999999" stroke-width="2" stroke-linecap="square"/>
</svg>
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2 2L8 8L2 14" stroke="#666666" stroke-width="2" stroke-linecap="square"/>
</svg>
</div>
</div>
<div class="cmp-block_tabGroup__content">
<div class="cmp-block_tabGroup__panel" data-sly-repeat.itemContainer="${multifieldAccordion}">
<sly data-sly-resource="${itemContainer.properties.tabname @ resourceType='core/wcm/components/container/v1/container'}"></sly>
</div>
</div>
</div>
</div>
Solved! Go to Solution.
Views
Replies
Total Likes
@NathanVieira , If you are running this locally, you should be able to find the error.log under this folder in your AEM author folder - crx-quickstart\logs
Detailed information on logs in AEM is available here - https://experienceleague.adobe.com/docs/experience-manager-learn/cloud-service/debugging/debugging-a...
@NathanVieira , Can you please look into the error logs corresponding to this event. You should be able to spot the issue with that.
Similar error discussion :
How can I access the error logs of AEM? I couldn't find the correct way to do it.
@NathanVieira , If you are running this locally, you should be able to find the error.log under this folder in your AEM author folder - crx-quickstart\logs
Detailed information on logs in AEM is available here - https://experienceleague.adobe.com/docs/experience-manager-learn/cloud-service/debugging/debugging-a...
Views
Likes
Replies