Hi Ganesh,
For automating the InfoPath deployment refer the following MSDN article:
http://msdn.microsoft.com/library/e...eInfoPathXSNFixupDeployFormTemplateScript.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?= <
[email protected]>
Subject: Publish Infopath form programmatically
Date: Tue, 28 Feb 2006 01:57:27 -0800
Lines: 9
Message-ID: <
[email protected]>
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