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.