Best Practice on Content Modelling -- Other Party
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2014 06:55 AM
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?
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?
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2014 11:24 PM
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...
https://forums.alfresco.com/forum/general/non-technical-alfresco-discussion/jean-barmash-blog-032120...
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2014 06:07 AM
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.
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2014 05:41 AM
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!
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!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2014 03:43 AM
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)
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)
