cancel
Showing results for 
Search instead for 
Did you mean: 

Best Practice on Content Modelling -- Other Party

ipirat
Champ in-the-making
Champ in-the-making
Hi,

I'm quite new to Alfresco. My use case is basically as follows: the documents have one (rarely none or several) "other parties"
(imagine an invoice as document and the vendor as "other party")

I'd like to link the document with the "other party" Some basic Ideas that came to mind:

<ul>
<li>just tagging the documents using one tag per party. maybe using some namespace in the tags: otherParty:vendorX, otherParty:vendorY => I expect a maintenance nightmare, and there is no information attached at the tag about the vendorX or vendorY

<li>using categories is maybe slightly more structured, but other than that, it has the same features and drawbacks as Tagging

<li>I thought about data lists => there only seems to be a small list of "templates" for data lists (but I assume, I can model my own entities) but I didnt find a way to link a document to one or several entries in a data list.

</ul>

what is the best practice to model such a scenario in Alfresco?
4 REPLIES 4

kaynezhang
World-Class Innovator
World-Class Innovator
I think you can dynamic LIST constraint,please refer to Jean Barmash,s blog here
https://forums.alfresco.com/forum/general/non-technical-alfresco-discussion/jean-barmash-blog-032120...

mrogers
Star Contributor
Star Contributor
Your question was about content modeling.   To investigate further you need to work out what you want to do with your vendor.

You need to think about the purpose of your application.   For example, do you want to just see the vendor name(s) when opening a document?
Or do you want to do things like list all documents for a vendor or delete the vendor if there are no documents.

I'd start by using an association between the document and the vendor.   But  you need much more thinking about your requirements.

ipirat
Champ in-the-making
Champ in-the-making
Absolutely. The main purpose is to accually associate the documents with the relevant parties
to be able to run searches / selecting documents.
For example, to get all documents associated with a certain party.
Or adding other critaria (like certain date range or category)

"statistical" evaluation (like number of documents per year or deliting vendors without documents) is not necessary.

<blockquote>
I'd start by using an association between the document and the vendor
</blockquote>

That'd be great. How can I achieve this. Maybe I just missed the correct starting point in the tutorials?

Thanks!

ipirat
Champ in-the-making
Champ in-the-making
In the meantime, I went through Jeff Potts tutorial here:
http://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html
and came up with my model.

The association is the way to go (now I use the term "association" in the Alfresco sense. When I read your post for the first time, the word "association" just had the English meaning for me)




Getting started

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.