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.
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
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
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
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?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,228 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156