{"title":"Codeunit 5320 Exchange Web Services Client, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5320-exchange-web-services-client/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":5320,"name":"Exchange Web Services Client","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5320-exchange-web-services-client/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5320-exchange-web-services-client/source/","path":"src/Layers/W1/BaseApp/System/Exchange/ExchangeWebServicesClient.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:5320":{"name":"Exchange Folder","url":"https://jonas-paprotka.de/ref/table/5320-exchange-folder/"},"codeunit:4030":{"name":"Client Type Management","url":"https://jonas-paprotka.de/ref/codeunit/4030-client-type-management/"}},"procs":[{"name":"GetPublicFolders","line":47,"kind":"procedure","params":1,"steps":[[49,"call","IsServiceValid",0],[55,"call","GetPublicFoldersOnClient",1],[63,"call","GetPublicFoldersOnServer",1]]},{"name":"GetPublicFoldersOnClient","line":71,"kind":"procedure","access":"local","params":1,"steps":[[84,"ext","table",5320,"GetUniqueID",0],[86,"write",5320,"Modify"],[101,"call","IsAllowedFolderType",1],[106,"ext","table",5320,"SetUniqueID",1],[109,"write",5320,"Insert"],[113,"call","ReadBuffer",1],[117,"call","LogLastClientError",0]]},{"name":"GetPublicFoldersOnServer","line":124,"kind":"procedure","access":"local","params":1,"steps":[[135,"ext","table",5320,"GetUniqueID",0],[137,"write",5320,"Modify"],[152,"call","IsAllowedFolderType",1],[157,"ext","table",5320,"SetUniqueID",1],[160,"write",5320,"Insert"],[164,"call","ReadBuffer",1],[168,"call","LogLastServerError",0]]},{"name":"InitializeOnClient","line":176,"kind":"procedure","params":2,"steps":[[183,"ext","codeunit",4030,"GetCurrentClientType",0],[186,"call","InvalidateService",0],[201,"call","LogLastClientError",0]]},{"name":"InitializeOnServer","line":207,"kind":"procedure","params":3,"steps":[[213,"call","InvalidateService",0],[228,"call","LogLastServerError",0]]},{"name":"InitializeOnServerWithImpersonation","line":235,"kind":"procedure","params":3,"steps":[[241,"call","InvalidateService",0],[259,"call","LogLastServerError",0]]},{"name":"FolderExists","line":266,"kind":"procedure","params":1,"steps":[[270,"call","IsServiceValid",0],[280,"call","LogLastClientError",0],[288,"call","LogLastServerError",0]]},{"name":"ReadBuffer","line":294,"kind":"procedure","params":1,"steps":[[302,"write",5320,"Insert"]]},{"name":"ValidateCredentialsOnServer","line":341,"kind":"procedure","params":0,"steps":[[345,"call","LogLastServerError",0]]},{"name":"ValidateCredentialsOnClient","line":353,"kind":"procedure","params":0,"steps":[[357,"call","LogLastClientError",0]]}]}