Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 1 of 2 (13 items) 1 2 Next > XML Data Source, Repeating table I want to fill a repeating table with a data connection to a xml (included in the project as a resource file). This works fine in the Infopath preview but not in the browser (IE). The ''Design Checker'' doesn't warn me anytime. The xml looks like this: <?xml version=''1.0'' encoding=''utf-8''?> <ColumnNames> <option id=''oa'' ... Posted to Data Connections (Forum) by Kun on 02-26-2007 Re: Create new item in SP form library by code That means I have to extract the .xsn file and use the schema definition in this cab file? Is there any code snippet how this works? Posted to SharePoint Integration (Forum) by Kun on 02-08-2007 Create new item in SP form library by code How can I write custom code that creates a new item in a Sharepoint form library? The only way I find out is to open an existing item via the object model and modify its nodes. But what can I do if no file exists? This is my current approach (that uses an existing file to create a new one): SPFile spTemplate = ... Posted to SharePoint Integration (Forum) by Kun on 02-07-2007 Re: 2 DDLs: strange item (dis)appears in the 2nd DDL!? quote:One question that I have for you is #8211; Are you clearing the values from second ddl when the value in first ddl is changed? Yes, the second xml data source is cleared and empty! quote: Have you gone through this tutorialhttp://www.infopathdev.com/howto/tutorials/default.aspx?i=4e038a7f3f5b443bbe4db49f86d95fba which talks about two or ... Posted to Controls (Forum) by Kun on 01-09-2007 After adding an item to a IP form - SP doesn't see When I want to add a new control in an Infopath 2007 form and upload/update the form library the published control names do not appear in the Sharepoint list. Even if I try to modify the view the newly added control items are not selectable. At the moment the only way I can see is to delete all content of this form library, delete the form ... Posted to SharePoint Integration (Forum) by Kun on 01-08-2007 2 DDLs: strange item (dis)appears in the 2nd DDL!? I'll try to sketch my problem: I've two drop down lists (ddl). When the first ddl is changed the second should be filled with some values. The filling is no problem anymore, but the first item in the second ddl is the name (e.g. guid) of the first selected item. If I select one item in the second (wrongly) filled ddl, this name suddenly ... Posted to Controls (Forum) by Kun on 01-08-2007 Re: FormState["_memberVariable"] = Class quote:are you writing this in codebehind an InfoPath form or is this a SharePoint web part? Can you give us some context here? It's a codebehind file, ''FormCode.cs'', VSTA. Not a webpart! Does this help? Posted to Code (Forum) by Kun on 12-14-2006 FormState["_memberVariable"] = Class Is it just possible to store elementary data types in FormState[]? I want to do something like that: private SPListItemCollection _memberVariable { get { return FormState[''_memberVariable''] as SPListItemCollection; } set { ... Posted to Code (Forum) by Kun on 12-13-2006 Re: How access to a data connection in a resource file I wanted to do exactly the same as you proposed but this does not work. The bold marked line is the problem. In the debug window both InnerXml properties seem to be the same!? Why can't I set it this way? System.Xml.XPath.XPathNavigator fieldxpn; // the new values in the drop down list String[] newItems = { ''11111'', ''22222222'', ... Posted to Data Connections (Forum) by Kun on 12-11-2006 How access to a data connection in a resource file How can I access a data connection, represented as a xml data source in a resource file in managed code? I use Infopath 2007 and VS 2005 and I've just found IP 2003 code: IXMLDOMDocument2 domSecondaryXML = (IXMLDOMDocument2)thisXDocument.CreateDOM(); domSecondaryXML.async = false; domSecondaryXML.load(''participantFields.xml''); What are the ... Posted to Data Connections (Forum) by Kun on 12-08-2006 Page 1 of 2 (13 items) 1 2 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.