infopath

Problem in dynamically load data to Drop-Down list box in InfoPath 2007?

I have a Drop-Down list in my InfoPath form and I am loading some other fields based on the selection of the drop-down list. so that I have written code as follows for the "changed" event of the drop down list. public void ProjectName_Changed(object sender, XmlEventArgs e) { string projectId = e.NewValue; dataQue...

How can dynamic hyperlinks be added in InfoPath form?

Hi everybody, How can I add a dynamic hyperlink on an InfoPath form? I would like to do this from a C# code-behind. Anyone help me, Thanks ...

Do any big companies use Infopath forms?

Conceptually it is a great tool, but are there really any big commercial companies that use infopath ? I have seen a couple of case studies but not found any useful lists that describe big commercial ventures that use Infopath in a significant way. ...

Infopath for data entry/maintenance?

I am looking for a quick way of enabling data entry to a well structured SQL database. We have defined all our data entry rules (by that I meean validation, mandatory fields etc.) and we're now looking for a tool to make it as easy as possible to have this database populated. The database is largely product orientated, so the ability t...

How to develop a approval workflow using microsoft office sharepoint 2007

Hi im developing a documents approval work flow for the processes of requesting for the purchase of items to the my department at my university. The request form has to be filled with relevant item name,specifications and quantity. Then the request is directed to the Dean of the faculty for the approval. Then it's directed to the Bursar...

Infopath form error from one computer (.xsn?SaveLocation...)

I have a SharePoint site with about 7 InfoPath form templates on it. Clients create new forms from that template and save it onto the site. They then create a workflow for other users to approve. I started noticing some of Forms were not loading correctly, and no one would approve them. I was able to narrow it down to a single issue in ...

Open a Url from inside a browser hosted infopath form

I've been trying to have a button on a infopath form that when clicked will open a url in a new browser window. I've tried code along the lines of the following but to no avail. public void CTRL7_5_Clicked(object sender, ClickedEventArgs e) { System.Diagnostics.Process process = new System.Diagnostics.Process(); ...

How to obtain users from Active Directory using the Contact Selector control of InfoPath 2007?

We have a SharePoint2007 web site. There is an InfoPath form with the Contact Selector control (ActiveX) on it. When I open the control I see a list of Sharepoint users and groups. Is it possible to populate the control with users from Active Directory? Or maybe there is another control/solution to solve this issue? Thank you in advance...

How can I access 'Direct Reports' within the UserProfileService.asmx web service?

I'm building a browser-compatible InfoPath 2007 form which uses the UserProfileService Web Service hosted on a MOSS2007 Team Site as a secondary data connection. I'm having no problems pulling all of the standard properties out of the User Profile (Name, Manager, etc.), but does anybody know of a way that I can access the 'Direct Repor...

Infopath and Soap Headers

So in infopath you can point to a web service and have the wizard create it and write almost zero code. But if the web service requires a soap header to be passed, you can't do that. You basically have to call the web service directly. Has anyone done a hybrid solution? One that just adds the soap header to the soap document to be su...

Create a user in Active Directory from an Infopath form.

Hi There, I've been searching the web for a while now and still can't seem to find anything useful on this topic. What I am trying to create is a button in my Infopath form that will create a user account in Active Directory. The code will need to pull through information stored in the fields of the Infopath form. I have chosen to us...

C#: Modifying the header of an XML file

Hi, I am creating an XML file in C# using a XSD Schema of an InfoPath form. When I save the IP form without using the code, I get an XML file with the following header: <?xml version="1.0" encoding="UTF-8"?> <?mso-infoPathSolution solutionVersion="1.0.0.113" productVersion="14.0.0" PIVersion="1.0.0.0" href="file:///\\Hmfp\mcs-shared\PM...

InfoPath 2007 & Sharepoint 2007

How do I display the certain field values that were entered into an InfoPath form template from SharePoint form library, as columns in a sharepoint form library or list? I want to create views based on specific entries in a form....how is this done? ...

How to debug Infopath 2010 web form?

Well, in visual studio 2008 we were able to create infopath 2007 web form project and after that attach to iis process to debug infopath web form. In visual studio 2010 there is not infopath project and we can use only vsto and cant attach to iis process. So, how to debug Infopath 2010 web form? - is it possible? ...

HOw to get Infopath controls into Visual studio c#

Hello, I have created one form in infopath 2007. I open this form into Microsoft Visual Studio Tool for coding. But i am not able to access my infopath form controls like txtName, ddlDepartment into visual environment please help me how can i get those controls into VB. I am totally new to infopath form so please help on this. Thank y...

Setting InfoPath form name for printing as PDF?

We have some custom print code to print an Infopath form on the user's default printer as well as a server-based PDF printer for loading into a document management system. This is working perfectly, but we would like to control the name of the generated PDF file. The PDF print utility can automatically generate a file name using various ...

Sharepoint Infopath plus one extra database

I have the following setup: Sharepoint 2010 with SQL Server and Office 2010. This is the situation I have. Non programmers are supposed to create simple infopath forms. Admins then upload those to sharepoint, which will get served to users as simple webpages. When a user submits the form it's fields are supposed to be stored in a sepa...

username() does not always evaluate in infopath

I have a testbox in my infopath form which is set to open in a browser. The value of the textbox is set to the username() formula. When I create a new form, the username() formula evaluates to the logged in's username, but the textbox is blank when an existing form is opened. This is fine, but should I expect the same behavior when the...

Infopath XML query from C#

Hi, I have included an XML file in my InfoPath form as a secondary data source. The data connection is named Divisions. Below is the structure and content of the file: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Divisions> <Division> <Name>Business Application Services</Name> <Abbr>BAS</Abbr> </Divi...

Sharepoint ItemAdding & ItemAdded issue

I need to retrieve an Infopath File, which is displayed and filled in on a sharepoint webpage, and save it's data to a seperate DB. There are 2 events that fire once the form is submitted. ItemAdding and ItemAdded. I know that I can not retrieve the file from the ItemAdding Event because it only gets saved after the ItemAdding Event. ...