.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Assigning a reusable workflow to all content types in a list in one operation?

Posted By:      Posted Date: September 09, 2010    Points: 0   Category :SharePoint
When creating a reusable workflow I choose a base content type. I would really like to assign this workflow to the content type at site collection top level and get it to automatically work in all lists that include this content type, and also have it set to work for all children of this top level content type. It seems to me that I have to manually associate this workflow to all lists and content types? I am missing something here? Henning

View Complete Post

More Related Resource Links

Assigning users when creating a list item in a workflow


I'm using a workflow to assign tasks to users.  When I try to assign the task to a group (set in the workflow designer), the workflow gives me an error.  When I change the assign to property to a single user, the workflow works perfectly.  How do I get the workflow to assign the task to the group?  Or if that's not possible, can I get it to assign it to more than one user?


Client Object Model : Transactional update of list and content types

I am using Silverlight client object model to code against Sharepoint. Essentially, what I want is that when a user clicks a button, An item needs to be added to a list and also a new content type has to be created. button1_click() { //1. Create an item in a list. //2.  Create a new content type. } Also this should be transactional:  only if item is added should the content type be added too, otherwise roll back both. (and vice-versa). My understanding of client object model is that we at the core we are talking to Sharepoint WCF services. So if I say, using(TransactionScope scope = new TransactionScope()) { ClientContext.ExecuteQueryAsync(); scope.Complete(); } can I assume that the updation will be transactional??

Custom Workflow TaskEditForm(Custom Content Type) not getting displayed in Tasks List.



I have developed a custom sequential workflow. I have also developed a custom content type derived from Workflow Task Content Type.

I have 1 TaskEditForm.aspx in this custom Content Type. The custom Content Type is getting associated with the Tasks List but when I click EditItem option in ECB Menu or Ribbon,the in-built EditForm.aspx gets displayed instead of displaying my custom TaskEditForm.aspx from the custom Content Type.

Can anybody help?


Regards,Gautam Kaikini, SharePoint Developer. http://in.linkedin.com/in/gautamkaikini

External Content Type - Read List Operation - "Cannot find a collection element of a supported type.


I'm trying to define External Content Type Operations for an External Content Type. I can add a Connection, Type "WCF Service" no problem. And I can define a "New Read Item Operation" using that connection.

But I can't define a "Read List Operation". I get the following error message, in the Return Parameter Configuration: "Cannot find a collection element of a supported type..." it goes on to say - see the help documentation for supported types. I can't find any help documentation on this.

I've tried returning different types in the provider web service but keep getting the same error. What are the supported types the web service can return?

The reading I've done suggests that you can connect to a non-MS web service using a connection type of "WCF Service". Is this correct? If it is what's the best soap format the web service provider should use - Doc/Literal?



Duplicate Fields during list creation from content types and site columns


I am trying to create a List in Sharepoint 2010 using Site Columns and Content Types. It results in creating duplicate fields in the list for the Site Columns used. Here is the details description of what I was doing.

I have created two site columns 


<Field Type="Number" DisplayName="Start Coordinate" Required="TRUE" EnforceUniqueValues="FALSE" Indexed="FALSE"
Group="QMS" ID="{A3F2D108-11B5-4B49-9633-338D27227E12}"
Name="StartCoordinate" Overwrite="TRUE" />

<Field Type="Number" DisplayName="End Coordinate" Required="TRUE" EnforceUniqueValues="FALSE" Indexed="FALSE"
Group="QMS" ID="{06B927BB-C354-4A0A-AE88-9C14E55EAB27}"
Name="EndCoordinate" Overwrite="TRUE" />

Then added these to a new content type I

SP2010 Upgrade Error: Missing Reusable Content Types


During the in-place upgrade from MOSS2007 to SharePoint 2010, I experienced the following issue for numerous site collections.  Even though these were errors, the configuration wizard completed with Errors stating that there were some sites not fully upgraded.

I cannot determine how to resolve this error and complete the content database upgrade.   Thanks in advance.


In the Upgrade-YYYYMMDD-######-##-error.log file, the following details were logged for about 15 different site collections:

[OWSTIMER] [SPSiteWssSequence2] [INFO] [6/12/2010 8:29:44 AM]: SPSite Url=https://sub.domain.com/site
[OWSTIMER] [SPSiteWssSequence2] [ERROR] [6/12/2010 8:29:44 AM]: Feature upgrade incomplete for Feature 'PublishingSite' (Id: 'f6924d36-2fa8-4f0b-b16d-06b7250180fa') in Site 'https://sub.domain.com/site'. Exception: The parent content type specified by content type identifier 0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF39 does not exist.
[OWSTIMER] [SPSiteWssSequence2] [INFO] [6/12/2010 8:29:46 AM]: SPSite Url=https://sub.domain.com/site
[OWSTIMER] [SPSiteWssSequence2] [ERROR] [6/12/2010 8:29:46 AM]: Feature upgrade incomplete for Feature 'PublishingLayouts' (Id: 'd3f51be2-38a8-4e44-ba84-940d35be1566') in Site 'https://sub.domain.com/sit

Custom Workflow Task Content Types

Is there no way to create a content type derived from the base Workflow Task content type through either the SharePoint UI of the SharePoint Designer?

Multiple Content Types in a single list - how to edit fields outside a content type

I have a single list and created two content types on the list in order to reduce the amount of visible fields a user sees when entering a form.  Once the form is filled out by one group with the limited data, an alert is sent to another team that adds to the list item using the larger set of fields defined by the second content type.  Unfortunately it seems that the edit burron remembers ihe initial content type that the entry was created with.  Is there another url to access the edit button for the same entry using the alternate content typr?

How to set the order of custom fields in custom list definition of Multiple Content Types


Hi all,

First of all I am sorry for my poor english.

I have a custom list definition and I have mentioned two content types in the "Schema.xml" file of this list. I need to change the order of fields in NewForm.aspx and EditForm.aspx.

For e.g. I have two content types ContentType1 and ContentType2. ContentType2 is inheriting ContentType1.

Fields of ContentType1 are

1. Field1

2. Field2


and Fields of ContentType2 are

1. Field3

2 Field4


When these fields display on new form the order of fields is

1. Field1

2. Field2

3. Field3

4. Field4


But I need to change the order of field by

1. Field1

2. Field3

3. Field2

4. Field4


Can anyone help me to change the display order of fields in new and edit form?


Thanks & Regards,



Site content types Vs List content types


Hello all,

While creating my first SP site using visual studio 2010; following the best practices guidelines from Microsoft I created a content type for each data entity and of course a site column for every and each field in those entities -can't describe how tedious this was-. Anyway, when I started creating List definitions based on those content types I noticed that the CAML xml code is literally copied to the schema.xml rather than referencing it. If I made any changes to the original content type it's not reflected in those lists. On the other hand when I make changes to the list content type -in contrast to the site content type- things are reflected on the site properly. Why the redundancy?

I mean I even tried to use <ContentTypeRef> in the schema.xml to reference my site content type and get rid of the redundancy with no luck!!! Content Types and even fields must be defined int the schema.xml with no direct relation to the site content type already defined in the project!! Fields must be defined in the <fields> element in schema.xml and referenced in the <contentType> element of schema.xml too, regardless that they're already defined at the site level!!

So, if I have to define content types/fields at the level of the list, and visual studio can't automatically track changes made to site content types, why bot

Workflow for External Content Type (Associated List) Gives Error


Hello Community.

Background: I have created an external content type, and then an external list from the content type.  Next I created a custom list with the same metadata fields as the external list.  All this works as it should with no issues.  Finally  created a simple 1 step workflow that is designed to update the external list with the data provided in the custom list. 

Problem: When I run the workflow I get the error below:

The workflow could not update the item in the external data source. Make sure the user has permissions to access the external data source and update items. Unknown error
 12/3/2010 8:39 AM Error  System Account

Has anyone seen this before and if so how did you resolve it?



Tom Molskow - SharePoint Architect - Linked-In - SharePoint Gypsy

can't open the list that created from external content types


Hi all,

  I created a external content types file from SQL DB (Northwind), the table is order details, original I created "all operations" then post to list. but when I go back the web site to open this list, I got error message like this :

Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.

Correlation ID:00d1bb01-90b6-4bde-992d-9368199cad64

  so I think maybe this table belong to detail and table include 2 field for primary key, so I delete and re-created to readitem & Readlist then post to web site again.

but I got same error again. does anybody can help me to resolved this issue ?

ps. I used same DB to created order, product and post to Web site, it's working correct.



SharePoint Tutorial - Content Types

SharePoint content types provide users with a way to manage and organize content in a more meaningful way. It's a reusable of settings you want to apply to a particular type of document in a library or item in a list.

Ready made List Types provided by SharePoint

SharePoint provides some out of the box List Types. Some of the most used ready made list types that SharePoint provides currently are listed below:

Content Types in MOSS 2007

In this article I will try to describe the one of the best feature in Microsoft office Share Point 2007 called Content Types.

Content types are simply collection of contents.Each content in a Content type can have different settings.Basically it is a reusable collection of settings which you want to apply to a particular category of contents.

Office Apps: Integrate VSTO with SharePoint Content Types


See how to build a document-level Visual Studio Tools for Office customization and integrate it with a content type in SharePoint.

Steve Fox

MSDN Magazine May 2008

How to Customize the Add Comment 'Items on this list require content approval...' notification in


WSS 3.0:

If content approval is turned on, the Add Comment section displays a fairly ugly notification. Is there any way I can customize that section through e.g. CSS or SPDesigner?

I'd like to change at least the text, and preferably the yellow exclamation image, and also the background if possible.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend