<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to fetch the values from multifield child nodes by using HTL? in Adobe Experience Manager Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-fetch-the-values-from-multifield-child-nodes-by-using-htl/m-p/461542#M133127</link>
    <description>&lt;P&gt;&lt;LI-USER uid="17549566"&gt;&lt;/LI-USER&gt;&amp;nbsp;Its recommonded to use sling model&amp;nbsp;&lt;SPAN&gt;to get the list and then use it in the HTL file accordingly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can use&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;@ChildResource&lt;BR /&gt;private &amp;lt;ClassName&amp;gt; &amp;lt;objName&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jul 2022 10:03:37 GMT</pubDate>
    <dc:creator>ManuMathew1994</dc:creator>
    <dc:date>2022-07-19T10:03:37Z</dc:date>
    <item>
      <title>How to fetch the values from multifield child nodes by using HTL?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-fetch-the-values-from-multifield-child-nodes-by-using-htl/m-p/461508#M133121</link>
      <description>&lt;P&gt;i have multifield component and the property (composite=true) so its storing the values one by one like nodes, without using sling model is there any way to get values from those nodes like using htl(sightly).&lt;/P&gt;&lt;P&gt;i tried myself when this component have property (composite=false) so its storing the values in string array format and i used this one...its working but dont know for (composite=true)...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;label: ${resource.label}&amp;lt;br&amp;gt;&lt;BR /&gt;number:${resource.number}&lt;/P&gt;&lt;P&gt;&amp;lt;div data-sly-resource="${'/content/training/homepage/jcr:content/parsys/multifieldcomponentt' }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 07:42:53 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-fetch-the-values-from-multifield-child-nodes-by-using-htl/m-p/461508#M133121</guid>
      <dc:creator>mrmachi</dc:creator>
      <dc:date>2022-07-19T07:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch the values from multifield child nodes by using HTL?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-fetch-the-values-from-multifield-child-nodes-by-using-htl/m-p/461531#M133124</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17549566"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you are creating any component with multifield (composite = true) &lt;SPAN&gt;It would be easier to create either a Sling Model or Java / Javascript Use API class to get the list and then use it in the HTL file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, if you want to access them through HTL you can refer this article where it will differentiate the usage of multifield using sling models/ only through pure HTL.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://levelup.gitconnected.com/aem-how-to-use-nested-multifields-in-your-components-using-a-sling-model-vs-pure-htl-92ff8d036ba1" target="_blank"&gt;https://levelup.gitconnected.com/aem-how-to-use-nested-multifields-in-your-components-using-a-sling-model-vs-pure-htl-92ff8d036ba1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 09:52:09 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-fetch-the-values-from-multifield-child-nodes-by-using-htl/m-p/461531#M133124</guid>
      <dc:creator>sravs</dc:creator>
      <dc:date>2022-07-19T09:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch the values from multifield child nodes by using HTL?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-fetch-the-values-from-multifield-child-nodes-by-using-htl/m-p/461542#M133127</link>
      <description>&lt;P&gt;&lt;LI-USER uid="17549566"&gt;&lt;/LI-USER&gt;&amp;nbsp;Its recommonded to use sling model&amp;nbsp;&lt;SPAN&gt;to get the list and then use it in the HTL file accordingly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can use&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;@ChildResource&lt;BR /&gt;private &amp;lt;ClassName&amp;gt; &amp;lt;objName&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 10:03:37 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-fetch-the-values-from-multifield-child-nodes-by-using-htl/m-p/461542#M133127</guid>
      <dc:creator>ManuMathew1994</dc:creator>
      <dc:date>2022-07-19T10:03:37Z</dc:date>
    </item>
  </channel>
</rss>

