infopath

Error on : Publishing InfoPath forms to the SharePoint site

孤街醉人 提交于 2019-12-25 10:19:03
问题 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.SolutionLifetime.XmlFormProxy' from assembly 'Microsoft.Office.InfoPath.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' does not have an implementation. 回答1: Do

SharePoint 2010 multiple users accessing same list issue

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-25 03:13:26
问题 We have a list with 1000+ phone numbers in it. This list is sorted in a specific order by due dates and other criteria. This order is very important and needs to be maintained in the solution. We have a group of callers (roughly 4) that will be calling the numbers in this list in the order they are sorted by. These callers are to be presented with one list item at a time, via an InfoPath form, and once they make the call they will update the list item and be presented with the next list item

Infopath FileQueryConnection.Execute(XpathNavigator) throws System.Net.WebException: Attempted to read or write protected memory

♀尐吖头ヾ 提交于 2019-12-25 01:40:29
问题 I have this code inside a field changed event of a browser enabled infopath form 2007 - try { XmlDocument outputFile = new XmlDocument(); FileQueryConnection con = (FileQueryConnection)DataConnections["connection1"]; con.FileLocation = @"http://server_name/_vti_bin/owssvr.dll" + "?Cmd=Display&List={List_ID}" + "&XMLDATA=TRUE&View={View_ID}&Query=*" + "&FilterField1=Country_x0020_Name&FilterValue1=" + country.Replace("&","%26"); outputFile.LoadXml("<?xml version=\"1.0\" encoding=\"utf-8\" ?>

How to calculate date difference with XPath only?

大兔子大兔子 提交于 2019-12-25 01:19:17
问题 I have a date field in the form created using InfoPath, that allows the users to enter a date, which presumably is the due date of a task. And I want to have another "calculated value" field to: if the the date has passed, then show "overdue" if not, then show the number of days left till the given date Is this possible without writing VB/C# code, but just pasting an expression into the XPath dialog box? Thanks! 回答1: Assuming this is your xml node where user enters date value <due-date>2012

How to add existing field information to a newly added infoPath textbox?

☆樱花仙子☆ 提交于 2019-12-24 08:45:50
问题 How to pre-fill new fields in a InfoPath form base on the old fields, when I add a fields to a form. In my InfoPath form I have a field name called: "Description". Now I added another field called: "SummaryDescription". Which is suppose to take the first 10 words from the Description field. Even though I added field and the logic, the existing form data in SharePoint Database does not get modified. Edit @PatrickPitre Thank you very much for the quick response. I'm dealing with a web-based

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

别来无恙 提交于 2019-12-23 04:30:56
问题 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 and has the selected value set to ID. I would then like to query the Client list by the selected ID to populate form fields with Client Name, Client Address,

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

夙愿已清 提交于 2019-12-23 04:30:32
问题 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 and has the selected value set to ID. I would then like to query the Client list by the selected ID to populate form fields with Client Name, Client Address,

InfoPath - Cannot open, Form definition (.xsf) contains errors

99封情书 提交于 2019-12-22 14:04:33
问题 I have somehow managed to break my infopath form :( When I try to open it (both preview mode and design mode) I get the following error: InfoPath cannot open the following form D:\infopath\formname.xsn. The form definition (.xsf) file contains errors. When I click on more details I get this: The form definition (.xsf) file contains elements, attributes, or structures that are not valid. Error details: The keyref 'ruleSet_5' does not resolve to a key for the Identity Constraint '{http:/

System.TypeInitializationException

戏子无情 提交于 2019-12-22 06:50:10
问题 I am writing tests to test Infopath Forms to open in Form Control, my test method is as [TestMethod] public void Validate_OpenInfopathInFormControl() { Helper.OpenForm(); //Other Code } I have written Helper class as public class Helper { public static void OpenForm() { //Code to Open Form } } But everytime I execute this code, this gives me: Test method InfoPathTest.TestAPI.Validate_OpenInfopathInFormControl threw exception: System.TypeInitializationException: The type initializer for

InfoPath Contact Selectors in Repeating Section

十年热恋 提交于 2019-12-13 15:31:04
问题 I have a repeating section that contains 3 contact selectors which loads different data for a given object. When I click use the " run query " option to load all of my objects, they are correctly populated for the first item. However, instead of loading all the correct values for the remaining objects, the same values are used for every other object instead of loading them individually for the given object. Each contact selector is in its own group so that when I choose a value, the others