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 2006

Tip: Looking for answers? Try searching our database.

Publish Infopath form programmatically

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ganesh - 28 Feb 2006 09:57 GMT
Hi,
     I have a requirement where i need to publish an infopath form
programmatically (c# command line) in sense i would need to input the
sharepoint list and also need to  update the rules for submit option which
right now submits to my dev box. Any thoughts or leads on this would be a
great help

Thanks
Ganesh Bheemarasetty
Sheetal D [MSFT] - 28 Feb 2006 21:15 GMT
Hi Ganesh,

 For automating the InfoPath deployment refer the following MSDN article:
http://msdn.microsoft.com/library/en-us/odc_ip2003_ta/html/OfficeInfoPathXSNFixu
pDeployFormTemplateScript.asp


For retrieving the SharePoint list items you can add a secondary data connection to the InfoPath form (the most easiest way). If you want to
do this programmatically then you can use SharePoint API's or write a web service for retrieving the list items.
You can use the list web service and then use GetListItems method to retrieve the list items. You can find more information about the
methods in the SharePoint help file. Which will give you some pointers to start on.

For submit using rules, you can use "custom submit using rules" option under Tools --> submitting forms.

Best Regards,
Sheetal D, MCSD.NET

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Thread-Topic: Publish Infopath form programmatically
thread-index: AcY8TWGGOEBmjGU+RHmZuCsZWDkycA==
X-WBNR-Posting-Host: 24.22.240.170
From: =?Utf-8?B?R2FuZXNo?= <Ganesh@discussions.microsoft.com>
Subject: Publish Infopath form programmatically
Date: Tue, 28 Feb 2006 01:57:27 -0800
Lines: 9
Message-ID: <337666A9-FB94-4B4F-9897-407D23845C40@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
    charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.infopath
Path: TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.infopath:27245
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.infopath

Hi,
     I have a requirement where i need to publish an infopath form
programmatically (c# command line) in sense i would need to input the
sharepoint list and also need to  update the rules for submit option which
right now submits to my dev box. Any thoughts or leads on this would be a
great help

Thanks
Ganesh Bheemarasetty
 
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.