on 01-29-2009 4:35 PM
Hi All,
I am using the LinkToURL element to send email to a user in a Web Dynpro Application. This is working fine.
I have now a requirement to send emails to a group of users.
I am trying to use the LinkToURL element to send emails to multiple users, the LinkToURL is mapped to an attribute in the Context Node and my problem is that I am not able to get all the emails. I am just getting the first email in the LinkToURL.
If I map the attribute to a table I have multiple emails there.
Please help or let me know how I can accomplish this?
Thanks a lot.
Regards,
Ridouan
Hi Taibi,
With link to URL UI element you will have to generate the URL Link before hand. ie at rendering time the link will have to be constructed. I believe that you are using mailto syntax for sending mail. You will have to construct the URL will all the recipients.Since LinktoURL can accept only one source, mapping the LinkToURL to an attribute will only take the first element. What you have to do is in your wdDoModify first time you can construct the mailto URL string that has all the recipients and then set it to the LinkToURL. You can search google on how to create a mailto URL with multiple recipients.
If you don't have all the email addresses at rendering time you can use LinkToAction UI Element which will run your code when you click it. LinkToURL is a client side event, no round trip will happen.
Hope this Helps.
Regards,
Sanyev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.