Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikhalmar
Creator
Creator

Dynamic email recipient from variable

Hi All,

I am struggling with a new feature. I have a QVW with 3 ID's. Every ID has a number of rows. I made a Pixel perfect report and want to use a cycle to generate 3 reports.

In my QVD is a field email address. For every ID a different address. I have made two variables: vEmail (MAXSTRING(EmailField)) and vEmailNP (=$(vEmail)). The variable vEmailNP have i added to the recipient field in my email message. I also added a normal user.

I expect that every report was send to a different email address during the cycle. But it didn't work.

Can anyone help me with this one?

 

Thanks!

Labels (2)
1 Solution

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi - this is not how this feature works.

Your variable will be evaluated against the set of filters for the user/recipient. It will not evaluate against each cycle value.  So, your assumption is wrong and it will not work. 

If your goal is to link each individual ID with individual emails you should link this via individual recipients.

regards

Lech

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.

View solution in original post

1 Reply
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi - this is not how this feature works.

Your variable will be evaluated against the set of filters for the user/recipient. It will not evaluate against each cycle value.  So, your assumption is wrong and it will not work. 

If your goal is to link each individual ID with individual emails you should link this via individual recipients.

regards

Lech

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.