cancel
Showing results for 
Search instead for 
Did you mean: 

Share Action to display Custom Aspects

kavilash23
Champ on-the-rise
Champ on-the-rise
Hi Guys,

I need to create a share action button which when clicked brings out a dialog box or form populated with certain custom aspects.

I need something similar to the share "Manage Aspects" button which brings out a dialog box with all aspects that have been configured to be visible in share-config-custom.xml.

I know onActionManageAspects function is called to do the processing but could not find where it is actually being defined.

Can someone please point me in the right direction?

Thanks,

Kavi

3 REPLIES 3

niketapatel
Star Contributor
Star Contributor
Hi Please check below files for OOB function - "onActionManageAspects"

1)Its defined in share-documentlibrary-config.xml located at - tomcat\webapps\share\WEB-INF\classes\alfresco
2)This is js function and its defined in actions.js located at - tomcat\webapps\share\components\documentlibrary
3)And this pop-up - DoclibAspects module is defined in aspects.js located at - tomcat\webapps\share\modules\documentlibrary

You can define new custom action in share-config-csutom.xml and js function can be defined in your custom client side js.

Hope its helpful

Thank you very much Niketa. You were very helpful.

niketapatel
Star Contributor
Star Contributor
You welcome,, all the best for it