Searching SharePoint for InfoPath forms

S

Spas

Hi

Is there an easy way to get a list of all the InfoPath templates present on
a SharePoint server from my own code? - If so, how? :)

Thanks a lot in advance
 
C

Clay Fox

Not that I know of. SharePoint search is not always the best anyway.

You could create a custom list, but this would need to be maintained.

I store all of my forms in a SQL server with the Database Accelerator
package from http://www.qdabra.com which makes querying the available
templates and the documents very simple.
 
S

S.Y.M. Wong-A-Ton

I guess it will be easy depending on your programming experience. :) You
should be able to use the SharePoint object model to retrieve all of the site
collections on your SharePoint server, the sites of all of those site
collections, the libraries (=lists) of all those sites, the content types of
all of those libraries, and finally the document templates of all of those
content types. There are plenty of examples in the SharePoint SDK on how to
navigate the object model to retrieve such information.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top