<?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 INCLUDE ONE COMPONENT WITHIN ANOTHER COMPONENT? in Adobe Experience Manager Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-include-one-component-within-another-component/m-p/463379#M133759</link>
    <description>&lt;P&gt;&lt;LI-USER uid="17473051"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;data-sly-resource&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;includes the result of rendering the indicated resource through the sling resolution and rendering process. It&amp;nbsp;&lt;SPAN&gt;helps include result of a resource from a path specified. The sling resolution and rendering process will process the indicated resource from path and result will be included.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;In your case you just have to use -&amp;nbsp;&lt;/P&gt;
&lt;DIV class="lia-quilt-row lia-quilt-row-message-main"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-main-content"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;
&lt;DIV class="content"&gt;
&lt;DIV id="bodyDisplay_c6d888f01d5fdc_0" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;&amp;lt;sly data-sly-resource="${'requestInfo' @ resourceType='path of &lt;SPAN&gt;request info component&lt;/SPAN&gt;'}"&amp;gt;&amp;lt;/sly&amp;gt;&lt;/P&gt;
&lt;P&gt;within the html of your&amp;nbsp;&lt;SPAN&gt;page-hero component.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;for more details fon HTLs:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://experienceleague.adobe.com/docs/experience-manager-htl/using/htl/block-statements.html?lang=en" target="_blank"&gt;https://experienceleague.adobe.com/docs/experience-manager-htl/using/htl/block-statements.html?lang=en&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-quilt-row lia-quilt-row-message-footer"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-08 lia-quilt-column-left lia-quilt-column-message-footer-left"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-left"&gt;
&lt;DIV class="level is-margin-top-big"&gt;
&lt;DIV class="level-left"&gt;
&lt;DIV class="level-item is-align-center"&gt;
&lt;DIV class="is-flex is-margin-right " data-stat="Views" data-value="7"&gt;
&lt;DIV class="u-tooltip-showOnHover is-flex is-align-center"&gt;
&lt;DIV class="spectrum-Tooltip spectrum-Tooltip--top"&gt;
&lt;DIV class="spectrum-Tooltip-tip"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Sat, 30 Jul 2022 12:19:54 GMT</pubDate>
    <dc:creator>ManuMathew1994</dc:creator>
    <dc:date>2022-07-30T12:19:54Z</dc:date>
    <item>
      <title>HOW TO INCLUDE ONE COMPONENT WITHIN ANOTHER COMPONENT?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-include-one-component-within-another-component/m-p/463359#M133748</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I need some help in &lt;U&gt;&lt;STRONG&gt;including a component inside another component.&lt;/STRONG&gt;&lt;/U&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the scenario:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. I have a page-hero component&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I have a request info component&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now &lt;STRONG&gt;I want to add this request-info component in the exact middle of page-hero&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone please help me out with the steps that I have to follow in order to achieve this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: I am very new to AEM and have been using it since the past 6-7 months.&lt;BR /&gt;&lt;BR /&gt;&lt;LI-USER uid="5042721"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;LI-USER uid="879119"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;LI-USER uid="6786635"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;LI-USER uid="1832459"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks in advance!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 21:30:08 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-include-one-component-within-another-component/m-p/463359#M133748</guid>
      <dc:creator>ac6600</dc:creator>
      <dc:date>2022-07-29T21:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INCLUDE ONE COMPONENT WITHIN ANOTHER COMPONENT?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-include-one-component-within-another-component/m-p/463362#M133750</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17473051"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can use &lt;EM&gt;data-sly-resource&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;data-sly-resource&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;includes the result of rendering the indicated resource through the sling resolution and rendering process.&lt;/P&gt;
&lt;P&gt;eg.&lt;/P&gt;
&lt;PRE&gt;&amp;lt;sly data-sly-resource="${resource @ resourceType='wcm/foundation/components/responsivegrid'}"&amp;gt;&amp;lt;/sly&amp;gt;
&lt;/PRE&gt;
&lt;P&gt;where "&lt;EM&gt;wcm/foundation/components/responsivegrid"&amp;nbsp;&lt;/EM&gt;is path to your component.&lt;/P&gt;
&lt;P&gt;Hope that helps!&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Santosh&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2022 01:31:18 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-include-one-component-within-another-component/m-p/463362#M133750</guid>
      <dc:creator>SantoshSai</dc:creator>
      <dc:date>2022-07-30T01:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INCLUDE ONE COMPONENT WITHIN ANOTHER COMPONENT?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-include-one-component-within-another-component/m-p/463370#M133755</link>
      <description>&lt;P&gt;Let's suppose I want to include &lt;STRONG&gt;image&lt;/STRONG&gt;&amp;nbsp;component inside hero-image component then I will use below htl code to include image component -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;sly data-sly-resource="${'image' @ resourceType='weretail/components/content/image'}"&amp;gt;&amp;lt;/sly&amp;gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2022 06:32:35 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-include-one-component-within-another-component/m-p/463370#M133755</guid>
      <dc:creator>DEBAL_DAS</dc:creator>
      <dc:date>2022-07-30T06:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INCLUDE ONE COMPONENT WITHIN ANOTHER COMPONENT?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-include-one-component-within-another-component/m-p/463379#M133759</link>
      <description>&lt;P&gt;&lt;LI-USER uid="17473051"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;data-sly-resource&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;includes the result of rendering the indicated resource through the sling resolution and rendering process. It&amp;nbsp;&lt;SPAN&gt;helps include result of a resource from a path specified. The sling resolution and rendering process will process the indicated resource from path and result will be included.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;In your case you just have to use -&amp;nbsp;&lt;/P&gt;
&lt;DIV class="lia-quilt-row lia-quilt-row-message-main"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-main-content"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;
&lt;DIV class="content"&gt;
&lt;DIV id="bodyDisplay_c6d888f01d5fdc_0" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;&amp;lt;sly data-sly-resource="${'requestInfo' @ resourceType='path of &lt;SPAN&gt;request info component&lt;/SPAN&gt;'}"&amp;gt;&amp;lt;/sly&amp;gt;&lt;/P&gt;
&lt;P&gt;within the html of your&amp;nbsp;&lt;SPAN&gt;page-hero component.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;for more details fon HTLs:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://experienceleague.adobe.com/docs/experience-manager-htl/using/htl/block-statements.html?lang=en" target="_blank"&gt;https://experienceleague.adobe.com/docs/experience-manager-htl/using/htl/block-statements.html?lang=en&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-quilt-row lia-quilt-row-message-footer"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-08 lia-quilt-column-left lia-quilt-column-message-footer-left"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-left"&gt;
&lt;DIV class="level is-margin-top-big"&gt;
&lt;DIV class="level-left"&gt;
&lt;DIV class="level-item is-align-center"&gt;
&lt;DIV class="is-flex is-margin-right " data-stat="Views" data-value="7"&gt;
&lt;DIV class="u-tooltip-showOnHover is-flex is-align-center"&gt;
&lt;DIV class="spectrum-Tooltip spectrum-Tooltip--top"&gt;
&lt;DIV class="spectrum-Tooltip-tip"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 30 Jul 2022 12:19:54 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-include-one-component-within-another-component/m-p/463379#M133759</guid>
      <dc:creator>ManuMathew1994</dc:creator>
      <dc:date>2022-07-30T12:19:54Z</dc:date>
    </item>
  </channel>
</rss>

