[Share Content] how can we send an image in share content

[Share Content] how can we send an image in share content

  
Forge Component
(1)
Published on 6 Mar by Pedro Marques
1 vote
Published on 6 Mar by Pedro Marques

Hi,

I want  to share the image, for that i am using share content. But there is no binary input parameter to share the image. Can anyone help me in resolving this issue.

Regards,

Koushik 

Hi Koushik,

You can add a JavaScrip Block that receives as input the BinaryData of the Image and the MediaType, and outputs the text URI to be shared.

This is a screenshot of the JavaScript block:

Hope this helps.

Thank you.

CA

how to send pdf attachment in email?


Thanks,

Anggun