Forum Discussion

Nitzan Goodman's avatar
Nitzan Goodman
Copper Contributor
Aug 15, 2016

Start workflow from a calculated column JavaScript button

I followed this great post by Danny Engelman:

https://sharepoint.stackexchange.com/questions/150787/can-i-add-a-start-workflow-link-to-a-column-in-a-list-view

Everything works great and when I click on the JavaScript button it dost initiate the worfklow. The problem is that it only works when I'm using the original list. When I try to add the list as a webpart on a different page, the button appears but nothing happens when I click on it. 

Any idea of how to fix it?

Thanks

2 Replies

  • Nitzan Goodman : You many get the good response from the Forms/xyx.aspx , because it will load receptive library/list actions.
    If you go for SitePages/Pages , it having the own js file their action, so you wont get the full functionality as expected in the original list.

    Suggestion is you may validate the action by give some test output after each action in the js button. Otherwise you turn on the developer tool what happen while click the button. Definitively the js will through some error in background. Check the error and try to fix it.