Partager via


Introducing the new Visual Designer

 

Introductions:My Pic

Hello all, my name is Sam Chung and I am a Program Manager for SharePoint Designer. I’m very proud to introduce everyone to one of our biggest investment for SharePoint Designer 2013, which is the Visual Designer.

Before we begin, I highly recommend you take a look at the MSDN articles we have setup. You can find the relevant articles here:

https://msdn.microsoft.com/en-us/library/sharepoint/jj163272(v=office.15).aspx

https://msdn.microsoft.com/en-us/library/sharepoint/jj164055(v=office.15).aspx

https://msdn.microsoft.com/en-us/library/sharepoint/jj163971(v=office.15).aspx

The Visual Designer is a whole new workflow design surface that’s built right into SharePoint Designer 2013. For those of you who are familiar with SPD 2010, you’ll know that you could create SP 2010 workflows in Visio first, export it, and then import these diagrams into SPD 2010. And although, this did work, there were several limitations:

  • No way to parameterize the different actions within Visio.
    • You would always have to switch to the Text-Based Designer to set the action parameters.
  • When exporting from SPD, you had no idea how your diagram might have been changed
  • No way to show/use custom actions within Visio

All of these limitations are now gone, and we’ve added a bunch of new features to really make this feature shine.

How does it work?

Let’s go now and take a look at what the Visual Designer looks like. Here’s a screen shot of the actual designer:

image

As you can see, the Visual Designer looks like a Visio canvas showing up directly within SharePoint Designer. And in fact, this is exactly what’s going on. When SharePoint Designer 2013 and Visio 2013 Professional are installed side by side on the same machine, we will enable the new Visual Designer.

If we take a look at the screen, you can see the two different apps:

image

Although there are two separate apps running, we’ve integrated the two together so much, that you shouldn’t even notice that there are two separate apps. Everything should feel like it’s all happening within SPD.

How do I enable the Visual Designer?

Here are the prerequisites for using the Visual Designer

  1. Install SharePoint Designer 2013 & Visio Professional on the same machine
    • The Visual Designer will not work in any previous versions of SPD
    • Only Visio Pro will enable the Visual Designer
  2. Connect SharePoint Designer 2013 up to a SharePoint 2013 site that has the Workflow Manager setup
  3. Create a new SharePoint 2013 workflow
    • The Visual Designer will only work when creating / editing SharePoint 2013 workflows
    • You cannot use this feature to create / edit SharePoint 2010 workflows

Once you are certain you have all of the prerequisites you should be able to switch to the Visual Designer
at any time by clicking on the “Views” button found in the ribbon:

image

So what are the key take aways?

1) Able to create workflows using click and drag just like in Visio

image

    • All of your actions are made available in the left stencil pane
    • The Stencil pane automatically displays only the list of actions that are appropriate for the type of workflow you are creating.
    • Custom actions will also appear in the stencil
    • The pane is presorted in alphabetical order

 

2) Able to use “Action Tags” to set properties of different actions

image

    • The action tag shows you the “top level” properties of an action. If you look at the same action in the Text-Based Designer, you’ll notice that some properties are shown as links in the sentence:

image

    • These same links are shows as the options in the action tag.
    • Selecting on any one of these options will bring up either the appropriate dialog for that option or the “Top Level Property grid” (more on this directly below)

3) Top Level Property grids allow you to set the properties that would only show up at the sentence
level in the Text-Based Designer.

image

    • Similar concept to the action tags

4) You can generate Stage Level Diagrams to view the workflow at just the stage level. This is great for understanding the flow of the workflow or reporting.

image

image

    • Note: The stage level diagram and the original diagram are two distinct diagrams. There is no syncing between the two.
    • I will create a another blog post purely on the stage level view and it’s capabilities

5) Errors in the workflow are shown the Issues Pane:

image

    • Notice how errors are listed in the error pane
    • Both errors at the shape level and errors in the workflow property are shown here
    • When you click on an error message, the associated shape is automatically highlighted
    • Error checking is done whenever you try and Publish a workflow, click on the “Check for Errors” ribbon button, and when try and switch from the Visual Designer to the Text-Based Designer
      • No error checking is done when you just save workflows

6) Conditional branches need to be set by right clicking on them

image

    • Remember that all branches coming out from Conditional shapes need to be set by right clicking on each branch and selecting “Yes” or “No”

There are lots of different features within the Visual Designer which I haven’t gone over. I’ll be covering those features in future posts. For now, feel free to post any questions you may have.

Thanks,

Sam

Comments

  • Anonymous
    October 21, 2012
    Looks very polished!

  • Anonymous
    October 21, 2012
    this looks slick!  thank you SPD team :)

  • Anonymous
    October 22, 2012
    Very well done. Saw it in a demo a few weeks ago and I am impressed.

  • Anonymous
    October 22, 2012
    Interface very clear and with a lot of functionalities.

  • Anonymous
    October 23, 2012
    So you need to buy and install SharePoint Designer and Visio for each PC you are looking to run this from?

  • Anonymous
    October 24, 2012
    this looks very cool!

  • Anonymous
    October 24, 2012
    Thank you all for the comments, we're all very excited about this feature, and I'll for sure follow up with some additional posts soon. @David, great question.  Technically, SPD is free, so there no "buy" aspect when it comes to SPD.  But you do have to buy and then install Visio Pro next to SPD if you wish to enable this feature.  We're taking advantage of some of the more advanced features within Visio to enable this feature, which is why you need the Visio license.  But for those who do not wish to get Visio, the Text-Based designer is still available in SPD 15 so don't worry about not being able to create new 15 workflows without Visio. Thanks, Sam

  • Anonymous
    November 11, 2013
    SPD 2013  crashes when attempting to open a 2013 workflow in the visual designer view. Research turns up nothing... any ideas? Thanks, -bill

  • Anonymous
    February 02, 2014
    SharePoint 2013 Visual Designer shows blank screen... It was working fine and after update, I am getting blank visual designer screen. I have installed Workflow Manager and its updates. The workflow is working without any issues. I have uninstall and reinstalled the sharepoint designer many times, the issue is not solved.

  • Anonymous
    January 20, 2015
    My SPD 2013 also crashed when opening the visual designer.  Uninstall-reinstall of SPD or any of the SPD updates has not resolved the problem.