0
votes
0answers
18 views

Digitally Signing Forms using _Signature never valid

I have a problem with a SharePoint project in VS 2010. I try to sign an Infopath form from my SharePoint project (with C#) but when opening my signed form I've got a message box that says : One ...
0
votes
1answer
790 views

Set values in repeating table fields programmatically

I have some logic which calculated a list of dates that are to be displayed in the repeating table. The repeating table structure is as shown in the image: The code that I have used to set data in ...
0
votes
1answer
107 views

Assign value to Date Control in InfoPath form programmatically

I need to assign a calculated value to date field in infopath form. I am unable to assign the value as I get "schema validation found non- datatype errors" error. The following is my code: int ...
1
vote
2answers
44 views

How to undo code option, “edit Form code”

I was playing around with InfoPath and then i click on "Edit Form Code...". Now I am unable to publish the forms without getting "An administrator must approve this form temaplte before it can be ...
0
votes
1answer
1k views

Limit a user group to a specific view created via InfoPath 2010

I have created a new view called 'RequesterView' (via InfoPath 2010) to add items to a issue tracking list. The purpose of this is to limit the visibility of certain fields such as 'Assigned To', 'Due ...
1
vote
1answer
536 views

InfoPath code to delete all rows of repeating table and then add back one default row

I have the code on a clicked event to reset a repeating node (deleting all existing rows - see code)... I am looking for the best way to add back a default row. I tried using xmlwriter, but this ...
1
vote
0answers
299 views

Custom DLL in InfoPath form not working on SharePoint

I created a form in InfoPath 2007 that uses C# code behind. The form basically is a "user friendly" front end for our current Help Desk ticketing software. The form communicates with the Help Desk via ...
0
votes
1answer
280 views

Infopath 2010 File Attachment control's delete not working

I have a List that is customized using Infopath form. In that list edit form I have a File Attachment control and using it I am able to attach the documents, but the "delete" icon next to each ...
0
votes
0answers
36 views

GetList with a Library

I'm relatively new to SharePoint 2010 development and I recently rediscovered the DataContext class. Of particular interest right now is the GetList method. I've seen examples and sample code around ...
0
votes
2answers
196 views

update external list data using infopath codebehind

I know that I can update my ECT record (using InfoPath forms I created for the external lists), by passing the BdcIdentity (ID) to the form and it will find that record and enable me to edit. How do ...
1
vote
1answer
145 views

InfoPath, and Calling a instation of Template InfoPath from Event Receiver

I want to call a form of InfoPath from Event Receiver. How Could I set a field infopath a Values, from Event Receivers to sets a Values on infopath fields which could I Validate and show or hide a ...
0
votes
1answer
46 views

Connecting infopath with the data from the list

When I creating a infopath conected with list in creator from Microsoft InfoPath Designer the bookmark which called developer is hinding, and I can't editing or writing any of code. How could I ...
0
votes
1answer
90 views

How Could I edit InfoPath in Visual Studio

If I add infoPath from Infopath Designer its blocked me all the Modal Dialog fired from Event Receiver. I want to edit InfoPath form to don't block My Sharepoint Modal Dialog. Now no one dialog boxed ...
0
votes
1answer
270 views

Sharepoint modal popup don't shown when the Infopath form are on the site

I tried to add Infopath form on my project, but when I add the Infopath form some of PopUp which are corelated with Infopath and shows errors od data didn't shown What should I do to shown A Modal ...
0
votes
2answers
74 views

How to build a InfoPath form on the site

I listened that it could be done that InfoPath Form is on the Site with WebPart. How Could be it Done? It should be a InfoPath form when I could on a site put date start of range, and date end of a ...
0
votes
1answer
281 views

how to submit and query values from web service infopath2010

I have a web service that takes a string parameter. In my infopath form I have a dropdown list that gets values from the webservice. I have another dropdown list below it that I'm wanting to ...
1
vote
1answer
2k views

InfoPath 2010, Sharepoint Liist Form and Custom code

I'm editing SharePoint 2010 list's Form in InfoPath 2010. Heard I can edit/add custom code via Visual Studio. Checked all buttons on ribbon but cannot find anything referencing to 'custom code' or ...
1
vote
1answer
768 views

InfoPath form has Multiple Selection List Box that checks all items instead of just one

In InfoPath 2010, I have a Multiple-Selection List Box that uses an external data source to populate the check box items. This data source is an xml document that gets dynamically populated in the ...
0
votes
2answers
630 views

Uploading an InfoPath form programmatically

I know how to upload the published xsn InfoPath form, but when I try to open it, the form can't find its code behind assembly dll. Does anyone know how to add that? I know it gets put in hive 14 ...
2
votes
1answer
448 views

How to update metadata?

I have following code (didn't list the whole code) behind a button on a InfoPath Managed Form. and it works meaning I can submit data to a list. Now I have 2 controls on the form that is ...
1
vote
1answer
300 views

How to grab InfoPath form's FormState contents from the document library?

Is there a way to grab the contents of an InfoPath's FormState object? I have access to the SPListItem in the document library it resides in, the xml of the item, the document library it lives in, but ...
1
vote
1answer
276 views

how to get the value of a check box from another list

I've been trying to get the value of a check box in a sp list. so, I have List[a] and List[b]. List[b] contains a check box which I am trying to get the value of inorder to put in in List[a]. I'm ...
0
votes
1answer
790 views

close infopath form with managed code [duplicate]

Possible Duplicate: How to close an infopath form in C# style? I am trying to close the browser (aka where infopath form is loaded) with managed code. I tried some for variation below but ...
0
votes
3answers
3k views

How to close an infopath form in C# style?

I tried XDocument.View.Window.Close(true); but it tells me "The name 'XDocument' does not exist in the current context" I even tried thisXDocument.View.Window.Close(true); but still same error. What ...
1
vote
4answers
672 views

Linking one-to-many (Employee to Salary History) lists in SharePoint

Here is my issue: [Edit]: Alright, this is almost turning into a separate question at this point...my apologies. To cut right to the chase, here is my business requirement. I have an Employee record ...
1
vote
2answers
616 views

SPContext.Current is sometimes null in code behind of InfoPath

On occasion I find that SPContext.Current returns null in the code behind of my InfoPath forms. This is occuring while I have the form open in a SharePoint 2010 site collection. I can't figure why ...
0
votes
2answers
624 views

What's the sense in forcing to digitally sign the Infopath 2010 forms?

Whenever I create an Infopath Filler Form in Infopath Designer 2010 and attach C# code there, for example, to show a messagebox on a button click, I am getting: InfoPath cannot open the selected ...
1
vote
1answer
1k views

What cannot be developed for Sharepoint Server 2010 in 32-bit workstation? and in 64-bit workstation?

Before, I was developing remotely on Microsoft Sharepoint Server 2010 machine (Windows Server 2008 R2 Datacenter and all servers 64-bit) accessing it over internet through RDP from Windows XP SP3 ...
0
votes
2answers
3k views

How is Infopath 2010 “Sharepoint List Form” different from “Web Browser Form” and other form types?

If to create a new Sharepoint list, browse to it and click on ribbon a violet button with Infopath logo "Customize Form", one can edit fRom Infopath Designer a fOrm used for updating/editing and ...
1
vote
2answers
4k views

How to use non-browser forms created by Infopath Filler (published to a Sharepoint Form Library)?

I have requirements to create Infopath Filler 2010 forms. They are non-browser and are not served through Sharepoint Infopath Services (so require Infopath installed on all clients) but have ...
0
votes
2answers
184 views

How to Refresh Web Service Value

I have an InfoPath 2010 form that is pulling data from a web service. For example, I have a text box, a button, and a drop down list. The button submits the text box value to the web service. The ...
1
vote
4answers
147 views

SharePoint Development Sever Yes\No

My department head is insistent on having a Development and Production Server for our SharePoint sites. After speaking with some other professionals and working with the technology for several months, ...
2
votes
2answers
671 views

how to move multiple items into a listbox in infopath 2010

I have an infopath form that has two list boxes. I'm wanting to be able to add multiple items from one listbox to another. similar to this : any help would be much appreciated!
1
vote
1answer
1k views

Infopath 2010 “Get choices from fields in this form” combo box is read only. Why?

I created an Infopath custom form and I want to have a combo box that retrieves its data from other fields in the form (user fills a repeating group in View 1 and then in View 2 I want to display the ...
1
vote
0answers
91 views

How to manage hardcoded paths in custom InfoPath forms for different environments (dev, staging, release)?

When you create custom InfoPath forms for your SharePoint components (lists, workflow tasks or initialization form etc) all web references point to InfoPath Designer. Create one from a blank form and ...
1
vote
0answers
50 views

Create ContentType for InfoPath forms

I have a form library in a site template. When I create a new site based on my template, I want to have the columns in the list like when I deploy my form from infopath. Can I make a content type and ...
1
vote
1answer
219 views

Deploying InfoPathForm to Web

I deploy a Infopath form to my SiteCollection with a Module. When i want to deploy my solution i get following error: An object of the type ...
1
vote
1answer
225 views

InfoPath form template not displaying in custom Application Page [duplicate]

Possible Duplicate: SharePoint InfoPath formviewer part I have a requirement for opening an InfoPath item from an InfoPath library in a custom application page. Here is the code: ...
1
vote
2answers
230 views

SharePoint InfoPath formviewer part

I followed the Code protected override void CreateChildControls() { XmlFormView formView; formView = new XmlFormView(); formView.Width = ...
1
vote
1answer
692 views

InfoPath forms viewer web part

I'd like to add a SharePoint web part in a page that would display InfoPath forms(For example Timesheet template).Does anyone know how to show the "InfoPath forms" inside web part??? Can anyone help ...
2
votes
1answer
1k views

InfoPath Form with new certificate will not load when published

I'm developing an InfoPath 2010 form containing C# code. On my virtual machine I have a SharePoint 2010 standalone installation. When I started developing the form, I generated a certificate in the ...
0
votes
1answer
714 views

C# save/submit to sharepoint from infopath [closed]

I have tried this.Submit(), this.Save(), but neither seem to actually work. Is there a simple way of doing this? I have also tried using a submit button and then using custom rules for that, but still ...
2
votes
1answer
567 views

Sharepoint SPFile.Convert Infopath to HTML

i have the conversion code for converting from infopath to HTML Guid id; var conversionResults = newItem.Convert(new Guid("853d58f5-13c3-46f8-8b81-3ca4abcad7b3"), ...
0
votes
1answer
2k views

InfoPath close form by code

I'm creating an InfoPath form in InfoPath 2010 Designer, that will be running in InfoPath 2007 and 2010 clients and contains C# code. When the user clicks the submit button I need to execute some C# ...
0
votes
1answer
685 views

Send e-mail from InfoPath: MailMessage vs. MailItem

I want to send e-mail from an InfoPath (2007/2010) form (InfoPath client, NOT web hosted). I found two ways that look promising: using System.Web.Mail.MailMessage class ...
1
vote
1answer
237 views

infopath form submit error not getting logged

What is it that would cause no error message to be logged if the form fails to submit? I have a form that has custom submit code written and at times fails on submit. It gives a correlation id which ...
1
vote
2answers
97 views

How do I get a listing of the contents of a Document Library?

Sorry for the simple question. I have a Form Library whose directory listing I need to access from an InfoPath form containing custom code. I don't need the contents of any of the files, just the ...
1
vote
2answers
2k views

A button on an Infopath form that Prints the form and Submits it, too

OK I've been asked to put a print button on an infopath 2007 form. But they want me to amend the code so that the Click event submits the form to a Sharepoint 2007 Forms Library as well. I know this ...
0
votes
1answer
397 views

infopath 2007 field count

Is there a menu option in InfoPath 2007 that would give me the total number of fields? The reason that I am doing this is because I have a form that I developed that cannot be uploaded to a ...
0
votes
2answers
599 views

Setting user group specific permissions in InfoPath form

I am trying to set specific permissions to an infopath form if a certain check box is checked. Currently, the form will automatically inherit permissions from the top level site. I want to stop this ...