cancel
Showing results for 
Search instead for 
Did you mean: 

upload documents of two different content types into a spac

shikarishambu
Champ in-the-making
Champ in-the-making
I have a custom content model that has three or 4 custom content types.

mycontent (derived from cmSmiley Happy
-mysubcontent (derived from mycontent)
-…

I need to upload documents of two different content types into a space. I believe the way to load is to have a rule that specializes the content to a specific type. This works if the space only will have one content type. How do I handle two or more content types in the same space?

TIA
5 REPLIES 5

zladuric
Champ on-the-rise
Champ on-the-rise
Why not simply having two rules?

shikarishambu
Champ in-the-making
Champ in-the-making
The source application knows the type of document, alfresco has no way of discerning the type. I will have to replicate the function/knowledge that the source app has in Alfresco. I would rather find a way to tell alfresco while uploading the document type of the document.

zladuric
Champ on-the-rise
Champ on-the-rise
Can you add a metadata bit where you will specify the document type? Is there anything that you can use to recognize one document from another? Like, a name, author meta tag, mimetype, file extension, whatever?

mdutoo
Champ on-the-rise
Champ on-the-rise
Hi

What do you mean by "upload" ? File system upload ?

One idea : have two "inbox" spaces, one for each document type, with an additional rule that moves them to a third space where they will actually reside together.

Regards,
Marc

zladuric
Champ on-the-rise
Champ on-the-rise
You can also detect the mimetype of the document, if this is relevant. If you say what you mean by different types of the documents, there could be other options too.