cancel
Showing results for 
Search instead for 
Did you mean: 

Document types

roseta
Champ in-the-making
Champ in-the-making
I'm using Alfresco with my own customized document types in xml files, but when I try to add new content from the Alfresco Share interface, there is no documents types there? How could I migrate my content types to Alfresco Share? It's the same with my customized properties… Any ideas, please? Thanks!
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
There's no such thing as a "content type for Alfresco Share", so there's nothing to "migrate".

What you may need to do is to configure Share to display your custom types and properties.

roseta
Champ in-the-making
Champ in-the-making
Yes, I actually meant that! How can I configure it?

nikes
Champ on-the-rise
Champ on-the-rise
look at the share-config.xml <types> element.

You can add your custom type under this element.

roseta
Champ in-the-making
Champ in-the-making
Related to this post a very weird thing just happened to me:

I've modified the "C:\Alfresco\tomcat\webapps\share\WEB-INF\classes\alfresco\share-form-config.xml" file, in order to get my new metadata in the edit metadata form in Alfresco Share as in Alfresco Explorer, but when I delete the piece of code I've added to show the metadata (stop and start alfresco again) they're still there! Inbelievable, isn't it? Can anyone tell me how can I "undo" the showing of that customized metadata in the edit form? I want my metadata, but not in the "edit form" anymore! THANKS A LOT!!!

That's the piece of code I added and deleted:
 <!– Document Library pop-up Edit Metadata form ————————>
         <form id="doclib-simple-metadata">
            <field-visibility>
               <show id="cm:name" />
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
           
                <!–my code–>
             <show id="pro:alumnoM" force="true"/>
             <show id="pro:tutorM" force="true"/>
             <show id="pro:codigoPFC" force="true"/>
             <show id="pro:proyecto" force="true"/>
             <show id="pro:fechaInicioM" force="true"/>
             <show id="pro:convocatoria" force="true"/>
           
               <!– tags and categories –>
               <show id="cm:taggable" for-mode="edit" force="true" />
               <show id="cm:categories" />
            </field-visibility>