App Connect

App Connect

Join this online user group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

Using IBM® App Connect to interact with Microsoft OneDrive for Business

By Shahmini Arumugam posted Wed February 15, 2023 12:31 AM

  

Co-author – Srihari Ananda Kumar 

Microsoft OneDrive for Business is a cloud service that connects you to all your files. It enables you to store and protect your files, share them with others, and access them on all your devices from any location. Use Microsoft OneDrive for Business to access shared files and folders from any device, even when you're offline.

Building a flow in IBM App Connect with Microsoft OneDrive for Business

Use App Connect to build flows that integrate with Microsoft OneDrive for Business and other applications. The connector is displayed as Microsoft OneDrive for Business on the App Connect User Interface (UI). 

To allow App Connect to connect to your Microsoft OneDrive for Business account, you need to fill in the connection fields that you see in the App Connect Designer Catalog page or flow editor.

For more information on connection fields, see How to use App Connect with Microsoft OneDrive for Business .

Microsoft OneDrive for Business objects 

The following are the Microsoft OneDrive for Business objects that can be run in App Connect.

Objects

Description

Drives

A drive resource is a user's Microsoft Office OneDrive or a document library in SharePoint.

Files

The Microsoft Office OneDrive file.

Folder items

The Microsoft OneDrive folder items containing sub-folders or files.

Folders

The Microsoft OneDrive folder containing sub-folders or files.

Permissions

A permission resource provides information about a sharing permission granted for a file, folder, or other item stored in a drive.

Shared links

Shared links provide a unique URL that can be used to access a file or folder.

Users

A registered user in Microsoft OneDrive.

Scenario 1: Upload the attachments to Microsoft OneDrive for Business whenever a new issue with attachments is created in Jira

Consider the scenario: When a new issue with attachments gets created in Jira, a file containing the attachments gets created in Microsoft OneDrive for Business.

In this flow:

  1. The flow is triggered whenever a new issue is created in Jira.
  2. Jira retrieves the issue’s attachments based on the Jira issue ID.
  3. For each Jira issue attachment:
    1. Jira Download attachment content operation downloads the attachment as a text based on the Attachment ID.
    2. Microsoft OneDrive for Business Create file operation creates a file with the attachment author’s name with the Jira content as text.

Resources

Try out our templates

You can view the following use cases in the Templates gallery in your App Connect Designer instance.

  • Create a file in Microsoft OneDrive for Business and a Zendesk ticket whenever a Gmail message is received
    Template URL: https://<your-instance-id>/templates/ Create%20a%20file%20in%20Microsoft%20OneDrive%20for%20Business%20and%20a%20Zendesk%20ticket%20whenever%20an%20email%20is%20received%20in%20Gmail
  • Upload the attachments to Microsoft OneDrive for Business whenever a new issue with attachments is created in Jira
    Template URL: https://<your-instance-id>/templates/Upload%20the%20attachments%20to%20Microsoft%20OneDrive%20for%20Business%20whenever%20a%20new%20issue%20with%20attachments%20is%20created%20in%20Jira

You must enable the Designer AI features in your containerized environment in order to access the App Connect templates. For more information, see The preloaded IBM App Connect templates.

You can also import these use cases directly into your App Connect Designer. These templates are added to a public GitHub repository at https://github.com/ot4i/app-connect-templates/tree/cp4i-templates/resources.

0 comments
98 views

Permalink