Hi all,

1) I would like to know how to hide the button " New Document " when there
is no document type available for creation ?
  With " Import a file"  :
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="actions">
    <!-- Enleve le bouton importer -->
    <action id="newFile" link="create_file" enabled="false"
      label="action.new.file" icon="/icons/action_add_file.gif">
    </action>
  </extension>



2) And I would like to know how to recover the "labels" of the message's
table to link for a create document :

create_doc(documentManager, "Contexte", root_path,"label.contexte.folder", "
label.to.be.put");

With :

label.contexte.folder
or
"label.contexte.folder"

It doesn't work.


Thx.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to