{"id":242,"date":"2005-04-12T14:59:07","date_gmt":"2005-04-12T12:59:07","guid":{"rendered":"http:\/\/10.0.0.2\/wordpress\/?p=242"},"modified":"2005-04-12T14:59:07","modified_gmt":"2005-04-12T12:59:07","slug":"erp_g_outlook_synchronisation","status":"publish","type":"post","link":"https:\/\/www.switchbl8.nl\/blog\/2005\/04\/erp_g_outlook_synchronisation\/","title":{"rendered":"ERP -> Outlook synchronisation"},"content":{"rendered":"<p>Yesterday, I corrected a little bug I discovered. When an appointment had several attendees, my program would create multiple entries in Outlook, each with one attendee. I moved a line of code and now things work like they should.<\/p>\n<p>What I want to achieve, is marking the appointments in a non-default color, which you can do in Outlook manually in the New->Appointment dialog. By default Outlook chooses None, but you have Important, Personal, Holiday, etc. The odd thing is, that the &#8220;label&#8221; (as it is called in the dialog) is not an exposed property of the AppointmentItem you can set.<br \/>\nYou need to access Outlook via de MAPI-interface, look for the Calendar-folder, find the item in the Calendar folder, and then change some properties. Very odd, and not very well documented. I spend a great deal of the evening looking for samples how to do it, but so far I have no working code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday, I corrected a little bug I discovered. When an appointment had several attendees, my program would create multiple entries in Outlook, each with one attendee. I moved a line of code and now things work like they should. What I want to achieve, is marking the appointments in a non-default color, which you can <a href='https:\/\/www.switchbl8.nl\/blog\/2005\/04\/erp_g_outlook_synchronisation\/' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,5,39,18],"tags":[],"class_list":["post-242","post","type-post","status-publish","format-standard","hentry","category-net","category-business","category-c","category-office-tools","category-34-id","category-5-id","category-39-id","category-18-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/comments?post=242"}],"version-history":[{"count":0,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/242\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/media?parent=242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/categories?post=242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/tags?post=242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}