For media groups with multiple tenants it's important to have a scalable and efficient solution. 

With this in mind, the themedescriptors inheritance in JSON was developed to extend the theme and layout for multiple tenants of one media group. This is especially useful when one media group has several Marfeel mobile sites that share a JSP overwrite. 

This prevents Marfeel developers from having to duplicate one change four different times for every subdomain. 

The attribute extends the theme and layout by first looking in the tenant and then the parent for the following:

  • JSP (for example, tenantColor.jsp)
  • layout attribute.

themeDescriptor.json

"name": "newspaperMarfeelAds",
"tenantName": "tenant.com",
"extends": "tenant.com",
"layouts": {
	"l": [
    	"layouts/newspaper/cover_2_3_sky.jsp",
        "layouts/newspaper/cover_3_sky300.jsp",
        "layouts/newspaper/cover_1_3_sky.jsp",
CODE