<?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: Requirement for hiding some styles of a component which is included in other components. in Adobe Experience Manager Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538938#M133865</link>
    <description>&lt;P&gt;IMO, you should not do this. This is anyways giving your authors lot more flexibility and if other brands/sites likes new style they can opt for it without any extra development effort.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should try to push back on this requirement.&lt;/P&gt;
&lt;P&gt;OUr comonents should be flexible we should not create componets specific to a need rather make it general so that it can be used at multiple places, this will help you to have a limited no. of components which inturn is beneficial for customer only.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Aug 2022 05:37:18 GMT</pubDate>
    <dc:creator>tusharbias</dc:creator>
    <dc:date>2022-08-03T05:37:18Z</dc:date>
    <item>
      <title>Requirement for hiding some styles of a component which is included in other components.</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538937#M133864</link>
      <description>&lt;P&gt;Consider this scenario, I have a CTA component with style system having styles namely, &lt;EM&gt;system style A, style B, style C&lt;/EM&gt;&lt;BR /&gt;I have a teaser component, which includes the above CTA component through a data-sly-resource.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Now,&amp;nbsp;I have&amp;nbsp; a requirement where I need to display only style A, style B for the CTA added in teaser via data-sly-resource But not style C.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Is there any possibility to achieve this? Have anyone had chance to tackle this scenario before?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 05:30:02 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538937#M133864</guid>
      <dc:creator>Syed_Abdul_Kare</dc:creator>
      <dc:date>2022-08-03T05:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Requirement for hiding some styles of a component which is included in other components.</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538938#M133865</link>
      <description>&lt;P&gt;IMO, you should not do this. This is anyways giving your authors lot more flexibility and if other brands/sites likes new style they can opt for it without any extra development effort.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should try to push back on this requirement.&lt;/P&gt;
&lt;P&gt;OUr comonents should be flexible we should not create componets specific to a need rather make it general so that it can be used at multiple places, this will help you to have a limited no. of components which inturn is beneficial for customer only.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 05:37:18 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538938#M133865</guid>
      <dc:creator>tusharbias</dc:creator>
      <dc:date>2022-08-03T05:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Requirement for hiding some styles of a component which is included in other components.</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538965#M133866</link>
      <description>&lt;P&gt;Technically it's possible by using different policies [1] for CTAs, one global policy for CTA, and another for CTA below Teaser.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your policy, configure the styles you need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[1]&amp;nbsp;&lt;A href="https://experienceleague.adobe.com/docs/experience-manager-64/forms/administrator-help/work-with-document-security/creating-policies.html?lang=en" target="_blank"&gt;https://experienceleague.adobe.com/docs/experience-manager-64/forms/administrator-help/work-with-document-security/creating-policies.html?lang=en&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 06:49:32 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538965#M133866</guid>
      <dc:creator>Mohit_KBansal</dc:creator>
      <dc:date>2022-08-03T06:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Requirement for hiding some styles of a component which is included in other components.</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538969#M133869</link>
      <description>&lt;P&gt;&lt;LI-USER uid="1585132"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Agreed with&amp;nbsp;&lt;LI-USER uid="17518938"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&amp;nbsp; You can also have different policies if component is embedded in another component&lt;/P&gt;
&lt;P&gt;&lt;A href="https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-define-policy-for-nested-container-component/td-p/392712" target="_blank"&gt;https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-define-policy-for-nested-container-component/td-p/392712&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 08:16:46 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538969#M133869</guid>
      <dc:creator>arunpatidar</dc:creator>
      <dc:date>2022-08-03T08:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Requirement for hiding some styles of a component which is included in other components.</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538979#M133878</link>
      <description>&lt;P&gt;My scenario is, I have a teaser component. in teaser.html, I am including the cta with below code snippet.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;div class="cta" data-sly-resource="${@ path='cta', resourceType='cah-corp/components/content/cta/v1/cta', decoration=true}"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I cannot add&amp;nbsp;cq:policy='cah-corp/components/content/carousel/v1/carousel/cah-corp-cta-policy' to this tag, Can you please rewrite and help me how i can achieve if i am including direct component.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 09:01:39 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538979#M133878</guid>
      <dc:creator>Syed_Abdul_Kare</dc:creator>
      <dc:date>2022-08-03T09:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Requirement for hiding some styles of a component which is included in other components.</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538984#M133883</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You need to create another policy for this.&lt;/P&gt;
&lt;P&gt;Why you can't add another policy?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 09:19:58 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538984#M133883</guid>
      <dc:creator>arunpatidar</dc:creator>
      <dc:date>2022-08-03T09:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Requirement for hiding some styles of a component which is included in other components.</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538986#M133884</link>
      <description>&lt;P&gt;Thats new policy only i have added. Just for your clarity i did the below things.&lt;BR /&gt;&lt;BR /&gt;Created a new policy for cta, Which has only those required styles needed in teaser CTA.&lt;BR /&gt;And now i dont know how i can use this policy for only that teaser CTA.&amp;nbsp;&lt;BR /&gt;This is how i have added the cta in a teaser.html&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;div class="cta" data-sly-resource="${@ path='cta', resourceType='cah-corp/components/content/cta/v1/cta', decoration=true}"&amp;gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Now my question is, How can i use that new policy while adding the cta in teaser.html&lt;BR /&gt;Is it even possible?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 09:57:00 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538986#M133884</guid>
      <dc:creator>Syed_Abdul_Kare</dc:creator>
      <dc:date>2022-08-03T09:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Requirement for hiding some styles of a component which is included in other components.</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538996#M133890</link>
      <description>&lt;P&gt;&lt;A href="https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-develop/project-archetype/style-system.html?lang=en" target="_blank"&gt;https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-develop/project-archetype/style-system.html?lang=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;check this out you can add different styles to your component and apply accordingly.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 11:40:48 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/538996#M133890</guid>
      <dc:creator>Varun_Shakya</dc:creator>
      <dc:date>2022-08-03T11:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Requirement for hiding some styles of a component which is included in other components.</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/539001#M133891</link>
      <description>&lt;P&gt;You need to do it like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;teaser cq:policy="myapp/components/content/table/policy_myapp_table_all"jcr:primaryType="nt:unstructured"sling:resourceType="wcm/core/components/policies/mapping"&amp;gt;
                &amp;lt;cah-copr jcr:primaryType="nt:unstructured"&amp;gt;
                    &amp;lt;components jcr:primaryType="nt:unstructured"&amp;gt;
                        &amp;lt;content jcr:primaryType="nt:unstructured"&amp;gt;
                            &amp;lt;cta jcr:primaryType="nt:unstructured"&amp;gt;
                               &amp;lt;v1 jcr:primaryType="nt:unstructured"&amp;gt;
                                  &amp;lt;cta cq:policy="myapp/components/content/cta/policy_myapp "jcr:primaryType="nt:unstructured"sling:resourceType="wcm/core/components/policies/mapping"/&amp;gt;
                        &lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 03 Aug 2022 12:20:58 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/requirement-for-hiding-some-styles-of-a-component-which-is/m-p/539001#M133891</guid>
      <dc:creator>arunpatidar</dc:creator>
      <dc:date>2022-08-03T12:20:58Z</dc:date>
    </item>
  </channel>
</rss>

