One of the fab 40 templates, absence requests, exposes a link in the request data view that allows you to kick off the Accept/Reject workflow with single click. How do you do that?
Stump the Panel » SharePoint Workflow for All Users
Executing a workflow directly from a list view
(2 posts)-
Posted 3 days ago #
-
It is just a hyperlink in a dataview web part that points directly to the approve/reject screen for that item.
<a href="Workflows/ApproveReject/ApproveReject.aspx?ID={@ID}&List={$ListID}" onclick="javascript:this.href = unescapeProperly(escape(this.href)); GoToLink(this); return false;" target="_self">Approve/Reject</a>
The above code is taken directly from the dataview web part.
Posted 2 days ago #
Reply
You must log in to post.