AnsweredAssumed Answered

Selected items + form

Question asked by kamilaw. on Sep 12, 2017
Latest reply on Sep 13, 2017 by kamilaw.

I have 

   <action type="action-link" id="onEdit" permission="Write" label="multi-edit-document.edit" />

Than I have js maps to this action. It works fine. 


I need to create my own form. How to do this?

 I try create in share-config-custom own form with id onEdit. 

<config evaluator="string-compare" condition="onEdit">


And in the js:


var templateUrl = YAHOO.lang.substitute(Alfresco.constants.URL_SERVICECONTEXT + "components/form?itemKind={itemKind}&itemId={itemId}&destination={destination}&mode={mode}&submitType={submitType}&showCancelButton=true", {
itemKind: "action",
itemId: "onEdit",
mode: "edit",
submitType: "json",
destination: nodeRef }); 

But it is still writing: A form could not be found for item: [action]onEdit.



What is wrong? Thanks.