Site workflow and Association Form

Hi. Im new to SharePoint 2013 and Im trying to make
a site workflow in VS 2013 or VS 2012.

Is it possible to have a Association Form on a site
workflow Im not able to get this working

Is so... any links to a step by step would be nice

Regards

Martin



  • Edited by Martin_157 Sunday, January 18, 2015 8:55 PM
January 18th, 2015 8:54pm

Hi Martin,

If you want to use custom Association and Initiation forms with your Visual Studio workflows. InfoPath forms may not fulfill your requirement due to the limitation they pose in terms of controls available in browser enabled forms however in SharePoint 2013, per the know issues article, there are no more InfoPath based workflow forms. For the workflow based on SharePoint Designer 2013 and Windows Azure Workflow, SharePoint Designer creates ASPX forms instead of InfoPath forms that were created by SharePoint 2010 workflows and MS does not want to use Infopath more . Hence youd like to use custom ASPX forms. So

The following are the very important capabilities/features added to SharePoint workflow while creating custom workflows using Visual Studio 2012.

  1. SharePoint 2013 introduced a rich set of client-side object mode (CSOM) based workflow API that's can be fully leveraged in VS2012
  2. VS2012 Provides a standard Workflow Association and Initiation form templates (ASP.Net form based) out of the box (When SharePoint 2013 templates are installed)

Follow below given reference for actual implementation for the same and feel free to ask any further question, we would happy to help.

http://www.andrewconnell.com/blog/Creating-Custom-Forms-for-SP2013-Workflows

http://msdn.microsoft.com/en-us/library/ee231590.aspx

http://blogs.msdn.com/b/thirusrinivasan1/archive/2013/09/25/sharepoint-2013-workflow-integrating-a-custom-association-form.aspx

Free Windows Admin Tool Kit Click here and download it now
January 18th, 2015 9:49pm

Hi Krishana. Thanks for your reply I know that I need to use ASPX forms, and I have added a custom Association form in VS 2012 and 2013 but after deployment I go to site settings -> workflow setting and try to get to the Association form for the workflow I get a this workflow cannot be customized from the browser. Use a SharePoint-compatible workflow editing tool, such as Microsoft SharePoint Designer, to edit this workflow When is try to open the workflow in SharePoint designer it fails with Windows Workflow Foundation, part of .NET Framework 3.0, must be installed to use this feature

Any idea ??

Regards

Martin

January 19th, 2015 8:02am

Hi Martin,

Which version of SPD you are using ?


Free Windows Admin Tool Kit Click here and download it now
January 21st, 2015 9:10pm

I'm using VS 2013.... And SPD 2013.... But this is when I deploy my workflow from VS 2013..... The link to my association form in site settings -> workflow settings and name of my workflow don't Work.... just a JavaScript popup  this workflow cannot be customized from the browser. Use a SharePoint-compatible workflow editing tool, such as Microsoft SharePoint Designer, to edit this workflow"

Regards

Martin

January 21st, 2015 9:17pm

Forgot... this is a wsp solution... not an app

Martin

Free Windows Admin Tool Kit Click here and download it now
January 21st, 2015 9:19pm

 Hi Martin,

Sorry for being late in reply, did you install workflow manager service and how you get installed I mean how your workflow manager server is communicating with SharePoint server.

If you simply install SharePoint Server 2013 and do not install and configure Workflow Manager then you will have a nearly identical experience with building workflows as you did in SharePoint Server 2010.

The SharePoint 2013 Workflow platform only becomes available to you, and your tools, after you download and install the new Workflow Manager service and configure it to communicate with your SharePoint Server 2013 farm. For a detailed guide on this process, see Start: Set up and configure SharePoint 2013 Workflow Manager.

February 4th, 2015 6:12pm

Hi Krishana. Sorry for the late reply... Been really busy....

I have Workflow Manager install and configured. I have also tried this in SharePoint
online... Same result.... Not able to get to my custom site workflow
Association form, from "site setting" -> "workflow setting" or anywhere else that I can
think of

Regards

Martin



  • Edited by Martin_157 Monday, February 23, 2015 10:01 PM
Free Windows Admin Tool Kit Click here and download it now
February 23rd, 2015 10:00pm

Hi Martin,

Actually theres nothing to do in Site Settings you define the workflow forms within the project in Visual Studio. Right-click the workflow project item in the project and select ADD => NEW ITEM. Then pick the form template it all gets wired up for you.

Have you added an initiation form and association form to the workflow. InitationUrl and AssociationUrl are set and make sure that you have set the

<property name="RequiresAssociationForm" value="true"/>

July 14th, 2015 6:23pm

Hi Krishana. Yes I know that.... I have made a VS workflow solousion and added both a Association form and Initiation form to my workflow.... but how do I set my settings in the Association form....

There is no "add site workflow" whereI can get to the Association form as there is when I add a list workflow ???... or am I missing something.

Have you made a site workflow with an Association form ???

Regrads Martin

Free Windows Admin Tool Kit Click here and download it now
July 16th, 2015 7:11pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics