Hi
Is it possible to add a custom action to a new doclib menu? I mean, showing a form where fill in some data and once the user clicks submit button create a new document with the information introduced by the user.
Thanks and regards.
Yes, you can create custom action on a folder using which you can ask for details from the user using form fields and create a document. Please refer https://docs.alfresco.com/5.2/tasks/dev-extensions-share-tutorials-add-action-doclib.html
Regards,
Kintu
Thanks Kintu for your help. I've read that tutorial and I've implemented the action class java. However, I don't know how to link that action to a doclib menu (create).
User should expand the "create" menu and select for example "Create customer". It is showed a form to fill in some customer data (name, address, etc) and when user click un buttons "submit" the form should call the action bean in order to pick the data up and create a specific document.
I don't know you have gone through this https://docs.alfresco.com/6.1/tasks/dev-extensions-share-tutorials-add-menuitem-create-menu.html but it has all you need.
Regards,
Kintu
Yes, I've read that tutorial. However, it explores the directly creation of a document. Instead call a form but I can't see how to modify the submit button in order to call an action. I'm finding something similar to: https://community.alfresco.com/thread/239522-how-use-pagelink-to-call-a-action-backend
Thanks and regards.
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.