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

I know it's possible to customize the forms of workflow tasks but is it possible to have them customized also for "CreateTaskWithContentType" component, not just for "CreateTask"?

I had a try of customizing the forms of content types but was not successful so I thought that InfoPath forms might be an alternative. It works for normal tasks (workflow "CreateTask" component) but it seems it does not work for "CreateTaskWithContentType" (I get the default form for Task item, even if I set my content type as the default on the task list).

Is it possible to use "CreateTaskWithContentType" and have the forms customized with InfoPath?

share|improve this question
    
Thanks for the post, I'm having the same issue? When my workflow was using the default workflow task my infopath Task forms where being rendered. As soon as I started using the CreateTask with Content Type activity the infopath task forms are no longer rendered in place of the default edit form.aspx for items. Wondering if you can specify exactly where in the article you reference is the solution to the problem? Thanks for your help –  user7418 Mar 18 '12 at 23:35

1 Answer 1

up vote 0 down vote accepted

I managed to resolve this by using this article: http://msdn.microsoft.com/en-us/library/ms438856.aspx

Just one note about the article: WkTaskIP.aspx is in fact WrkTaskIP.aspx and is located in "_layouts" folder.

share|improve this answer
    
Thanks for the post, I'm having the same issue? When my workflow was using the default workflow task my infopath Task forms where being rendered. As soon as I started using the CreateTask with Content Type activity the infopath task forms are no longer rendered in place of the default edit form.aspx for items. Wondering if you can specify exactly where in the article you reference is the solution to the problem? Thanks for your help –  user7418 Mar 18 '12 at 23:35
    
@Sam: It's was this phrase that jolted my brain: In the content type definition of the task's content type, add an XMLDocument element that specifies the custom edit and/or display forms so I added something like <XmlDocuments><XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url">‌​<FormUrls xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url"><Displa‌​y>...WrkTaskIP.aspx</Display><Edit>...WrkTaskIP.aspx</Edit><New>...WrkTaskIP.aspx‌​</New></FormUrls></XmlDocument></XmlDocuments>. That was my problem; your problem might differ! –  JohnDoDo Mar 21 '12 at 15:02

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.