infopath

Multi Threading in an Infopath Browser Enabled Form

I have a browser enabled infopath form running within the XmlFormView control on a custom ASP.Net page in SharePoint. The form needs to open a new browser window to perform some action and then act on a returned value from the browser window. Currently using NotifyHost to tell the custom aspx page to render a window.open() javascript f...

Read web.config from browser-enabled InfoPath form

Hi I've built in C# a dll that accesses the appSettings section from the web.config file in the Inetpub\wwwroot\wss\VirtualDirectories\80. I do it the way it was described by Microsoft Community here. I use this dll in a browser-enabled form published to a SharePoint site collection. It works fine on my local machine, but when i publis...

Adding values to an InfoPath XML schema

hi, I have an InfoPath form in a SharePoint workflow. I'm trying to use a blank copy of the XML produced by the InfoPath to create new instances of the form for the document library to start the workflow, thats not where my problem is. I have an app which copies the file to the document library but when i try to populate the XML i get th...

Infopath 2003: Enabled browser forms

Hi all, I was wondering whether forms designed through infopath 2003 have the capability to be opened and fille out through a browser (using infopath forms services). While looking at the Tools --> Form Options, I could not find any related 'browser-enabled' check box. Can this be possible? ...

Hyperlink disappears when form template saved

I have an InfoPath form with several fields on, the problem is that one of the fields is a hyperlink and every time I save the form template, close it and open it again the hyperlink is gone. I know it saves the hyperlink because I use it in a workflow and the link is there, it only disappears when I open it in design view. ...

Moss workflow with utl to infopath

I have an infopath form that published to moss form library and opens in browser. Now I created a sharepoint designer workflow for this form library, that sends email, in the email there is a link to the xml file. My problem that the files name are in Hebrew and the link from the workflow doesn't open them, because the file name in the...

Find the context under which an InfoPath form is running

In InfoPath code behind is there a way to find the context under which the form is running. So we're looking at either the InfoPath client itself or whether it's running under InfoPath Forms Server. Thanks. ...

Using Rich Text Box with Infopath and Webservices

I would like to retrieve and submit data that contains Rich Text to a webservice but I am having problems with the particular datatype on the webservice side. If I have a simple string type coming from the webservice, infopath will not allow a RTF box as it is not the correct datatype (which is XHTML). Anybody have any Ideas? Edit: St...

InfoPath window.dialogArguments from UI.ShowModalDialog is null

I have been asked to fix a piece of legacy code that doesn't work. I don't know whether this ever worked, but it looks OK to me as per the documentation and examples. Our InfoPath form uses the 2003 object model. Its FormCode.cs calls other assemblies one of which contains the line: moderatorId = (string)thisXDocument.UI.ShowModalDialo...

InfoPath: How to display a third column of a datasource?

I have an InfoPath 2007 browser-enabled form that has a datasource with three columns, let's say columns A, B, and C. I have a dropdown that is keyed to column A and displays column B. Column C contains some data that I want to display in an expression box, and that I also want to use in some data validation against another field on th...

Programatically Edit Infopath Form Fields?

Hi, I have a form library in my share point site. Programmatically i need to fill some fields. Can i do that? If any one know please provide me some sample code. First i need to retrieve the infopath document and then i need to fill the fields. Please help me. Thanks in advance. ...

Printing an InfoPath 2010 form in SharePoint 2010

Hi all, Does anyone know where the option to print an infopath form (in my case a customized list form) exists in SharePoint 2010? In MOSS this functionality comes out of the box but either I am missing something really simple or my environment isn't set up properly. Does anyone have any suggestions they can offer? Cheers ...

InfoPath XmlFormView in custom ASP.NET web site with forms authentication

I have a custom ASP.NET web site, it has code in App_Code and lots of dependencies in bin folder. Additionally, this web site should host InfoPath XmlFormView control. I also have custom authentication system, based on forms authentication (<authentication> and <authorization> are configured in web.config). There is some documentation o...

Automated conversion of InfoPath forms to PDF

I've been tasked with programatically opening up a set of XML files (~10k) associated with various InfoPath templates (20) and then saving the populated forms as PDF to a network share. This will be a one-time task. I have code to cycle through the set of XML files and open them in InfoPath. However, the documented command-line parame...

Programmatically accessing an application through its UI

Earlier I asked a question about command-line parameters to automate processing of a file in InfoPath. I'll probably get the Tumbleweed badge for that one. Instead of attempting a batch solution through the command line, can someone suggest a good resource for developing a solution that will open an application and then perform actions...

sp2 issue with printing infopath to pdf

I was able to convert my web based InfoPath forms to PDF until recently. Based on some research(link to the article below) it seems this is a issue with Microsoft Office SP2. Has anyone found a fix for this? http://www.eggheadcafe.com/community/aspnet/4/10100452/infopath-to-pdf-not-forma.aspx ...

Required Field InfoPath

Can you can make an info path attachment control mandatory based on a set criteria? if listbox selected value is High attachment is mandatory else not mandatory . this form will be in sharepoint as a web based form ...

InfoPath code behind won't build in x64

I've just moved to an x64 Server 2008 R2 based development machine for my SharePoint goings on. I've discovered that when calling the SharePoint object model SPSite constructer that I get back a FileNotFoundException but no more detail on what exactly caused it. After a little playing around I then found that the call in other bits of co...

When the user exits the form how can you prompt the user if they really want to exit??

A users comes to my form, change data, and then exit the form without clicking the save button. They do not get a warning that they are about to lose changes. Is there a way for me to put a warning prompt when the user exits form? Thanks Sharath ...

Deploy an InfoPath form with promoted fields to SharePoint within a WSP

I've been playing around with publishing an InfoPath form to a SharePoint site as a content type to try and see what happens. It works okay in that updating a form instance in a library will update the library columns. Short of the promoted properties in InfoPath however I can't see how this mapping works. My aim is to have a CAML defi...