cancel
Showing results for 
Search instead for 
Did you mean: 

how to associate user's comments to a content

sapo
Champ in-the-making
Champ in-the-making
Hi everyone,

I need some help in this. It's about an architectural matter in a project that I'm involved.

I need to create a content type called News, which it'll have three fields (title,
subtitle and body). Registered Users can make comments about these News in Alfresco's generated web portal (like classic user comments in blogs). These Users aren't Alfresco users, they belong to the web portal generated by Alfresco. In addition, user commments are not visible until, let's say, a "Comment Revisor" verifies and aprove it. Besides, I have a defined workflow which take care about comment aproval (it can be rejected if inappropiate language is used, for example).

I have the following doubts:
`
1) It's convenient to represent comments a as new Content type?. In this case every time that a Comment is created, we need to call an Alfresco Service from the web portal to create a new content of type Comment.

2) It's covenient to represent web portal's users as a new Content type, so I can associate them to a news's comments?. If the answer is no, the following question appears. An association between a content type and a database row it's possible?. In this way the could associate the Comment content type and a web portal User that resides in our database.

Greetings and thanks in advance.

Martín.-
2 REPLIES 2

theorbix
Confirmed Champ
Confirmed Champ
Regarding the first question, I would say that yes, it makes sense.

I've not fully understood the second question: are you thinking to catalog your portal users as entities in the Alfresco repository?

sapo
Champ in-the-making
Champ in-the-making
Thanks for your reply.

The answer is yes, but I have decided the following:

I'll have an different application to manage the user information such as comments over Alfresco contents.

Martín.-