Codeunit 7106 O365 Bidirectional Sync

Base Application, Microsoft.CRM.Outlook

Source AL, 723 lines

src/Layers/W1/BaseApp/CRM/Outlook/O365BidirectionalSync.Codeunit.allines 5 to 20 of 723, Copyright (c) Microsoft Corporation. MIT

codeunit 7106 "O365 Bidirectional Sync"{    var        LastSyncCreatedCount: Integer;        NextEntryNo: Integer;        NoContactsFoundMsg: Label 'No contacts found in the selected folder to Synchronize.';        StartMsgTxt: Label 'Retrieving your contacts... This will take some time.';        ContentTypeLbl: Label 'application/json', Locked = true;        ResponseLbl: Label 'Folder ID not found in the response.';        RetrievedContactsMsg: Label 'Found %1 contacts', Comment = '%1 = count of contacts';        InvalidJsonMsg: Label 'Invalid JSON response received from Microsoft Graph.';        NoContactsDataMsg: Label 'No contacts data found in the response.';        NoContactFoldersMsg: Label 'No contact folders found in the response.';        AccessTokenEmptyMsg: Label 'Access token cannot be empty';        DefaultFolderTxt: Label 'Default', Locked = true, Comment = 'Default folder Name';        GraphUrlPrefixTxt: Label 'https://graph.microsoft.com/v1.0/', Locked = true;

All 723 lines

Public procedures 6 in 29

GetContacts(AccessToken: SecretText; var OutSyncQueue: Record "Contact Sync Queue" temporary; ContactFilterText: Text; FolderId: Text)new in 28
Pending, tag 29.0, obsolete since 28: Removed due to Contact Sync redesign, will be deleted in future release.
GetLastSyncStartDateTime(): DateTimenew in 28
Pending, tag 29.0, obsolete since 28: Removed due to Contact Sync redesign, will be deleted in future release.
GetContacts(AccessToken: SecretText; var OutSyncQueue: Record "Contact Sync Queue" temporary; ContactFilterText: Text; FolderId: Text; FullSync: Boolean; var DeltaLink: Text)new in 28
GetLastSyncCreatedCount(): Integernew in 28
GetContactFolders(AccessToken: SecretText; var OutFolderTable: Record "Contact Sync Folder" temporary)new in 28
CreateFolderinO365(accessToken: SecretText; var OutFolderTable: Record "Contact Sync Folder" temporary; FolderName: Text): Textnew in 28