getSelectedDataAsync() not working for Read mail scenario in outlook. RRS feed

  • Question

  • Hi 

    I am designing outlook Add-in for office 365 outlook app, and I have a requirement to get the selected text to outlook Add-in from email body. But, getSelectedDataAsync() works only in compose mail scenario and not while Read mail scenario. 

    Is there any alternative?


    - Prashant

    Wednesday, February 14, 2018 11:22 PM

All replies

  • Hello Prashant.Soni,

    It seems that you are developing an Office Add-Ins using Office JavaScript API. 

    As far as I know, at present, Office JavaScript API does not provide any method/property to get selected text in mail body while in read mail mode.

    I would suggest you to go to File->Feedback to submit a suggestion for this function.

    Thanks for understanding.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Monday, February 26, 2018 8:36 AM