AnsweredAssumed Answered

simple configuration my-config-custom.xml fails

Question asked by anita.platos on Aug 29, 2013
Latest reply on Sep 2, 2013 by anita.platos
I´m trying to do something very simple and basic that it doesn´t work. I have made the my-typeModel.xml that installs OK in the alfresco CORE, like this:

   <type name="cstm:my-document">
   <title>My document</title>
         <association name="cstm:myattached">

My problem is when I want to manage it in the Share. I have a couple of problems:

  1. I want to introduce the cm:name in the creating interface data entry. It doesn´t work using the way below
  2. I want to upload the document using the simple disk explorer - not the association.ftl -, I have tried with, html-upload.get.html.ftl, file-upload.get.html.ftl, flash-upload.get.html.ftl….and I´m getting crazy!. Is it so difficult to find a simple "Disk Explorer Upload botton"?
  This is the code in my-custom.xml that I should have done wrong, but I don´t know where is the problem, somebody can help what's the right procedure?

  <config evaluator="string-compare" condition="DocumentLibrary" replace="true">
     <content id="" label="My type" type="pagelink" index="90" >
          <param name="page">create-content?destination={nodeRef}&amp;itemId=cstm:my-document</param>

  <config evaluator="model-type" condition="cstm:my-document">
                <show id="cm::name"/>
               <show id="cstm:myattached" />
                <field id="cm::name"/>    
               <field id="cstm:myattached">
                     <control template="/org/alfresco/components/form/controls/association.ftl"/>