SK SKYVVA Documentation

161. How to use Microsoft One Drive Adapter

Introduction

SKYVVA Microsoft control board allows user to perform extract, transform, and load  tasks in the cloud. With the  Microsoft OneDrive, user get live access to Microsoft OneDrive data, directly within SKYVVA Microsoft control board . In this chapter, we talk connecting to Microsoft OneDrive through the SKYVVA and generating a mapping that can be used in any SKYVVA Microsoft control board process. This tutorial is to show our new OneDrive connector to save data from Salesforce into a OneDrive file. With Microsoft OneDrive, you can easily and securely store and access your files from all your devices. User can work with others regardless of whether they’re inside or outside your organization and terminate that sharing whenever you want. OneDrive helps protect your work through advanced encryption while the data is in transit and at rest in data centers.

Pre-required:

Microsoft OneDrive Integration

[su_box title="Note" box_color="#2a8af0" title_color="#000000"]New Microsoft One Drive Adapter is working with following 3 file structure.[/su_box]

How to configure Adapter in Microsoft Control Board:

Microsoft One Drive CSV Outbound Adapter

1) Create Metadata Provider, IStructure Repository and Create Flat Structure. 2) How to Create Microsoft One Drive CSV Outbound Adapter:

3) Create Integration and Outbound Interface:

[aux_code language="javascript" theme="tomorrow" title="" extra_classes=""]skyvvasolutions.CallOutControl c = new skyvvasolutions.CallOutControl(); c.returnJSONComplete=true; c.actionDoIntegrate=false; c.isCreateMessage=true; String[] ids= new String[]{'0011j000015ikjBAAQ','0011j000015ikjCAAQ'}; List result = skyvvasolutions.Iservices.invokeCalloutV3('Microsoft_OneDrive_Integration','MODrive_CSV_Request',ids,'SYNC',c); [/aux_code]

[su_box title="Note" box_color="#2a8af0" title_color="#000000"]When user creating csv file then use , ; Tab And | operator with Microsoft one drive outbound adapter.[/su_box]

Microsoft One Drive JSON Outbound

1) Create Metadata Provider, IStructure Repository and Create Hierarchical Structure. 2) How to Create Microsoft One Drive JSON Outbound Adapter:

3) Create Integration and Outbound Interface:

- Link Outbound Adapter: MODrive_JSON_Request_Adp

[aux_code language="javascript" theme="tomorrow" title="" extra_classes=""]skyvvasolutions.CallOutControl c = new skyvvasolutions.CallOutControl(); c.returnJSONComplete=true; c.actionDoIntegrate=false; c.isCreateMessage=true; String[] ids= new String[]{'0011j000015ikjBAAQ','0011j000015ikjCAAQ'}; List result = skyvvasolutions.Iservices.invokeCalloutV3('Microsoft_OneDrive_Integration','MODrive_JSON_Request',ids,'SYNC',c); [/aux_code]

Microsoft One Drive XML Outbound Adapter

1) Create Metadata Provider, IStructure Repository and Create Hierarchical Structure. 2) How to Create Microsoft One Drive JSON Outbound Adapter:

3) Create Integration and Outbound Interface:

[aux_code language="javascript" theme="tomorrow" title="" extra_classes=""]skyvvasolutions.CallOutControl c = new skyvvasolutions.CallOutControl(); c.returnJSONComplete=true; c.actionDoIntegrate=false; c.isCreateMessage=true; String[] ids= new String[]{'0011j000015ikjBAAQ','0011j000015ikjCAAQ'}; List result = skyvvasolutions.Iservices.invokeCalloutV3('Microsoft_OneDrive_Integration','MODrive_XML_Request',ids,'SYNC',c); [/aux_code]

Microsoft One Drive CSV Inbound Adapter

1) Create Metadata Provider, IStructure Repository and Create Flat Structure. 2) How to Create Microsoft One Drive CSV Inbound Adapter:

3) Create Integration and Inbound Interface:

Callout:

[su_box title="Note" box_color="#2a8af0" title_color="#000000"]If adapter property What to do with the file after Processing? Is Delete File and Item Id means fileid of .csv file in Microsoft one drive example: CF45F67E90466AE7%21187 so after processing, it will be delete file from Microsoft one drive.[/su_box]

Microsoft One Drive JSON Inbound Adapter

1) Create Metadata Provider, IStructure Repository and Create Hierarchical Structure. 2) How to Create Microsoft One Drive JSON Inbound Adapter:

3) Create Integration and Inbound Interface:

Callout:

[su_box title="Note" box_color="#2a8af0" title_color="#000000"]If adapter property What to do with the file after Processing? Is Delete File and Item Id means fileid of .json file in Microsoft one drive example: CF45F67E90466AE7%21187 so after processing, it will be delete file from Microsoft one drive.[/su_box]

Microsoft One Drive XML Inbound Adapter

1) Create Metadata Provider, IStructure Repository and Create Hierarchical Structure. 2) How to Create Microsoft One Drive XML Inbound Adapter:

3) Create Integration and Inbound Interface:

Callout:

[su_box title="Note" box_color="#2a8af0" title_color="#000000"]If adapter property What to do with the file after Processing? Is Delete File and Item Id means fileid of .xml file in Microsoft one drive example: CF45F67E90466AE7%21187 so after processing, it will be delete file from Microsoft one drive.[/su_box]

Open this article in the interactive viewer →