Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have an InfoPath form published to a library... I need to create forms dynamically with siteuser as form name... I need to achieve it in Object Model... Can any of you help me on this...?

share|improve this question
If you are NOT using enterprise Sharpoint server, I do not think it is possible. IMO, it is possible only for browser-enabled IP forms, i.e. through IPFS - Sharepoint Server Infopath Forms Services. Is it your caee? – Геннадий-Ванин Jan 25 at 10:18

1 Answer

InfoPath forms certainly can be programmatically built - that was one of the motivations of the change from the old office file formats (.doc, .xls etc) to the new (docx, xlsx etc)

These new formats are, in essence, cab files filled with XML-based data and manifests specifically designed to make object model manipulation easier.

Now, I don't exactly know what you want in entirety, but there are plenty of tutorials around to get started in creating forms programmatically. Such as this one from CodeProject

http://www.codeproject.com/Articles/33228/Programmatically-create-a-browser-enabled-InfoPath

and, of course, there are many more via google

https://www.google.com/search?sourceid=chrome&ie=UTF-8&q=programatically+create+infopath+forms&safe=active

Is that what you meant, or was it something different you were after?

share|improve this answer
"that was one of the motivations of the change from the old office file formats (.doc, .xls etc)". Infopath forms are XML based and I do not recall that their format was changed since 2005, i.e. before docx, xlsx introduction – Геннадий-Ванин Jan 25 at 10:15

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.