You searched for the word(s): 12
-
Can you please attach your form template ? when you reply click on option....
-
I have tried something very similar before. However this is the error I get when I try to preview the Infopath (2003) form.
Expected end of statement
File:script.vbs
Line:279
Set oItem = XDocument.DOM.selectSingleNode("//my:myFields/my:fldChoices").cloneNode(true);
any ideas as to why this is ...
-
Here some example of VBS :
Dim oItem
Set oItem = XDocument.DOM.selectSingleNode("XPATH").cloneNode(true)
oItem.selectSingleNode("XPATHNameChild").text = "name"
oItem.selectSingleNode("XPATHIDChild").text = "ID"
XDocument.DOM.selectSingleNode("XPATHParent") .appendChild(oItem)
-
Ok, I suggest you to use a reference field of your node and clone it, after that you append it to real node. To do that create a new group like "reference", right click on your repeating node, select reference...
-
I used code to query for the data. Its not a list. Its user information from GetAllUserCollectionFromWeb.
It returns an xml file that I want to parse and load usernames into a dropdown.
I figured out how to parse it and get the list of usernames and the IDs. but having problem populating the dropdown using the usernames as display names ...
-
hi, when you say [quote user="vamirineni87"] based on xml returned by a sharepoint webservice[/quote] you mean you use the Infopath Wizard or you use code to query your list?
-
I am trying to populate a dropdown in infopath form, based on xml returned by a sharepoint webservice. (I know what u are thinking, why code? I need to perform some business logic before populating it)
The problem i am facing is that I do not know how to add the items to the drop-down.
I found this, ...
-
Oh - so I just set two comparison fields... DUH!!!
Thanks!!! I think I am now brain DEAD!!!
-
Hi Alf,
Site is just an XPathNavigator node, so you treat it like any other and use
Site.SelectSingleNode(".."); to get the parent node. Or if you
know that your XML structure is always going to start with a node named
"my:CompanyTable" then you can traverse back using ...
-
Hi Donna,
If your queryml looked like this:
concat("<query database='#SampleDB#' table='Projects'><filter><eq><column name='Projects'/><value>", field1, "</value></eq></filter></query>")
With two conditions it will look like ...