Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / February 2008

Tip: Looking for answers? Try searching our database.

Searching SharePoint for InfoPath forms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Spas - 26 Feb 2008 11:53 GMT
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
Clay Fox - 26 Feb 2008 19:49 GMT
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.
Signature

Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum

> 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
S.Y.M. Wong-A-Ton - 27 Feb 2008 08:21 GMT
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.
---
S.Y.M. Wong-A-Ton

> 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

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.