-
Hi -- I'm wondering if it is because you are calling your DeleteFirstEmptyItemMemory() method inside your for each loop. It is set to delete the first node, whether it is blank or not, so I'd imagine it would delete a row each time you went through the loop.... might be safer to do something like this:
XPathNavigator itemNav = ...
-
I've built an InfoPath form that queries WMI data and displays it in the form so that we can submit the info to a SharePoint list.
I'm putting on the final touches and am having problems with one small section. When i query the RAM, i have it display the information into a repeating table. The problem is when i create the ...
-
Post back with questions as they arise. Understanding what the code is doing is the first step to writing your own!
-
You're a genius! That worked exactly like you'd expect it to. Now I need to sit down and study your code, and see if I can wrap my head around it enough to put it into VB so that I can reuse the concepts. Thank you so much! You've taught me an invaluable amount of information.
-
Well, let's try this -- append the cloned node, then, since that will be the new last node in the ApplicationAccess group, we'll grab that and set the value. So this:
newNode.SelectSingleNode("@Applications", this.NamespaceManager).SetValue(auxDomNode.Value);
parent.AppendChild(newNode);
To ...
-
The field, in comparison to the @Applications field, would be @Officer, @Backup_Officer, @Officer_Email, @Backup_Email. LOL All of those fields are filling automatically when I select from the drop down, just can't for the life of me get them to fire when the code is applied.
I have a custom submit button (because I submit ...
-
That is kind of annoying -- this is something I've done in IP 2003 Object Model, and my rules fire when I append first. In the test form I was using for the original code I posted, the behavior is as you report, which would mean a change between IP 2003 and 2007.
Where is your field that is being set located in your data structure? Do you ...
-
Which is exactly what I thought. The result, however, was unexpected. It gives me a blank first line and does not fire the rule.
-
Okay, so I see:
newNode.SelectSingleNode("@Applications", this.NamespaceManager).SetValue(auxDomNode.Value);
parent.AppendChild(newNode);
But to have your rule fire, I'd want to see:
parent.AppendChild(newNode);
newNode.SelectSingleNode("@Applications", this.NamespaceManager).SetValue(auxDomNode.Value);
So ...
-
Yes, the rule is set on @Applications node of the data being filled in with this code. The rule is to set the Officer field filtered with @Application=current().
public void CTRL66_7_Clicked(object sender, ClickedEventArgs e)
...