Link to home
Start Free TrialLog in
Avatar of Ciaran Fogarty
Ciaran FogartyFlag for Ireland

asked on

Infopath content type not working in SharePoint 2010

Hi,

I just published my Infopath 2010 form (3 cascading dropdown menus) as a content type to my SharePoint 2010 environment and added the content type to my document library, including making it number 1 in order. However, when I go to add a document to my library it defaults back to the 'document' content type. I have checked Central administration and infopath services are activated via SharePoint Server Enterprise Site Collection features.

I am not sure why the infopath form is not loading. Any help is much appreciated.

Regards.
Avatar of Arnold Layne
Arnold Layne
Flag of United States of America image

Does it load when you select it from the new option on the ribbon? Do you see both options?
Avatar of Ciaran Fogarty

ASKER

Yes, it loads from the new option, not both options.
OK, so your infopath content type is definitely added correctly.

I might be wrong, but if I remember correctly, I think you might have to actually get rid of the original content type of document. If you don't even want the original content type, then try making a test library and add your infopath content type to it, make it the default content type and then get rid of the original content type.

Someone else might be able to correct me, but if you don't even want the document content type anyway, and this works, you should be all set.

Another option is to hide the add new item link to force people to use the ribbon, but that seems kind of hokey.
Thanks for your reply. It is strange. My whole reason for going infopath was to create cascading dropdowns where 2nd dropdown list is based on 1st dropdown selection. Infopath does this out of the box. I am not a programmer. I am not sure if I can get rid of the document content type. I have not seen anyone do this before and it could have undesired effects. Regards.
Maybe, and that's why I said to try it out on a test list first. You can do this non programatically. When you go to list settings/content types/click on the content type/  you will see an option under settings to remove the content type
Also note, add your infopath content type before you delete the document content type. You should be able to do this and the library will still function, but test it out on a test list first.
Ok, I have done that. It just gives me a 'name' field mandatory and a single line of text - SharePoint look and feel not infopath. regards.
It sounds like you have not bound the infopath form to the test library datasource. Try to publish the infopath form to that test library using the infopath client app. This should automatically bind it to the library datasource for you. Also make sure you go to list settings/advanced setting and click enable management of content types for that test library
Also, if this is a new list, and there are is no content/data in it yet, why don't you just create an infopath form library?
It won't allow me to publish as the default content type in the document library is not based on the form content type. The customer has word documents and wants them tagged. Regards.
ASKER CERTIFIED SOLUTION
Avatar of Arnold Layne
Arnold Layne
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial