cancel
Showing results for 
Search instead for 
Did you mean: 

What does it mean when SHARE knows the custom content model but Explorer doesn't?

ustamills
Champ in-the-making
Champ in-the-making
I have tried following Jeff Potts tutorial about creating custom content models.  It seems to work in Share.  I created a rule for a folder so that anything dropped there was defined as an "invoice".  When editing the rules in share all my custom content types are available.

When I go to explorer, I cannot see any of those custom content types.  I can edit the rule and the description says that any document is set to the "null" type.  If I try to use the content type dropdown in the rule editor, it's empty.  But the rule editor in Share works.

So Explorer and Share aren't seeing them the same way.  Any ideas what would cause that?  I'm not seeing any blatant errors in the logs.

—————————
And one POSSIBLY related thing: Could this stop localization from working?  I'm pretty sure I copied his example very carefully and put it in all the right directories.  But my SHARE forms all show custom content with those ugly names. Could this be coming from an Exlorer problem (or maybe it's just the Alfresco server?)
3 REPLIES 3

kaynezhang
World-Class Innovator
World-Class Innovator
You should customize explorer to display you custom type,The file you will use to customize the web client UI is web-client-config-custom.xml which is located in the extension folder in \tomcat\shared\classes\alfresco\extension location.

add following code to your web-client-config-custom.xml

<alfresco-config>
   <config evaluator="string-compare" condition="Content Wizards">
      <content-types>
         <type name="prefix:typename" />
      </content-types>
   </config>
</alfresco-config>

ustamills
Champ in-the-making
Champ in-the-making
Thank you!  I was under the mistaken impression that creating the custom content model in Alfresco made it available in Explorer and it was only in Share that you had to do special work to reveal it.

Again, thanks.

kaynezhang
World-Class Innovator
World-Class Innovator
deploying a content model only makes repository aware of you model.
If you want to make content type available in no matter which UI(explorer or share ),you should customize UI config to make UI aware of content type.