1)Deploy QuickFlow solution

download QuickFlow2 wsp,copy it to SharePonit server and unzip it ,click the wsp_install.cmd file,this will automatically install the solution to the sharepoint farm.

Then login on to Administration Center,install the solution to Web Application.

QuickFlow Aspx Form example deploy wizard

2)Activate QuickFlow Feature

Go to Site Collecton Features  , activate QuickFlow Feature.

QuickFlow Aspx Form example deploy wizard

QuickFlow Aspx Form example deploy wizard

3)Download the example project - http://cid-7f5a25cdf47d03e6.office.live.com/self.aspx/QuickFlow/Examples/QuickFlowExample^_AspxForm.zip

unzip it and compile,You'll find there less a reference of Microsoft.SharePoint.dll,this dll is big,so I didn't package it,you can set the reference Path to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI

QuickFlow Aspx Form example deploy wizard

   4)Change the list that the workflow associate

QuickFlow Aspx Form example deploy wizard

Click the Workflow project , the property panel contains "TargetSite" will appear。

QuickFlow Aspx Form example deploy wizard

Do follow the wizard , you need to choose a list , If there no a list , you can create a new custom list first.

5)compile and deploy the workflow project.

QuickFlow Aspx Form example deploy wizard

before deploy the workflow, you need change some code:

private void task1_TaskCreating(object sender, QuickFlow.TaskEventArgs e)
        {
            e.TaskProperties.AssignedTo = "codeart\\spsadmin";
        }

codeart\\spsadmin is a user of my enviroment , you should use your user.

6)Deploy aspx Form

Modify the bin path of DeployDLL.cmd file,and then run DeployDLL.cmd and DeployPages,cmd to deploy the dll and pages.。

(You can also deploy they by xcopy )

QuickFlow Aspx Form example deploy wizard

7)Install and activate contentType Feature

 There is a feature contains a contentType , this content type define the new form URL and edit form URL, as follows: 

QuickFlow Aspx Form example deploy wizard

copy QuickFlowExample_AspxForm_CT folder to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES, then run the install.cmd to install the Feature。

activate Feature:

QuickFlow Aspx Form example deploy wizard

8)add the contenttype to list

first , allow the list to manage contentType: 

QuickFlow Aspx Form example deploy wizard

Go to list settings,Click “Add from exist content types”,add QuickFlowExamples_AspForm_CT ,then delete the default one.

QuickFlow Aspx Form example deploy wizard

 back to the default View of list, check the new Menu.

QuickFlow Aspx Form example deploy wizardwizard   

Now , you can test it!

PS:the task form url is config in the WF designer:

QuickFlow Aspx Form example deploy wizard

相关文章:

  • 2021-05-16
  • 2022-01-03
  • 2021-12-09
  • 2022-12-23
  • 2022-12-23
  • 2021-07-30
  • 2022-01-29
猜你喜欢
  • 2021-07-20
  • 2021-11-01
  • 2021-07-11
  • 2022-12-23
  • 2022-12-23
  • 2021-10-09
  • 2021-07-26
相关资源
相似解决方案