-
Great! Glad I was able to help!
-
This usually occurs because there is not match found. The actual stored value will be displayed as both Value and DisplayName when no match is found in the options source list.
I am assuming your drop-down is populated from a secondary data source. So my initial inclination is that your data source is somehow different (filtered?) based on the ...
-
Is your attribute actually named ''@DB_Name.txt'' or ''@DB_Name''? You probably need to reference it according to its actually name... which likely does not include the ''.txt'' portion.
-
Hi edove - It is customary in these forums to only post your question once. Double posting is unnecessary and splits the threads making it difficult for people to research an issue. Your duplicates have been removed.
-
XDocument.DOM refers to the MAIN data source. When you start with a blank form and add the connection later, you are now working with a SECONDARY data source. You cannot access a secondary data source via XDocument.DOM. Instead you need to use XDocument.GetDOM(''Name of Data Source'').selectNodes(...);
-
Look at Tools | Default Values to make sure that the nodes those sections are bound to are present when you start a new form (i.e. the check box is selected).
The other thing that concerned me was you said that you had the sections inside the layout table. The layout table for the particular row should have been inside the section -- not the ...
-
-
The selectSingleNode() is not working because your XPath is incorrect -- specifically, the namespaces are not accurate. Also, GUID is an element and not an attribute.
Try this:
XDocument.DOM.selectSingleNode(''/dfs:myFields/dfs:dataFields/tns:XUmmeldProcessRequest/tns:DocumentPrefs/tns:GUID'').text = Math.random()*1000;
-
-