Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Style variants and targeting

Avatar

Level 2

HI All, 

 

I am trying to setup activity with two experiences. Experiences differ in component styles. For example, showing a teaser component with o round image variant or simple card mode. This need to be achieved from style system and pre-defined styles on teaser component. 

 

Problem is when I go into targeting mode style icon is not available on the component. How to achieve this ? 

 

PiotrR_0-1667563359276.png

PiotrR_1-1667563371625.png

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

I don't think so towards targets it will work.

The reason is styles are stored within the policy node, not in the content, so target may not be able to resolve.

 

I would suggest to add this style option the the teaser component itself.



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

I don't think so towards targets it will work.

The reason is styles are stored within the policy node, not in the content, so target may not be able to resolve.

 

I would suggest to add this style option the the teaser component itself.



Arun Patidar