-
Here is compact codeless method:
http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/
-
Codeless solution looks nice. Although looking at the code I wasn't been able to figure out if leap years were taken into account. So I had no choice but create somthing by myself.
http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/
web-based forms: OK
IP 2003: not OK
-
That might help:
http://alecpojidaev.wordpress.com/2008/12/16/infopath-codeless-programming-walkthrough/
-
I believe everything is fixed now. Web-based forms are OK. Check my updated blog.
http://alecpojidaev.wordpress.com/2008/12/16/infopath-codeless-programming-walkthrough/
I still prefer to send email via InfoPath (submit to email) to eliminate workflow part.
Thanks for
xdMath:Eval(xdMath:Eval(../my:Requestor/my:Person, ...
-
For some reason I cant test web enabled form. Anyway, could you please try that XPath:
../my:Requestor/my:Person[0 + /my:myFields/my:Counter]/my:AccountId
Will you get the same error?
-
Please check it twice. I noticed that my initial post had wrong quotes and it's posible to copy/paste them into InfoPath. So if you hadn't fix them intentionaly they should be wrong ones.
-
Take a look on quotes you are using ”;”. They are wrong ones. Use ";"
-
First I would try to check if iteration is happening at all. For that you need temporary replace XPath expression in 3rd action to
concat(../my:HlinkToEmail,”;”,../my:To/my:Person[number(/my:myFields/my:fCounter)]/my:AccountId)
so if iteration is working the result should be concatenation of login names.
Also make sure that 2 ...
-
I had that problem until started using function number() in referencing expessions like that: referencedNode[number(integerTypeNode)]. For some reason It's not enough to be an integer node for proper referensing.
-
I have a blog with solution exactly for that problem
You don't need workflow to form string with emails. Do everything in InfoPath.
http://alecpojidaev.wordpress.com/2008/12/16/infopath-codeless-programming-walkthrough/
Edit: The new changes been applied to support web-based forms.