If you are unable to create a new account, please email support@bspsoftware.com

 

HTML item Call outlook and put ReportName () function into the body of the email

Started by Cognos Talk, 15 Aug 2016 12:18:05 PM

Previous topic - Next topic

Cognos Talk

Hi,
I created an HTML item to call Microsoft outlook and send email from Report Studio but cannot figure out how to put reportname and username into the body of the email, just to make this html item generic

here is my HTML item

<a href="mailto:ttt@ttt.com?subject=Subscribe to Report Distribution&body=Click
<a href=%22http://www.google.com%22>Here</a> to go to google.com">Please subscribe me to this report</a>



Can you please help,
Thanks You.

AnalyticsWithJay

Hi,

You have to break up your string and assemble it using concatenation operator (+). Use a layout calculation.

Example syntax:
"<a href='#&body='" + ReportName () + '...'