12-15-2020 05:51 AM
Hello everybody,
i'd like to ask why is not executed my custom action (new button in DocLib and document detail). It is defined in share-config-custom.xml. I found out that the id of action element is a problem. My id was like my-custom-action. When i changed it to myCustomAction everything was working fine as expected. I'd like to ask why dash in id value is problem.
Thank you very much
12-15-2020 06:55 AM
Hi @jrautner
Can you provide the code where it wasn't working?
Thanks,
12-15-2020 07:32 AM
I dont think problem is of dash.
Please post the code how you are calling action.
Ref : https://blog.arvixe.com/create-javascript-actions-in-alfresco/
12-15-2020 09:09 AM
Thank you for your quick response.
Problem was something else. I can not identify what was it, but custom action works now.
Explore our Alfresco products with the links below. Use labels to filter content by product module.