cancel
Showing results for 
Search instead for 
Did you mean: 

Share: how to have a context to create 'master datas' and 'extended datas' by context

hoteia
Champ in-the-making
Champ in-the-making
Hi,

I'm a noob on Alfresco and i don't know the whole architecture.

Env:
Alfresco Community last one, 4.2.e
Tomcat / MySQL

My goal:
Create some default and specific CMS contents fetch/sync by OpenCMIS for my opensource Ecommerce https://github.com/qalingo/

Use Case:
The user create some "specific" content in the "repository" for a "context" which is defined by a "market" a "retailer" a "localization.
1) The user create a "default content" for "default market" / "default  retailer" / "default  localization".
2) The user create a "specific content" which override some parts of the "default market" for "specific market" / "specific retailer" / "specific localization".

Final Question:
What is the best way to organize and save contents with master and override values by context ?
Is it possible ?

I don't know if i'm clear Smiley Happy

Regards,



1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator
So it sounds like you will need a custom content model that adds properties to store market, retailer, and localization.

What I'm not clear on is how you want to handle the default/override. For example, when someone creates content, will you store the default values if the user chooses not to override them?

What happens later when the defaults change? Should those values change for any content that was created that did not override the default values?

Jeff