locked
Send email to multiple users from the infopath form RRS feed

  • Question

  • Hello,

    I am working on infopath 2010. I have requirement where I have to collect the multiple approvers(person picker) using the infopath form and send an email.

    I have a repeating table with "Person picker" control.

    I have a text field outside the repeating control.

    I have created a secondary data source to the web service and referenced it to "GetUserProfileByName web method"

    But when I use this formula in the text field fx = "xdMath:Eval(xdMath:Eval(../my:group/pc:Person,'concat(../my:group/pc:Person/pc:AccountId, ";")'), "..")" I get the follwing error.

    "../my:group/my:group/pc:Person/pc:AccountId" does not point to a valid location path of a field or group.

    I have followed this link.

    http://alecpojidaev.wordpress.com/2008/12/16/infopath-codeless-programming-walkthrough/ 

     

    Please help.

    Thanks in advance,

    Suma.





    Monday, July 18, 2011 9:00 PM

Answers

  • Suma,

    You can create a person column in your form library and link your people picker field to this column when you publish the form.

    • Marked as answer by Lily Wu Saturday, July 30, 2011 1:55 PM
    Monday, July 18, 2011 9:58 PM
  • Next time try to follow instructructions more precisely. The address inside concat in the article is not that long as you posting here isn't it?

    Please replace 'concat(../my:group/pc:Person/pc:AccountId, ";")' with 'concat(pc:AccountId, ";")'


    http://alecpojidaev.wordpress.com
    • Marked as answer by Lily Wu Saturday, July 30, 2011 1:55 PM
    Monday, July 25, 2011 1:26 PM

All replies

  • Suma,

    You can create a person column in your form library and link your people picker field to this column when you publish the form.

    • Marked as answer by Lily Wu Saturday, July 30, 2011 1:55 PM
    Monday, July 18, 2011 9:58 PM
  • Next time try to follow instructructions more precisely. The address inside concat in the article is not that long as you posting here isn't it?

    Please replace 'concat(../my:group/pc:Person/pc:AccountId, ";")' with 'concat(pc:AccountId, ";")'


    http://alecpojidaev.wordpress.com
    • Marked as answer by Lily Wu Saturday, July 30, 2011 1:55 PM
    Monday, July 25, 2011 1:26 PM