Posts

Showing posts with the label Workflows

SharePoint 2010: Approve/Reject dialog customization, show changed values

Image
SharePoint provide rich support for approval process. You can maintain version of changes, you can use built-in workflows or develop your own for approval process. You can even create custom workflow activities and use it in SharePoint Designer to create your own approval workflow. Unfortunately, SharePoint doesn’t provide a nice UI where approver can get a snapshot of what’s changes he’s going to approve/reject.  What we are familiar with the following UI: Figure 1: Very generic UI to approve/reject What if we could have a dialog as shown below: Figure 2: Custom Approve/Reject dialog with modification highlighted As shown in figure 2, the approver will have the better look of what’s the changes he’ll approve/reject. As shown in figure 2, the person who will approve/reject, can get a snapshot of what changes are waiting for his/her approval. What’s the cost of custom approve/reject dialog? Now the question comes what’s the development cost of such a custom approve/rej...

Copying/Moving SharePoint 2010 Designer Workflows

Most often, we required moving or copying a workflow that is created using SharePoint designer between sites or site collections. This was straight forward in SharePoint Designer 2007. You just need to copy the content of the workflow’s config(workflow.xoml.wfconfig.xml) file and the rules file & replaced the list GUID’s. But in SharePoint Designer 2010, there is a little tweak associated with it. There was an option in SharePoint Designer,  Export to Visio  which exports your workflow as a .vwi file, and can be imported in to another site using the option  Import from Visio .  But when you try that option, you will get the below message. This workflow cannot be imported because it was created in SharePoint Designer for a different site, or the original workflow has been moved or deleted. To move a workflow between sites, use Save as Template (.wsp file) instead of a Visio workflow drawing. So, to achieve the same follow the steps below.  In the fi...