-
Glad to help. Do open new threads if your new topics are different than this thread.
I think that understanding XPath and how to reference the different fields in your form is key to being able to get very far with InfoPath (and I still struggle sometimes myself!). When you have time, I really recommend this tutorial from W3 schools, it may help ...
-
Since your namespace manager code was working for you in your initial sample, stick with that.
Looking at your schema and the placement of your button, I'd think you'd get values from these lines:
string csitem = e.Source.SelectSingleNode("ns:CSItemVersion", ...
-
Are you using InfoPath 2003 or 2007?
For 2007, it is like:
XmlForm newDocument = this.Application.XmlForms.NewFromFormTemplate(@"C:\MyForm.xsn");
code snippet copied from MSDN documentation located here.
-
I'm looking at the code snippet you posted in your first post -- that was working, just always bringing back the first items in each repeating group, is that correct? I also noticed that you are pulling fields from more than group.... can you post your form here? Under Options when you reply, attach the .xsn....
-
So your open rules don't run when you open it in the browser? Does the design checker show any errors?
-
What does your code look like? It would help to see it.
-
Here is some sample jscript from MSDN that submits with an email adapter:
var objEmailAdapter;
objEmailAdapter = XDocument.DataAdapters("Email Submit");
objEmailAdapter.To = "list@example.com";
objEmailAdapter.Subject = "Status Report";
objEmailAdapter.Submit();
You can replace "Email Submit" with the ...
-
Hi:
Check out qRules -- it has functionality you can use to save attached files to a SharePoint library and replace with a link...
-
My replies seem to have gotten a bit out of order. The conditional formatting is causing your issue with the columns. But as far as those checkboxes go....
Here's the thing. You've built this section off a secondary data source with a receive connection. Those checkboxes will always display the value from the data source when the data ...
-
I bet it has to do with the rounding in the formulas used to conditionally format and decide what to show in what column...You may need to adjust those based on the counts of the rows returned to get them to line up correctly w/out duplicates...