Wednesday, May 23, 2012 1:36 PM
I require "SharePoint Server Workflow Task" Content type to my custom publishing site , as its not getting visible in content types gallary after activated all workflow features as well as web analytics feature. :(
Note : I am also not able to associate any OOTB workflow , when I try to associate OOTB workflow it throws following error
"This Page has been modified since you opened it. You must open the page again."
can any one please let me know what is missing in my site to make this content type available ?
waiting for the answer !!!
- Edited by Dipti Chhatrapati Thursday, May 24, 2012 5:38 AM
Thursday, May 24, 2012 10:22 AMModerator
Based on my understanding, SharePoint Server Workflow Task Content Type will be auto added to the task list when you run a workflow attached to the task list the first time, the content type is not allowed to be added manually by default. As you will not see it in site content types gallery or parent content type group in creating content type page.
For the error message displayed, it seems to be caused by the master you use, you can try this in the default publishing site with its default master page to check the result. for your custom publishing site, please check whether the master page is inheriting from PublishingLayoutPage or TemplateRedirectionPage, change it to TemplateRedirectionPage. Here is an relative article:
TechNet Community Support
Thursday, May 24, 2012 11:48 AM
Hi Qiao ,
Thank you very much for your time and exact explination !!
Well , I checked this issue and it was regarding delegate control , when I hide delegate control Workflow association is working fine however I have some issues :
Custom Solution 1 with 5 sharepoint projects having custom master pages and all required custom sharepoint artifacts. deployed on "http://myserver:123/sites/mysharepointsite which is team site and activated publishing feature.
I have one another Custom Solution 2 having only one sharepoint project has one custom workflow Item.
step 1) If I deploy Custom Solution 2 on http://myserver:123/sites/mysharepointsite workflow is working as expected.
step 2) So, I added workflow item from Custom Solution 2 to Custom Solution 1 and deployed on same site http://myserver:123/sites/mysharepointsite , and I checked that workflow , and Its not working as expected however in debugging its not throwing any error too !!!
in step 1) , "Sharepoint Server Workflow Task" is getting attached to the task list while in step 2) same content type is not getting attached with task list !!!
Can you please let me know what is the issue behind this weird problem !!!
Thanks a lott,
- Edited by Dipti Chhatrapati Thursday, May 24, 2012 11:48 AM
Friday, May 25, 2012 2:04 AMModerator
Thanks for posting back.
From your description, this issue seems to be related with the feature activated dependence, when you run your custom solution 2, as your custom solution 1 is deployed successfully, so the solution2 can be executed without issue, when they are in the same solution, and solution2 is executed at the same time, this may cause issues. If so, you may try to set activation dependencies, here is an article about this, please refer to it for more information:
TechNet Community Support
- Marked As Answer by Dipti Chhatrapati Tuesday, May 29, 2012 8:40 AM