How to set a global property per site in a multi site manager ?

 

Question: We have several regional sites (Main, Asia, Europe, etc) for our company with different content. We wanted to set a property-value per site (like for Asia: customeruserorigin=ndc; Europe: customeruserorigin=connect; etc). How can we do that?

Answer: You can do in multiple ways

1st approach : Create a page property for a template at site page. So that property can be set at every site level

2nd approach : If you want to use it in OSGi, then create a OSGi configuration at each site and set this property

it depends on where and how you need to use the property.

Leave a Reply

Your email address will not be published. Required fields are marked *