Stump the Panel » SharePoint Workflow for All Users

Executing a workflow directly from a list view

(2 posts)

Tags:

  1. JohnM
    Member

    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?

    Posted 3 days ago #
  2. 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}&amp;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 #

RSS feed for this topic

Reply

You must log in to post.