DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Because the DevOps movement has redefined engineering responsibilities, SREs now have to become stewards of observability strategy.

Apache Cassandra combines the benefits of major NoSQL databases to support data management needs not covered by traditional RDBMS vendors.

The software you build is only as secure as the code that powers it. Learn how malicious code creeps into your software supply chain.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

Related

  • SharePoint Integration With MuleSoft
  • Commonly Occurring Errors in Microsoft Graph Integrations and How To Troubleshoot Them (Part 7)
  • Revolutionize Your MuleSoft Deployments With GitOps
  • MuleSoft Integrate With ServiceNow

Trending

  • Event-Driven Microservices: How Kafka and RabbitMQ Power Scalable Systems
  • How to Create a Successful API Ecosystem
  • Apple and Anthropic Partner on AI-Powered Vibe-Coding Tool – Public Release TBD
  • Using Java Stream Gatherers To Improve Stateful Operations
  1. DZone
  2. Software Design and Architecture
  3. Integration
  4. How to Integrate SharePoint With MuleSoft

How to Integrate SharePoint With MuleSoft

In this tutorial, learn how to integrate SharePoint with MuleSoft (Mule 4) and perform some basic operations.

By 
Nagaraju Kshathriya user avatar
Nagaraju Kshathriya
·
Jan. 12, 21 · Tutorial
Likes (3)
Comment
Save
Tweet
Share
8.1K Views

Join the DZone community and get the full member experience.

Join For Free

This tutorial will help you integrate SharePoint with MuleSoft (Mule 4) and perform some basic operations. 

Microsoft SharePoint Connector supports both SharePoint 2013 and SharePoint Online for the use in the cloud and on-premises. 

It is used to manage content and documents. We can perform multiple operations with SharePoint like file upload, folder creation, reading files, etc.

Integrating SharePoint With MuleSoft

Before get started, make sure to have access to SharePoint. If not, please create a free trial account and obtain the credentials.

Once you have access to SharePoint, follow the below steps to connect SharePoint with MuleSoft in Mule 4. 

SharePoint Global Configuration: 

Now, let’s perform a few basic operations such as “Create folder” and “Upload a sample file to folder.” 

Follow the below steps to create the folder and upload a sample PNG file to the SharePoint folder. 

Step 1: Drag and drop HTTP Listener and configure accordingly to trigger a request. 

Step 2: Add SharePoint Folder create node and configure as shown below: 

Here, the connector configuration and the URL (Folder location) is mandatory. For example, /Share Documents/Vanchiv creates a new folder Vanchiv under Shared Documents 

Step 3: Now add File Read node and configure to read a sample PNG file as shown below: 

Step 4: Now add SharePoint File add node to upload the retrieved file to folder. 


Step 5: Finally, add a transform message to send a success response to users/clients.

JSON
 




x


 
1
%dw 2.0 
2
output application/json
3
---
4
{     
5
     "message": "The file has been uploaded to SharePoint"
6
}


The flow would look like: 

Now, run the application and fire a sample request, then verify the whether the folder and file present in SharePoint or not. 

There, you can see a new folder Vanchiv and a PNG file SharePoint-config has been uploaded. You can perform other operation in a similar way. 

Conclusion

We hope this article helped you to integrate SharePoint with MuleSoft in Mule 4 and also perform a few basic operations using SharePoint connector.

SharePoint MuleSoft Integration

Published at DZone with permission of Nagaraju Kshathriya. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • SharePoint Integration With MuleSoft
  • Commonly Occurring Errors in Microsoft Graph Integrations and How To Troubleshoot Them (Part 7)
  • Revolutionize Your MuleSoft Deployments With GitOps
  • MuleSoft Integrate With ServiceNow

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!