Outlook Integration with Public Folders
Daniel
Member Posts: 5
How is it possible to transfer contact addresses from Navision V3.60 to Outlook 2000 (SP-3) public folders without failures.
Transferring to Outlook's personal folders is working faultless!
Does anyone know if this is possible or certain permissions have to be set in Navision, Outlook or on the Exchange Server?
Are there information and documentation about OLWrapper.dll?
Thanks in advance for your answers
Daniel Kempf
Transferring to Outlook's personal folders is working faultless!
Does anyone know if this is possible or certain permissions have to be set in Navision, Outlook or on the Exchange Server?
Are there information and documentation about OLWrapper.dll?
Thanks in advance for your answers
Daniel Kempf
0
Comments
-
This is no problem at all. here's an example (with swedish fhieldnames)
OlFolders := OlApp.GetNamespace('MAPI').Folders;
OlMapiFolder := OlFolders.Item('Public Folders');
OlFolders := OlMapiFolder.Folders;
OlMapiFolder := OlFolders.Item('Favorites');
OlFolders := OlMapiFolder.Folders;
OlMapiFolder := OlFolders.Item('MyPublicFolder');
OlFolders := OlMapiFolder.Folders;
OlMapiFolder := OlFolders.Item('MyPublicSubFolder');
OlContact := OlMapiFolder.Items.Add('IPM.Contact.MyCustomForm');
OlContact.FullName := Kontakt.Namn;
OlContact.CompanyMainTelephoneNumber := Prospect.Telefonnr;
OlContact.BusinessAddressCity := Prospect.Ort;
OlContact.BusinessAddressCountry := Prospect.Landkod;
OlContact.BusinessAddressPostalCode := Prospect.Postnr;
OlContact.BusinessAddressState := Prospect.Delstat;
OlContact.BusinessAddressStreet := Prospect.Adress;
OlContact.BusinessFaxNumber := Prospect.Telefaxnr;
...and all other fields You want to populate
OlContact.Display;
Have Fun!
//LarsLars Westman
http://www.linkedin.com/in/larswestman0 -
Thanks Lars!
Basically it works! Where would you integrate it into Navision that the synchronisation for new created contacts works bidirectionally also?0 -
You might take a look in versoin 3.60, codunit 5069 and the function RetrieveContact. There You can see how You can use the OlContactID, which is a unique identifier of a contact in Outlook. I think You have the same kind of identifiers on other types of Outlook items as well.
If You store the ID in Navision You should be able to see which has been added in Outlook and import them to Navision.
Good louck!
//LarsLars Westman
http://www.linkedin.com/in/larswestman0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 322 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions