cancel
Showing results for 
Search instead for 
Did you mean: 

The link 'onActionView'does not work on the form 'dataGrid'

3snet
Champ in-the-making
Champ in-the-making
Hello everyone,

I currently work on customizing the module "DataList" and I want to change the "actionSet" located in the form "dataGrid" to display the action "View" in addition to actions by default: "Edit", "Delete" and "Duplicate".
To this I add the line "<action type="action-link" id="onActionView" permission="admin" label="actions.view" />" in file "datagrid.get.config.xml" .
Link added well as desired, but clicking on the link nothing happens.

Have you any idea why it does not work and if so thank you to tell me how and where to make the necessary changes.

Regards.
12 REPLIES 12

3snet
Champ in-the-making
Champ in-the-making
Should I also change it ?
Thanks.

3snet
Champ in-the-making
Champ in-the-making
Sorry, I return again to this subject. In fact, I changed the code section mentioned above, but I still can not open the form in "Read/View" mode.

Could you please give me a concrete example of what to do.

Thank you in advance for your help.

Thanks.

albertocursack
Champ in-the-making
Champ in-the-making
I believe you will have to change the -min as well since Alfresco won't notice the change.It will only read the minified version of js unless is in debug mode. Alfresco Share Extras sample project comes with the library and the build file. I recommend you to take a look http://blog.alfrescian.com/?p=95 where they have implement the view only to datalist…
Regars