.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

Administratively Approved Forms and updating content type fields

Posted By:      Posted Date: September 30, 2010    Points: 0   Category :SharePoint

Hi, I have added several fields to my InfoPath form that had to be Administratively approved by loading through Central Admin.  I used the same form XSN name but noticed that after loading up the changed form, my new fields are not showing up under the Site Content Type form columns.  My workaround thus far is to create a new form name and upload the new form to become a content type with my new columns reflected however, I think that this process of "Update existing form" should be able to do that instead of me going through a name change workaround.

Any experience on this?


View Complete Post

More Related Resource Links

Administratively-Approved Form Templates not updating in Form Library


I did not have this problem for non-administrator-approved templates.

I have managed codes for an administrator-approved templates. After I made C# changes to the template, tried all kinds of way, have the newest version in the forms template doc lib, however, the form document library still refers to the old one, even after I clear the infopath cache folder as RW_IOWA recommended.

I feel the upload/upgrade template page in central admin should take care of this changes, the document lib using the form template should automatically get the changes.

Anywhere could I make a mistake?


URGENT: Document Library Content Type not inheriting some fields from parent Site Content Type


I have a situation that has foxed me!! I have a site level content type that has 8 fields... I use this to create more content types at the site level and use these in multiple Document Libraries (I have 40 doc libs).  This works fine for 38 of the libraries.  But for 2 of them... 2 of the columns are not showing up on the document libraries.  These are user lookups fields.  I am not sure why it's not working in these libraries only!  When I use the same content type in another library... the inheritance does not break for these fields!

Anyone please provide some guidance on this?  I am using WSS 3.0 and SPD to do workflows.

On another note... the content type has a template (in excel) attached to it.  When I create the content manually using the content type from the New menu option, the template is used... however, when I try to add it using an SPD workflow, it creates a blank template... the content type template is not being used.

Please help... I am in a fix and need to release this application today!!!

SharePoint 2010 External Content Type and InfoPath 2010 - Numeric data type fields missing in InfoPa


Connected SQL data table to SP 2010 ECT from SQL table.  The SQL table has several fields that have a type of "numeric(3,0)".  The SP 2010 list shows all fields form SQL.  When we open up InfoPath Designer and reference the SP List data (from SQL) all of our numer fields are missing from the available fields list.

I amd going to try another data type but that hardly feels like a solution.  If anyone has any ideas please let me know!

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?

Content Type or Lists Lookup Column can't show additional fields which are Choice or lookup columns


I am trying to create some content types, but this also happens when creating new columns in a list.

Ok, here is my setup (which is the most basic way to replicate the issue):

List 1: Department List
Columns: Department Name (Single Line of Text)

List 2: Document Owners
Columns: Document Owner (single line of text), Department (Choice or Lookup from Department List), Email (single line of text), Lookup Field (Calculated).

Content Type: Quality Document
Columns: File Name, Title, Document Owners (Lookup from Document Owners List), Email (pulled in with Document Owner), Then i want to also pull in Department from the Document Owners list.

That is where my problem is.  When i select the Document Owners List as the list to get the information from, there isn't the option under "Add a column to show each of these additional fields" to pull in the Department column.  This occurs if i use a Choice in the Document Owners list, or if i do a lookup from the Department List.

My preferred method of implementing this system would be to have a multi-value lookup field in the Department List for Document Owners so that the Owners are attached to the Department, and if the owners change for the department they also change for the document that is for said department.  But, i run into the same issue that i c

Infopath 2010 - Updating the content type failed


Hi there,

Ive got an Infopath form which i have published to a forms library many many times. Recently something weird has started happening on my front-end server (i'm pretty sure our infrastructure team has done something they're not supposed to, something to do with ports and firewalls or something to the like) which caused the portal pages to be inaccessible from all machines except the server itself. This has since been resolved but i'm still getting an error when trying to publish my existing Infopath Form!

The error im getting is "Updating the content type failed."  What the ____????? A proper REASON for why this damn thing failed would have been helpful!!

Can you please please please assist me in trouble-shooting this problem? I'm at wit's end!

Ive done a couple of searches and all i come up with is timeout issues and having too many columns. But I havent added any columns (fields) and this form has always published just fine till this issue arised.


The world is the mollusc of your choice

Updating Content Type Failed

I'm fairly new to Sharepoint and Infopath.  I hope someone here can help me.   

I have a large Infopath form with ~90 fields on it.  When I try to publich to the server, I get "Updating [or Creating] Content Type Failed".
I determined this to be due to the number of fields and some sort of time out issue with Infopath.  I have seen a few other posts on that and the only solution I've seen is to publish with fewer fields - that does indeed work, but it doesn't solve my problem as I need all of these fields.  

I've also seen a solution to publish with fewer fileds successfully and then republish with all you need and that the "Failed" message won't matter.  Kinda true, but then I have an issue with it no longer opening in browser.

So then, I tried publishing it to my desktop and uploading it through Central Admin, activating it to a site collection, and using it that way.  That actually works the best so far, but then I get no option to select my Parent Content Type - it just picks "Form" - and that also doesn't work for me.  I need to select Parent Content Type

Then, I tried to Create a new CT from scratch and point it to the form template I recently uploaded.  I get to pick my parent and all, but none of the promoted properties are there, so they don't show up in my workflow, and that's the end of that route.

External Data Fields in a Word Template saved as a content type in a document library with multiple


I have created a Word Template for a Document Library that has an External Data Column in it of Client Name which also adds Client Address1, Client Address2, Client City, Client State, & Client Zip.  Now this works fine for a Document library with that template as the Template.dotx file. 

I want to be able to make a bunch of Templates and have them all as Content Types in one Library.  When I do this I cannot get the External Data Quick Parts to work.

Anyone have any ideas?

updating content type failed during publishing Infopath on MOSS 2007


Hi Folks,
I am new to MOSS & Infopath-2007. I want to publish form on MOSS onto Document Library not as Content Type. Last week, i published form successfully, but suddenly since last thursday, I am not able to publish - it gives me "updating content type failed" error. :(
I am publishing with Domain Trust, no certification is sign (actually, not required in my case).

Thereafter, I tried creating new template with single button/textbox, but it gives same error.
Today, i tried with blank form, it failed again with same error.

I tried creating Form library from Infopath form as well as from MOSS, but no help.
doing Googling, i only got 2 solution - timeout or too many columns added from infopath - but in my case there are only 3-4 columns i want to publish. 

I tried below links, but no help:

How to clean up phantom custom fields or content type IDs


This is in SP 2010 but I suppose it's the same behavior in 2007 (WSS 3.0, MOSS 2007).  I was trying to deploy a site collection feature which contains a bunch of custom fields and content types (you know, solution package and then feature activation).  The first time the feature activation failed because there's a custom field type dll that I forgot to include.  So i fixed that, retracted and deleted the solution, and deployed the new wsp.  Then it said the content types already exist.  So I added Overwrite="TRUE" and tried again.  This time the feature activation failed yet again, with the "local device is already in use" message on the page.  Behind the log file had can't find the XML definition for the content types even though they are there. 

Thinking something's wrong with my xml file, I removed the dozen or so content types from my elements.xml and left with only one simple content type def, retracted, removed the solution, built the new wsp, added and deployed it.  Upon activating the feature, it gave me the same local device error, and the log file had the can't find the XML definition for ALL the content type IDs.  ???  All but one were not in the XML file, SharePoint somehow held the IDs for the content types that I removed from elements.xml.  I even wrote a console ap

Content Type Properties/Fields on Document Template


I have created a content type and added some custom site columns to it.  I have also created a document template (.dotx) where I have added some of the columns as fields that appear in the footer and header of the document template.  In the Advanced Settings of my Content Type I have added the .dotx template as the template for the Content Type.

In a document library I added the content type.  When I create a document from the content type in that document library the fields on the new document do not get updated when I select different data for any of the columns in the Document Information Panel.

Even when I save the document and reopen it the data in the columns on the Header or Footer does not get updated so there is a discrepancy between the data selected on the DIP and what is shown in the Header or Footer.

What am I doing wrong?

Inheriting from publishing page content type does not allow for overriding fields in SharePoint 2010


Hi there, we are creating custom content types that inherit from the "Page" content type.  We have found that we must have the "Inherits" property set to "TRUE" or else our custom content types do not show up in the content type gallery.  If we query the site collection using management shell the content type does appear to be there, but unfortunately it will not publish from the content type hub. If we set Interits=TRUE the content type deploys properly and appears in the content type gallery, but we cannot override (change the display name) or remove any of the inherited fields. Ultimately, we would like to have our content types inherit from "Page" and also override some of the "Page" fields, but this does not appear to be possible. We have spent quite a bit of time on this issue and are wondering if this is a bug or intential behavior of the "Page" content type. Any information you can provide would be appreciated? 

P.S. We have ran similar tests inheriting from "Document" and "Item" content types and do not encounter the same issue with overriding inherited fields.


Error: Updating Site Content Type Failed - InfoPath 07/SharePoint 07


I have been working with InfoPath07 and SharePoint Moss 07 for two years.  I have recieved the Updating Content Type error in the past which I got around by creating new library's. This was over a year ago and happened only a couple times.

Recently, my dept did a database migration.  About 3 weeks prior to the migration I started having troubles with publishing InfoPath.

First issue, it would take about three hours for my form to go through to the form/document library.  Sometimes they would publish, other times I would get Updating Content Type Failed.

Now that our databases have been migrated, I don't have to wait three hours to get my error.  I get my error on (1)existing forms that just needed interface updated (no changes to forms content), (2) existing forms that have no content at all, (3) and brand new forms that have never existed, with no content.

I have tried:

  • Deleting some content (fields)
  • Deleting all content
  • Deleting the entire library and starting fresh (including any content types in Central Admin or workflows associated)
  • Creating a brand new form with no content type

I have been researching and trying to figure this issue out for at least three months. I am still getting this error with every form I publish to update the forms library; howe

sharepoint Duplicate Site columns and updating content type failed when publishing to sharepoint


1many duplicate columns in my library

we can see image here:

2run  sql :

select * from AllUserData 
where  tp_LeafName = 'xxxx.xml' and tpid='1123' 
and tp_DeleteTransactionid = 0x 

should find only one row,but then can find 7 rows:

row1                    0
row2                    1
row3                    3
row4                    4
row5                    6
row6               &

Using Additional Fields from External Content Type in InfoPath 2010 External Item Picker


Hello, we've created an external content type for our store locations. Each location in the content type has a name, id, manager, region and so on. When we use this BCS content type as a field in a list, we are given the option to "Add a column to show each of these additional fields"

What would the equivalent be in an InfoPath form? When we add an External Item Picker to a form a number of fields are included in the form's data source, including a repeating group called BDCEntity with the following fields:

  • EntityDisplayName
  • EntityInstanceReference
  • EntityId1
  • EntityId2
  • EntityId3
  • EntityId4
  • EntityId5

Entity display name appears to be what we configure as the Display Field Name in the picker properties, and the EntityId1 is the location ID, which is the identifier on the external content type. EntityId2-5 are all blank.

We use region and other location attributes in workflows so how can we access all these other fields?

Thanks for your time.

Peter Newhook SharePoint posts on my blog

WSS 3.0 Content Type with Office 2007


We're currently encoutering an issue on our production servers with Office 2007 documents. In essence, the Content Type for all docx, xslx, and pptx documents cannot be changed away from the site default on all newly created sites.

I've even done some step by step debugging on an SPItem insert and I can set the content type to a custom type, but it reverts back to the site's default Content Type on Update(). Other file types - .doc, .xls, .tif, .txt, and .jpg - have all been tested, and all work as expected (the Content Type changes correctly).

Thanks in advance!


WSS 3.0 Content Type - Lost data for Titles


We are running WSS 3.0 SP2 on server 2003.  Recently, we lost the "Titles" for all content types for documents.  Our system Content Type for Document is set up to require this field to be completed on all documents that is uploaded.  Our system would automatically enter in by default the name of the document in the "Title" field it no longer does this for the user.  The user must now enter in manually the "Title".  How do I get it to enter in the "Title" using the document file name automatically?

Below is the way the setting page for Site Content Type: Document looks like.  (I tried to recreate it since I could place a screen shot in the box)

Site Content Type Information
Name:  Document
Descriptiong:  Create a new document.
Parent:  Item
Group:   Document Content Types

Name, Description, and group
Advanced settings
Workflow settings
Delete this site content type

Name                 Type                     &nb

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