cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Custom Actions on Datalists

roger16
Champ in-the-making
Champ in-the-making
Hello all,

I am able to successfully create a custom action on datalists. But I would like to know how to enable this custom action only for my custom list type. By default, it is enabled for all the list items.

Any help would be appreciated.

Thank you.
1 REPLY 1

roger16
Champ in-the-making
Champ in-the-making
I figured out which files (datagrid.get.html.ftl & datagrid.get.js) I need to modify. But I still don't know how to get the currently selected list type so that I can compare and then disable the action.

Can anyone please tell me how to get the currently selected list details? I can loop through all the available lists, but don't know how to get the currently selected list. I can get the id from the URL.

Thanks.