web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

NAV OLSync : Email Body Empty

(0) ShareShare
ReportReport
Posted on by

Hi!
I have been trying to set up a bidirectional Outlook Integration using Default Web Services. So Far All the fields are being synced, except the body of the email, from Outlook to NAV.

I am looking to perform some actions on the body but the body string always comes empty.

68m5n5vixfwv.png

Codeunit 5305 - Outlook Synch. Process Line
This particular piece of code returns a blank string for every email.

Any pointers towards this would be very helpful.

*This post is locked for comments

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Maybe you've to check the returned XML, is the format is correct.

    Check the line:

    IF TagName = 'Field' THEN BEGIN

         OProperty := XMLTextReader.GetCurrentNodeAttribute(ChildIterator,'Name');

    Do you have these fields/properties?

  • Community Member Profile Picture
    on at

    Yes there is value in OProperty Variable. 

    The value gets updated with all the fields that i have mapped. 

    When the value of OProperty is Body then the OPropertyValue is Blank;

    I tried to get all the different kind of Bodies from Outlook Mail Item, and got something finally, let it be Junk Values

    2018_2D00_02_2D00_13-15_5F00_40_5F00_56_2D00_Edit-_2D00_-Email-Item.png

    Body is of Blob Type and is Empty, The RTFBody and the HTML Body also doesn't make sense.

    The Body Format Suggests that it is HTML Body, or Text  

    Any pointer on How I can Parse the Value of HTML Body or RTF Body?

    Regards

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans