06-30-2009 09:51 AM
->cm:content
->me:doc
->me: Invoices (properties : idFirm, idInvoice)
->me:Invoices_Debtor
->me:Invoices_Creditor (properties : BVR)
(me:doc is child of cm:content, …)->cm:content
->me:doc
->me:school
->me:notes (properties : year)
->me:finalExam
->me:halfYear (properties : month)
(me:doc is child of cm:content, …)Here I have regrouped the notes under school which have no properties. If I have a new type of document concerning school, I can easy put it under me:school and my model keep a logical structure in Tree.06-30-2009 03:00 PM
07-01-2009 03:13 AM
->cm:content
->me:doc (properties : idDocument, idFirm, year) //idFirm used for Finances document and year for school documents
->me: Invoices (…)
->me:Invoices_Debtor
->me:Invoices_Creditor (properties : BVR)
->me:notes (…)
->me:finalExam
->me:halfYearExam (properties : month)->cm:content
->me:doc (properties : idDocument) //idFirm will be used for Finances document and year just for school documents
->me:Invoices_Debtor
->me:Invoices_Creditor
->me:finalExam
->me:halfYear
Aspects :
->me:invoice (idFirm, Bvr)
->me:school (properties : year, month, …)
In this method I also have empty properties (aspect contains all properties for specialised documents), but it's limited… But, when a user create a document, he always needs to add an aspect… :!: [size=85] UPDATE : This is wrong. As say after by Jeff Potts, we can make the aspect mandatory for that type so that the users/coders won't have to worry about making sure it is always added.07-01-2009 04:10 AM
07-01-2009 05:39 AM
->cm:content
->finance:doc (properties : idFirm, idDocument)
->finance:Invoices (…)
->finance:Invoices_Debtor
->finance:Invoices_Creditor (properties : BVR)
Model School
->cm:content
->school:doc (properties : idDocument)
->school:notes (properties : year)
->school:finalExam
->school:halfYear (properties : month)
07-03-2009 03:05 AM
Consider implementing an enterprisewideSource : http://ecmarchitect.com/images/articles/alfresco-content/content-article.pdf
root type. Although the need for a common ancestor
type is lessened through the use of aspects, it still might be a good idea to define an enterprisewide
root content type from which all other content types in the repository inherit if for no other
reason than it gives content managers a “catchall”
type to use when no other type will do.
07-08-2009 09:57 AM
07-09-2009 05:31 AM
->cm:content
->me:doc (properties : idDocument)
->me:financial (properties : idFirm)
->me:Invoices (properties : idCustomer (mandatory Aspect))
->me:Invoices_Debtor
->me:Invoices_Creditor (properties : BVR)
->me:Salary (properties : idEmploy (mandatory Aspect))
->me:Orders (properties : idEmploy (mandatory Aspect), idCustomer (mandatory Aspect))
->me:…
->me:school
->me:notes (properties : year)
->me:finalExam
->me:halfYear (properties : month)
->me:…
Aspects :
->me:customer (idCustomer)
->me:employ(idEmploy)
me:doc is child of cm:content, …)
see no reason to have two separate models in this caseWould be it cleaner to create 3 models ? Than having one file.xlm with all inside. I don't know if there is some impact on performance…:?:
07-13-2009 10:13 AM
08-13-2009 01:04 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.