cancel
Showing results for 
Search instead for 
Did you mean: 

Change content type after upload

joshaber
Champ on-the-rise
Champ on-the-rise
Hey all, is there a way to change a node's content type after uploading? Either programatically or with a rule or…?

Thanks!
15 REPLIES 15

chandu7ee
Champ in-the-making
Champ in-the-making
hey

good one., but here i need to do the same thing in share, while uploading a document  in share i need to add some aspects directly  to that document., how can i do it.

for example i need to add cm:classifiable aspect to the every document in share while uploding it. can u give the steps to do it.



thanks & regards
Chandu

jzulu2000
Champ in-the-making
Champ in-the-making
Hi

When you add a document into Share, the document is stored in Alfresco; you can create a rule that adds the cm:classifiable aspect when documents are created in space or sub-spaces; if you want to add aspect and put some default values into document properties, maybe you can make a script and create the rule to use such script.

chigabiga
Champ in-the-making
Champ in-the-making
I have my custom content types in alfresco.
How can I add it in "change type" dialog items in share?

chandu7ee
Champ in-the-making
Champ in-the-making
I have my custom content types in alfresco.
How can I add it in "change type" dialog items in share?


hey goto <tomcat>\shared\classes\alfresco\web-extension

rename the share-config-custom.xml.sample to share-config-custom.xml  then search for <types> add your coustom type in that,  restart the server.

and then login to share. then u will get a option to select type in dropdown.

chigabiga
Champ in-the-making
Champ in-the-making
Danke, chandu7ee

maps
Champ in-the-making
Champ in-the-making
Hi,

There is a quicker way to upload files with custom types in Alfresco Share.
The solution consists in selecting the document type when uploaing it as in Alfresco Explorer.

You can refer to this article for more details on how to add the "Content type" field to the Alfresco Share upload form: 

http://www.iptech-offshore.net/blog/2010/06/15/alfresco-share-tip-content-type-selection-when-upload...