Can we apply placeholder settings for rendering variants?
Clash Royale CLAN TAG#URR8PPP
up vote
5
down vote
favorite
As SXA is supporting placeholder settings for different renderings, Is there any way that we can setup placeholder settings for rendering variants too for a single rendering?
sxa placeholders
add a comment |Â
up vote
5
down vote
favorite
As SXA is supporting placeholder settings for different renderings, Is there any way that we can setup placeholder settings for rendering variants too for a single rendering?
sxa placeholders
add a comment |Â
up vote
5
down vote
favorite
up vote
5
down vote
favorite
As SXA is supporting placeholder settings for different renderings, Is there any way that we can setup placeholder settings for rendering variants too for a single rendering?
sxa placeholders
As SXA is supporting placeholder settings for different renderings, Is there any way that we can setup placeholder settings for rendering variants too for a single rendering?
sxa placeholders
asked Aug 27 at 17:01
Manideep Yechuri
554
554
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
welcome to SSE.
The short answer is, yes you can. Here is the reference material: https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/add_a_dynamic_placeholder_to_a_rendering_variant
The longer answer:
- Add a placeholder to your rendering variant and add the
Placeholder Key
value. Make sure you do not add a dash to the key name - Go to your placeholder settings for your site
<siteroot>/Presentation/Placeholder Settings
and add a placeholder - In the
Data
section enter thePlaceholder Key
you just added into your rendering variant and suffix it with*
to make it dynamic. So if your key wasMyRenderingVariantPlaceholder
, you would enterMyRenderingVariantPlaceholder*
Now you can restrict the use of renderings by using the allows controls field like you would in other Placeholder Settings.
Thanks for the response @Richard. But what if we have already created a placeholder in Partial design and need to restrict a particular rendering variant of a component in that placeholder. Thanks
– Manideep Yechuri
Aug 28 at 7:05
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
welcome to SSE.
The short answer is, yes you can. Here is the reference material: https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/add_a_dynamic_placeholder_to_a_rendering_variant
The longer answer:
- Add a placeholder to your rendering variant and add the
Placeholder Key
value. Make sure you do not add a dash to the key name - Go to your placeholder settings for your site
<siteroot>/Presentation/Placeholder Settings
and add a placeholder - In the
Data
section enter thePlaceholder Key
you just added into your rendering variant and suffix it with*
to make it dynamic. So if your key wasMyRenderingVariantPlaceholder
, you would enterMyRenderingVariantPlaceholder*
Now you can restrict the use of renderings by using the allows controls field like you would in other Placeholder Settings.
Thanks for the response @Richard. But what if we have already created a placeholder in Partial design and need to restrict a particular rendering variant of a component in that placeholder. Thanks
– Manideep Yechuri
Aug 28 at 7:05
add a comment |Â
up vote
3
down vote
welcome to SSE.
The short answer is, yes you can. Here is the reference material: https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/add_a_dynamic_placeholder_to_a_rendering_variant
The longer answer:
- Add a placeholder to your rendering variant and add the
Placeholder Key
value. Make sure you do not add a dash to the key name - Go to your placeholder settings for your site
<siteroot>/Presentation/Placeholder Settings
and add a placeholder - In the
Data
section enter thePlaceholder Key
you just added into your rendering variant and suffix it with*
to make it dynamic. So if your key wasMyRenderingVariantPlaceholder
, you would enterMyRenderingVariantPlaceholder*
Now you can restrict the use of renderings by using the allows controls field like you would in other Placeholder Settings.
Thanks for the response @Richard. But what if we have already created a placeholder in Partial design and need to restrict a particular rendering variant of a component in that placeholder. Thanks
– Manideep Yechuri
Aug 28 at 7:05
add a comment |Â
up vote
3
down vote
up vote
3
down vote
welcome to SSE.
The short answer is, yes you can. Here is the reference material: https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/add_a_dynamic_placeholder_to_a_rendering_variant
The longer answer:
- Add a placeholder to your rendering variant and add the
Placeholder Key
value. Make sure you do not add a dash to the key name - Go to your placeholder settings for your site
<siteroot>/Presentation/Placeholder Settings
and add a placeholder - In the
Data
section enter thePlaceholder Key
you just added into your rendering variant and suffix it with*
to make it dynamic. So if your key wasMyRenderingVariantPlaceholder
, you would enterMyRenderingVariantPlaceholder*
Now you can restrict the use of renderings by using the allows controls field like you would in other Placeholder Settings.
welcome to SSE.
The short answer is, yes you can. Here is the reference material: https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/add_a_dynamic_placeholder_to_a_rendering_variant
The longer answer:
- Add a placeholder to your rendering variant and add the
Placeholder Key
value. Make sure you do not add a dash to the key name - Go to your placeholder settings for your site
<siteroot>/Presentation/Placeholder Settings
and add a placeholder - In the
Data
section enter thePlaceholder Key
you just added into your rendering variant and suffix it with*
to make it dynamic. So if your key wasMyRenderingVariantPlaceholder
, you would enterMyRenderingVariantPlaceholder*
Now you can restrict the use of renderings by using the allows controls field like you would in other Placeholder Settings.
answered Aug 27 at 17:08
Richard Seal♦
12.5k32155
12.5k32155
Thanks for the response @Richard. But what if we have already created a placeholder in Partial design and need to restrict a particular rendering variant of a component in that placeholder. Thanks
– Manideep Yechuri
Aug 28 at 7:05
add a comment |Â
Thanks for the response @Richard. But what if we have already created a placeholder in Partial design and need to restrict a particular rendering variant of a component in that placeholder. Thanks
– Manideep Yechuri
Aug 28 at 7:05
Thanks for the response @Richard. But what if we have already created a placeholder in Partial design and need to restrict a particular rendering variant of a component in that placeholder. Thanks
– Manideep Yechuri
Aug 28 at 7:05
Thanks for the response @Richard. But what if we have already created a placeholder in Partial design and need to restrict a particular rendering variant of a component in that placeholder. Thanks
– Manideep Yechuri
Aug 28 at 7:05
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f13548%2fcan-we-apply-placeholder-settings-for-rendering-variants%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password