-
Is your main data source a date data type? Or date time?
If date, use the substring-before function to get the data bafore the space. If datetime, use translate to replace the space with an uppercase T. Look at an XML file in a text editor to see how InfoPath is storing the date values - select a date using a date picker and then save the XML and ...
-
So, if you remove these lines:
XPathNavigator nav = this.CreateNavigator();
string spListJoin = (string)nav.SelectSingleNode("XPathNavigator nav = this.CreateNavigator();", this.NamespaceManager).ValueAs(typeof(string));
What happens?
-
In fact, you don't seem to be using spListJoin at all - so perhaps just do away with that line? What does your GetJoinValue() method do?
-
Hi - among other things, what is this:
string spListJoin = (string)nav.SelectSingleNode("XPathNavigator nav = this.CreateNavigator();", this.NamespaceManager).ValueAs(typeof(string));
SelectSingleNode takes an XPath to the node you wish to select...Here's a link to the MSDN docs.
(qRules has a command for this - much easier ...
-
Do you have access to the SharePoint logs? I'm wondering if there may be more info there.
I'll have to do some more research later today - see if I can figure out what the issue is.
-
I see what I did - I used the wrong form. Sorry!
Here's yours, re-injected.
-
You are saving locally, right clicking and selecting Design, correct?
The original form you attached is an IP 2010, browser form, isn't it?
-
Perhaps you can post a sample showing what you are trying to do? Under the Options tab, you can attach a file....
-
When you have a chance, can you try this one? Thanks!
EDITED: removed incorrect form.
-
How odd.
I'll get another version up again later today, see if we can figure out a way to find out what's going wrong in your environment.