简体   繁体   中英

How to use custom WrkTaskIp.aspx page in custom sharepoint workflow?

I have created as custom task edit browser enabled Infopath form which successfully gets open when user clicks on Edit task. But by default it opens up in the WrkTaskIP.aspx page which is available in 12 hive..Layouts folder.

Now the default WrkTaskIP form provides two following options as hyperlinks 1. Delete item, and 2. A link to navigate to the task display form

I want to customize the OOB, WrkTaskIP page and associate that with my workflow.

How exactly can i achieve this ?

Thanks.

Assuming you've got a custom task content type you can create a custom feature with an application page and make the task open the form in this page instead.

Copy the WkrTaskIP.aspx page from the 12 hive, modify the contents as you require and deploy this as an application page.

Then in your taskcontenttype.xml file point to your custom page by setting the Display or Edit values to the deployed location of your custom page:

<FormUrls...>
    <Display>_layouts/YourCompany/Workflow/YourWrkTaskIIP.aspx</Display>
    <Edit>_layouts/YourCompany/Workflow/YourWrkTaskIIP.aspx</Edit>
</FormUrls>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM