sharepoint - Trigger workflow from CEWP button -


i have created site workflow, need trigger manually when button in content editor web part(cewp) clicked. how can trigger cewp? thanks.

you cant directly start workflows javascript ( inside cewp ) using 2010 client object model. can call web service:

https://www.nothingbutsharepoint.com/sites/eusp/pages/4-clicks-or-1-using-jquery-to-start-a-sharepoint-workflow.aspx

or use spservices

http://spservices.codeplex.com/wikipage?title=startworkflow&referringtitle=workflow


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -