-
Sorry, Tom - I've been meaning to get back to this and give it a try, but haven't had time - I'll see if we have someone who can try to reproduce this.
-
Not dumb at all. Right click the link and select Save As to save the file locally. Then right click the local, saved file and select Design to open in design mode.
-
Happy to take a look - sorry I couldn't see anything - you are right, that initial error when you try to open in design mode is not at all helpful.
-
Hey, Doreen - email it to me & I'll take a look.
-
Here's the correct link:
http://www.infopathdev.com/files/folders/examples/entry90343.aspx
I'll also edit Patrick's post above with the correction.
-
Looking again at your code:
Try
Dim node As XPathNavigator = Me.MainDataSource.CreateNavigator().SelectSingleNode( ...
-
Don't be embarrassed - I looked at it a half dozen times before I saw it too - but that's why I was pressing for the production mapping file and schema - logically, the reason you'd get that error is because of an XPath mismatch (which is what, in the end, you had). Glad it is all working. :)
-
You should set the command to a formula (click the fx) and use a concat formula:
concat("DeleteFromSharePoint /url=https://forms.corp.integris-health.com/eForms/Staging/_layouts/FormServer.aspx?XmlLocation=/eForms/Staging/Submitted/, ../@my:Key, ".xml")
-
The mapping has ActivtyID for the ID - it is misspelled - missing an "i" between "v" and "t" - I didn't see it till I ran the code in debug and even then had to walk through it twice to catch that missing "i". Update your mapping file and try your production form again.
-
May I also see a screenshot of the schema in your production form for my:myFields/my:Activities/my:ActivityGroup?