Tool

Get default document library in site

The getDefaultDocumentLibraryInSite tool seamlessly retrieves the default Document Library, also known as Drive, within a specified SharePoint site. It enables effortless access to the core document repository in your Microsoft 365 SharePoint environment, defaulting to the root site if no site ID is provided.

SharePoint

Features

  • Automatically identifies and accesses the default Document Library in any SharePoint site.
  • Supports specifying a site ID or defaults to the root SharePoint site for flexibility.
  • Simplifies integration with Microsoft 365 SharePoint by streamlining document library retrieval.
  • Facilitates easy automation of SharePoint document management tasks.
  • Securely interacts with SharePoint's API ensuring reliable and consistent data access.

Benefits

  • Enhances productivity by quickly locating the primary document storage in SharePoint sites.
  • Reduces development time with an easy-to-use tool for SharePoint document library access.
  • Improves document management workflows by integrating directly with Microsoft 365.
  • Enables seamless collaboration by automatically connecting to the correct document library.
  • Minimizes errors and misconfigurations by defaulting to root site when site ID is unspecified.

Description

Get the default Document Library (also called Drive) in a Sharepoint Site.If not specified, the root site will be used.

Parameters

1 parameter

NameTypeDescription
siteIdstring

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .