infopath

Infopath 2007 and migrating datasources based on webservices

I am developing Infopath forms (not web-enabled) based on webservices that I host locally on my development machine. when the form and webservice is ready to deploy to a test/QA/Production server I have to go into the form and modify the data connections each and every time I have to point it to the relevant webservices, depending on th...

Receive full XML from InfoPath task form

I'm using InfoPath forms as the frontend to my SharePoint workflow tasks. Some of these InfoPath forms have a particularly complex schema (main data source) to the extent that taskChanged_AfterProperties.ExtendedProperties[node/group name] is impractical. I can receive XML fragments of everything contained within a group through Extended...

How to convert an InfoPath web form to a pdf without programming

Does anyone know how to do this? ...

Error on : Publishing InfoPath forms to the SharePoint site.

Hello All, I'm trying to publish Browser Enabled Infopath Forms to the SharePoint sever but, at the end it was showing me the following Error: The SOAP response indicates that an error occurred on the server: Server was unable to process request. ---> Method 'get_ServerInfo' in type 'Microsoft.Office.InfoPath.Server.Solut...

Validate form fields from InfoPath custom code

I'm developing an InfoPath form for Forms Services. It has these views: View 1 asks the user to input some basic initial data View 2 calls a web service based on data in View 1 and populates drop-downs accordingly At the bottom of View 1 I've added a Next > button to move to View 2. As part of clicking that button I would like the in...

Quick questions re moving to InfoPath forms

Hi there: I’ve been asked to look into how best to move forms into InfoPath and have a couple of basic questions about your experiences so I can get an insider’s lay of the land. Even some short, quick bullets would be really helpful -- thank you! Are you starting from scratch in InfoPath, or are you converting from paper or a differe...

How do I programmatically nullify a File Attachment in InfoPath Forms

Howdy all, I'm running into a problem with some InfoPath C# code while trying to remove an attachment from a form. Basically the process is: User opens form User clicks button File attachment is cleared I've tried adding a blank attachment to my schema that never becomes populated, then setting the original field's value equal to t...

Infopath - changing sql servers

I have an InfoPath form which has sort of a master-detail pattern, with two tables in the underlying main datasource. I am trying to migrate this to a new SQL Server - same database, just moved from a SQL2005 machine to a SQL2008 machine. If I change the servername, it also wants me to change the database and tables. If I select the s...

Highlight fields in InfoPath that have changed

I am able to highlight fields in InfoPath if they are "new" by setting the conditional formatting to "set this field to yellow if the value is not blank" What I'm trying to do though is highlight fields when the value is changed. That is, when the value it pulled from the webservice is not the current value of the field. The forms in...

How to customize emails generated by adding a task in sharepoint designer

Hi, the email that is generated when a task is assigned by sharepoint workflow doesn't fit my needs and I would either like to customize it. If anyone knows how to customize this email, please let me know. ...

Programmatically save a browser InfoPath form to it's source list

I've got an InfoPath form in a forms library on MOSS 2007. I think that the InfoPath browser toolbar with it's save (manually enter filename) and close rather overcomplicates the process of filling in a form. What I'm trying to do is simply have a button with some code behind that saves the form to the library where it was opened with a ...

Create external list forms using infopath

I am trying to create external list forms using InfoPath. I have aready been able to do following in this process: 1. Create External Content Type using sharepoint designer 2. Create External List using sharepoint designer Now I am trying to modify forms (submit and retrieve forms) using InfoPath. I am following the following link http...

Is it possible to pass a querystring when creating a new document in a sharepoint list?

I would like to pass a querystring to Infopath when creating a new document (based off of a content type that I created and published with infopath). Like so: http://server.com/Forms/Form1.xsn?String=value I know that Infopath can handle querystrings but I'm unclear on the process behind creating a new list item from content type. Is th...

SharePoint 2010: Set field value from query triggered by choice box selection

How do you link a form field to a choicebox selection so that the field's value is set by the information referenced by the ID of the choicebox selection? I have a choicebox in a custom list form which is bound to a "Client" list which contains client names, IDs, reference numbers, addresses, etc. The choicebox displays the client name a...

How to Submit Data through InfoPath Form to an MS Access Database on Sharepoint 2007 (MOSS 2007)

Maybe I just haven't figured out the InfoPath paradigm yet, but any links, or answers would be extremely grateful. Here is my intent: Publish an Access Database on MOSS 2007, and then have InfoPath forms submit and retrieve data from that Access database. How is this achieved? ...

How to Publish InfoPath (which is fulltrusted having codebehid code ) in sharePoint?

Hi all, I created one InfoPath form which is having C# code and i gave security option is 'full trusted' to access infopath object model,and it should be open with Browser.finally i published the Infopath form to SharePoint(by using admin-approved) site. But when i'am trying to open, it is not opening and giving an error that is 'InfoPa...

InfoPath Critical Error

Hi guys, need your help regarding infopath error. i have atleast 130 fields in the form. and in that 130 fields i have 7 repeating tables. when i tried to save/submit the form this error pops out: Critical Error This session has exceeded the amount of allowable resource. Click Start Over to load a new copy of the form. if this e...

InfoPath Repeating Group with Data from SharePoint and User Input

I have a series of questions which are pulled from a SharePoint list and loaded into a repeating section. The section has three elements, the Question # (from SharePoint), and Question itself (from SharePoint), and a drop down box Yes/No (NOT from SharePoint)... The repeating group portion works just fine, it is pulling all Question # ...

Query a SharePoint List from InfoPath web form in code

I'm writing an InfoPath web form, using C# code behind. The form is a holiday request, after the user inputs the start and end dates I want the code to query a bank-holiday sharepoint list and count occurrences between the dates. I've added the sharepoint list as a second datasource however I'm now stuck. Any ideas? ...

How do I create a Guid with Infopath Script?

In infopath script (J), how do I generate a GUID? This is my current and comletely hacked (and horrid) method. var getGuid = new ActiveXObject("ADODB.Recordset"); getGuid.Open("SELECT NewId()", mySqlConn); var guid = getGuid.Fields(0).Value; There has to be a better way... ...