I have
<multi-select>
<action type="action-link" id="onEdit" permission="Write" label="multi-edit-document.edit" />
</multi-select>
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">
<forms>
//something
</forms>
</config>
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.
It is the right way to do this? (Or do I have to create a webscript and create my own form in .ftl?)
Hi, Kamila
To create a custom form on custom action of document please refer the example from this doc will help you.
Adding new actions to the Document Library | Alfresco Documentation
Thanks,
Kalpesh
Thank you for your quick answer.
I read this articles about million times, but no answer.
Problem is, that there is no action, there is only multi-selected item.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.