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 1 (4 items) Re: add values to repeating table of a WS with JScript, infopath 2003 Yeah, it works! Thank you very much for your help! The information to look in the template.xml helps a lot! for others... this is my running code now: >> XDocument.View.ExecuteAction("xCollection::insert", "tbl_UserRow_11"); var userRowNode = ... Posted to Code (Forum) by Ulk31 on 12-17-2008 Re: add values to repeating table of a WS with JScript, infopath 2003 Hi, ok, I went through the links. My code looks like this now: >> XDocument.DOM.setProperty("SelectionNamespaces", 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:q="http://schemas.microsoft.com/office/infopath/2003/ado/queryFields" ... Posted to Code (Forum) by Ulk31 on 12-17-2008 Re: add values to repeating table of a WS with JScript, infopath 2003 Hi Shiva, thank you very much for your quick response. I tried it, but I get the error: "not declared namespace-prefix: 'd'" something must be wrong at the end of the xpath ...tns:getInstanceResult/d:workitem/d:tbl_User/d:tbl_UserRow" Do you have any idea? Regards Ulk Posted to Code (Forum) by Ulk31 on 12-16-2008 add values to repeating table of a WS with JScript, infopath 2003 Hi, I'm albe to insert an new line with XDocument.View.ExecuteAction("xCollection::insert", "tbl_UserRow_11"); but how can I add values to the fields of the new line? My primary datasource (implemented as a webservice) looks like this: - myFields - dataFields - ... Posted to Code (Forum) by Ulk31 on 12-16-2008 Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.