on 11-10-2013 9:15 PM
Hello,
I have a button component in a Design Studio app which I would like to link
to an Outlook email client.
Example:
Button is named John Doe, user clicks on button and the onclick event calls
the Outlook client with John Doe's email already populated in the send to
field.
I am aware that URL parameters can be passed from one DS app to another but
not sure if this can be achieved with external applications such as MS Outlook.
Any help will be greatly appreciated. Thanks in advance.
Hi,
try this :
APPLICATION.openNewWindow("mailto:someone@emailaddress.com");
it should open your email program.
kind regards,
Jeroen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As Jeroen stated, the mailto function works perfectly for this case.
You can use all applicable parameters for the mailto function, and even use variables to use in the call to outlook:
var compcode = "1000";
APPLICATION.openNewWindow("mailto:someone@somewehere.com&subject=Issue in company code:"+compcode+"&body=Company code"+compcode);
Regards,
Sjoerd
Hello Mirza,
please keep in mind that it then opens the eMail using client side java scripting.
In case the ability to take the dashboard as attachment and send an eMail is an important functionality for your project, feel free to reach out to me as this is a functionality that is part of our Extensions for SAP BusinessObjects Design Studio.
regards
Ingo Hilgefort, Visual BI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ingo,
Do we have a code wherein we can directly attach the pdf generated by expot to pdf button in the below code.
APPLICATION.openNewWindow("mailto:someone@somewehere.com&subject=Issue in company code:"+compcode+"&body=Company code"+compcode);
Thanks,
Himanshu
Hi,
Is there any way to capture the current page screenshot to the email program when using
APPLICATION.openNewWindow("mailto:someone@emailaddress.com");
Thanks,
Kishore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Excellent, it works! Thanks Jeroen and S Van, appreciate your help.
Just an FYI, in my case since I had the emails changing dynamically I had to create a global script variable and mark it as URL parameter so that the email variable would change based on a certain selection. I then simply changed the value of the global variable email within a certain component to reflect this dynamic change.
Best regards,
Mirza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.