Quickflow aspx form example deploy wizard

Source: Internet
Author: User

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.

2) Activate quickflow feature

Go to site collecton features, activate quickflow feature.

3) download the example project-Example

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

4) change the list that the workflow associate

Click the workflow project, the property panel contains "targetsite" will appear.

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.

Before deploy the workflow, you need change some code:

Private void taskdetailtaskcreating (Object sender, quickflow. taskeventargs E)
{
E. taskproperties. assignedto = "codeart \ spsadmin ";
}

Codeart \ spsadmin is a user of my enviroment, you shoshould 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)

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:

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:

8) Add the contenttype to list

First, allow the list to manage contenttype:

Go to list settings, click "add from exist content types", add quickflowexamples_aspform_ct, then delete the default one.

Back to the default view of list, check the new menu.

Wizard

Now, you can test it!

PS: The task form URL is config In the WF designer:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.