Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8419

Sharing post URL in SAP UI5 - Email and Lync chat

$
0
0

Hi,

 

I have created a share button in my application and it gives two options-  via Email or Lync chat. I get the url by doing document,URL.

 

1. How can I share the Url by opening the lync chat? Is it possible?

 

2. For sharing via email, I am doing this:

 

window.open('mailto:someone@example.com?subject='+subject+'&body='+body+'');

 

But the problem here is:

 

a. I don't want to open a new window. I just want to launch the mail application rather than opening the new window and then opening the mail application. Because when I cancel sending the email, I see the new blank window with the ugly email url on top. I want to avoid this.

 

b. it does not get the default signature, whereas if I just do window.open('mailto:test@example.com');, this gives the signatures.

 

How can I overcome the above constraints?

 

Thank you,

Prab


Viewing all articles
Browse latest Browse all 8419

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>