infopath

Inject javascript to Infopath form

Hi everybody. We use Infopath 2007 + Sharepoint 2007 and need to inject some javascript to infopath form. I know that infopath form can be hosted on the aspx page using XmlFormControl. But this solution doesn't suit us =(. Is there any workaround? ...

InfoPath 2010 Question

Created an InfoPath form in Outlook 2010 and I want to generate an email to send out. When I try to do this I get an error that states: To use this feature, Microsoft Outlook 2010 must be set as the default e-mail program. I checked and its set in IE9 properties as the default email program. Any ideas? Thanks ...

Deploy InfoPath form to a users who don't have access to Intranet

I would want to deploy an InfoPath (2007) form to users who at the time of filling the form, may not have internet access, then after filling it out, they can go to an internet cafe, connect their laptops to the internet and submit the form to a public web service. I don't want to deploy to SharePoint, I would just want to send the form ...

How to make dropdownlist as Readonly Field In Infopath 2010.

How to make dropdownlist as Readonly Field In Infopath 2010. ...

Use the same InfoPath form on both a library and a workflow task.

I have a fundamental workflow issue where by particular forms need to be generated and filled in by various users as part of a workflow. I started off having the form as a task form in the workflow. The problem is that if this form is an important business document, you don't want it locked away in a field, in a list item, in the workfl...

Programmatic update of InfoPath form XML is stripping off tags

Hello, I have a C# program that is looping through all of the forms (browser enabled) in my forms library and injecting an XML node into each of them (for a newly promoted field). For some reason, when the XML is saved back to the form, the first few tags are being stripped off. Specifically, these tags are: <?xml version="1.0"?> <?m...

How to store Infopath form attachments in document library ?

In Infopath form the attachments gets embeded within the file as bas64 string and in my case i may have multiple attachments (up to 6-7 attachments). Keeping attachments as part of the Infopath form itself will make my form size huge as well wont allow me to add some business rules on individual attachments. Is there a way i can store t...

Infopath with sharepoint: Retrieval of the XML document from the following location is not authorized:

I am deploying a form in sharepoint library. When I open the form it is working but when i open the saved form the it shows an error Retrieval of the XML document from the following location is not authorized: and then form is closed. Please help me. ...

SharePoint 2010 - How to print InfoPath form for list item

I edited the form for a list item in InfoPath, and when I print, I just want to print the form itself. It seems when I use the browser's print function, it still pulls up some elements from the page and it cuts off the content if it's longer than the popup window. Also, some of the elements of the form are hidden when I print, so that i...

Error when user try to submit infopath 2010 form into sharepoint 2010

Dear Experts, I created a simple custom list in sharepoint with 1 extra column called "a1". I edited this form in infopath 2010 and published back. However, whenever I try to fill out the form by "Add new Item" >> "Save" I get a Critical Error and it just says Correlation ID : xxxxxxx. Please help me thanks :) PS. If i don't edit the ...

Can Sharepoint Content Type be based on document schema

I am attempting to use a single Document Library to store and display multiple Xml documents based on a handful of different schemas. Each schema will have an InfoPath form associated with it. Can I associate the same file type (.xml) with multiple Content Types, given this will require Sharepoint to inspect the content of the file to ...

how to specify file name and close the info path form on custom submit button?

i have submit button in the form once i click it must ask to enter the file name and once i given it it must close the particular browser tab. ...

how to set read only properties to the particular info path form control based on user logged in?

how to set read only properties to the particular info path form control based on user logged in? ...

Can't correct deploy infopath 2010 form with formcode.

I'm new in Infopath developing, please help. :( So I'm developing work-flow with custom task edit form. I designed infopath form CustomApprovalForm.xsn in Infopath Designer 2010 and then I published this form to Workflow project in Module folder which named Form(ApproveWF/Form/). Then I configured all needed properties for correct deploy...

How to remove an element from InfoPath XML using XSL

I have the standard XML form and am having problems removing an element. XML <my:myFields> <my:Attachment>some values</my:Attachment> </my:myFields> I have tried using this: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="@*|node()"> <xsl:copy> <xsl:app...

Infopath to Excel through code

I would like to convert data from infopath form to excel spreadsheet through code. I know you can export the data using the feature in infopath, but I am interested in doing this through code (like a part of a workflow). Can anybody suggest a way for doing this or a possible starting point? Thanks. ...