infopath

How can I make an InfoPath textfield within an repeating table auto increment?

Within my InfoPath form (which has to be loaded within a SharePoint Portal by the browser)I have a repeating table containing multiple fields. Now I would like to make the first textfield autoincrement starting by 1. How exactly can I do this? I have already heard of a way by using the "count" function but this produces errors or in bes...

How can I change the textcolor of an InfoPath textfield?

I have a textfield within a repeating table. I am able to validate what's inside but if the text does not pass my validation it should change it's color to red. Does anybody know how I can achieve this goal by code? I have found a solution for a rich text box by setting the innerXml to the following: "This is just a piece of <span xm...

How do you open an InfoPath 2007 file programmatically from a service?

I am trying to open an InfoPath 2007 file programmatically from a Windows service, but I get the following error: System.Runtime.InteropServices.COMException (0x80043000): InfoPath cannot open the following file: C:\path\datafile.xml. Not enough storage is available to complete this operation. This file opens correctly in ...

Why Does the Infopath 2007 Form Shows Error Message When Saving Repeating Table With More Than 60 Records?

We are currently creating an InfoPath 2007 form is deployed in SharePoint 2007. In the form we populate the repeating tables with more than 60 records. However, when we're submitting the form, an error message appears. Does the number of records in the repeating table affects the submitting of the form? Also provide some workaround to re...

What is an alternative to InfoPath for XML editing?

We are look at providing a method for our non-technical users to edit XML and pass it to our existing XML input functionality. I remembered InfoPath saved its data as XML, and took another look at it. It's great the way it allows you to define a form based on an XSD (XML Schema), and then allow the user to edit XML without knowing it i...

CSS styling of infopath forms

Is there a way to CSS style an InfoPath 2007 form rendered by Forms Server 2007? It seems to be somewhat of a "black box", but the formatting options in the Infopath client are pretty limited. ...

Content type custom document information panel

I have a custom content type with custom fields. I'm trying to create a custom document information panel using infopath. Whenever I try to do that infopath gives me this error propertySchema0.xsd#/schema/element[1][@name = 'properties']/complexType[1]/sequence[1]/element[1][@name = 'documentManagement']/complexType[1]/all[1]/element[1]...

Querying infopath form library

Is there a tool that allows querying (and aggregating data from) a library of infopath forms in MOSS? I can't use promoted fields, since some of the items I want to query are in repeating groups which (AFAIK) cannot be promoted. So I have to query the underlying XML. I realize I can write custom code that iterates through the forms and...

InfoPath forms on client vs. hosted in Forms Server / MOSS

Is there a definitive list of functional differences between InfoPath forms in the InfoPath client vs. InfoPath forms hosted via Forms Server? Talking to people who have worked with and deployed the technology before, they can't tell me anything specific except that more complex forms are not possible when you host them in Forms Server....

How do I access the data passed back from a workflow association form?

How do I access the data passed back from a workflow association form? Scenario: When an admin associates a workflow with a sharepoint list I want to display a infopath form that allows variables to be set that apply to all instances on that list. The association form comes up as I would expect and it submits the data entered back to th...

Mapping Infopath fields to Sharepoint columns

Any one has any idea how to map an infopath field to a sharepoint column of type choice? The infopath field is a repeating field, so the user can select multiple options, I want to be able to map those to the choice field in sharepoint. Any ideas? update: What I'm trying to do is the following. I have a choice column in sharepoint which...

Do I have to use InfoPath forms for every task within a SharePoint workflow?

Is it possible to use InfoPath forms within a SharePoint workflow for all but one of the workflow tasks? Our customer wants a particular task to use the default sharepoint page for editing that list item but disabling the form I was using for that task just makes the workflow default to the Task0_FormURN defined inside workflow.xml. If I...

Sharepoint Conditional fields in Edit.aspx

I would like to display certain meta data fields in the edit form based on the value of a fields. Example: Users upload a document to the Doclib to be approved by there manager. They are allowed to change the meta data Name,Case No, Location until the item is approved by the manager. Once the item is approved I would like to set Name a...

Is InfoPath the right choice?

Ok so we have an upcoming development that will involve a level of off line processing of dynamic forms. Here's what we have to do: Create a asp.net web application whereby users can download dynamic forms, fill them in then upload them to be published. We also have a windows mobile application that will do something similar. The form...

Need Help publishing a browser enabled InfoPath form to a Sharepoint 2007 Server

Hey everyone, I’m trying to publish an InfoPath form to a SharePoint document library, and have the form be viewable in a web browser. The problem is that in the InfoPath publishing wizard tells me that although the form is browser compatible, that it cannot be browser enabled because of one of the following: The Server is not runnin...

Allow mobile access to an InfoPath form on a forms server/sharepoint instance

Before I begin asking this question I will have to warn you that I know next to nothing about SharePoint and im basically learning as I go along. Here's where I am right now: I have a virtual pc with an instance of SharePoint and windows server 2003 running on it I have managed to get a network adaptor set up so I can access the Shar...

What does a well formed XML or Schema look like for InfoPath form creation?

Howdy, Are there any resources out there that defines how a well formed XML or Schema may look like for InfoPath? When designing a new form, there is an option to base the new form off of an existing XML document or XML Schema as the data source. I am looking for any guidelines or rules that will help me make sure the structure of...

Infopath Form Template Conflict

We have a bunch of story libraries in Sharepoint 2003 for all of our different projects. We created a nice Stories Library with a bunch of useful views in Sharepoint. Then I exported it from Sharepoint designer and I use that template to create a library for each new project. The problem is, the Infopath template always has the same ID. ...

XPath Node element indexing based on attribute

I am trying to build an Infopath form which populates fields with data back from a Sharepoint list. I set up a drop-down list box who's values get populated from a Sharepoint data source. That part works fine. Now I want other string fields to get automatically populated once the user selects one of the items from the list. So I set up ...

InfoPath FormControl on STA worker thread

I have a .NET class that exposes two public methods: one to create an InfoPath form and another to Export to one of the supported formats. I’m using the Microsoft FormControl to do this. It’s hosted by a Form that does not get displayed. I get called by a Winforms app, but on an MTA worker thread instead of the UI thread. So I create an...