cancel
Showing results for 
Search instead for 
Did you mean: 

Content model for movie trailer with posters?

hungnd
Champ in-the-making
Champ in-the-making
Hi,

I'm creating a portal for movie trailers. At the backend i want to implement the repository with Alfresco.

For each movie i want to upload at least 3 posters for them. Please tell me what is the best content model for this requirement.

The posters should be properties of the movie type? Then how do i upload binary file for properties in the Share interface?

Or posters should be assets and 'movie' should be the property of the poster?


Thank you very much!
I'm sorry for may foor English.

Best regards,
2 REPLIES 2

jpotts
World-Class Innovator
World-Class Innovator
Some things to think about…If you are going to use Alfresco Share for the primary user interface you should have one binary file with one object instead of multiple binary files with one object.

So, in this case, you want to associate multiple movie poster images with a single object, which is used to represent the movie.

There are multiple ways to do that. You could have a custom type for your movie and then use a custom association defined on that type to point to 0 or more movie poster objects. Each movie poster object could be an instance of cm:content or an instance of another custom type that represents movie posters.

Alternatively, you could have a folder that you add movie posters to. Then point to that folder with an association.

A third option is you could model the movie as a folder, and the movie posters are simply added to that folder. If you decide that the movie name is the name of the folder, you wouldn't have to have custom types at all. But I suspect you'll have additional metadata to track for the movie.

That gives you some options to think about. There is really no wrong answer, but the option you pick will have implications for the user interface, queries/search, and permissions.

Jeff

hungnd
Champ in-the-making
Champ in-the-making
Thank you Jeff

I would try the first way!
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.