How to restrict the rollout of sling:resourcetype property to certain blueprints ? | Community
Skip to main content
Level 4
December 17, 2022
Question

How to restrict the rollout of sling:resourcetype property to certain blueprints ?

  • December 17, 2022
  • 1 reply
  • 614 views

How to rollout sling:resourcetype property from master copy of a blue brint to it's live pages but that master copy should not inherit the resourctype value from it's own blueprint?

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Himanshu_Singhal
Community Advisor
Community Advisor
December 18, 2022

Hi @chinmayish 

1st part of your question makes sense where you want rollout sling:resourceType property from master to live copies which is general case. When you rollout from master copy, it's going to rollout components (along with its properties) to live copies.

What I'm unable to understand is 2nd part of question where you ask "master copy shouldn't inherit from its own blueprint" - does that mean you've either multiple master copies where one of the master copy is in live relationship with another master (let's call it parent master). Is that the case?

Also, if that is the case, then may I ask the reason for having multiple master copies? 

Correct me if I've misunderstood. 

Best regards,
Himanshu Singhal

Level 4
December 19, 2022

Hi @himanshu_singhal ,

 

Thank you for the reply.

 

We have got corporate sites and dealer sites. Corporate site is the blue print of dealer master,  dealer master is the blue print of dealer- single.

The sling:resourceType property value should get copied from dealer-master to dealer-single when rolled out but not when rolledout from corporate site to dealer master because the resourceType is different for the dealer sites.

 

Kind regards,

Chinmayi