Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Can I customize the InfoPath task form which is used by the regular createTask activity?

I know I can create my own form and reference that in the elements.xml file, but I like using myForm.TaskProperties.Title = "Please upd..."; or is that also possible with a custom form (having TaskProperties)?

Basically I don't like the standard task form which gets created when using the createTask activity, so I e.g. want to delete the field "Predecessor" and delete some other fields. All I want is a task with some comment field and a "finish task" button.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Found the solution: Create your own task form and call it via CreateTaskWithContentType.

A nice explanation can be found here: CreateTask method - how to create a task based on a Custom content Type and a tutorial on how to create your own Task form inheriting form the workflow task content type: Wrangling SharePoint Workflows with Visual Studio

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.