Skip to main content
Roberty Studio
RPASharePoint

Get a drive from the list

Get a drive from the list

Gets a single drive from a list of SharePoint drives by its position.


Options​

List of drives​

Select the List drives of a site action whose result contains the desired drive.

Drive position in the list​

Enter the position of the drive in the returned list. Counting starts at 0.

Returns​

Javascript code​

js
actions["action-id"].createdDateTime // the date and time the drive was created (Text)
actions["action-id"].description // the description of the drive (Text)
actions["action-id"].id // the ID of the drive (Text)
actions["action-id"].lastModifiedDateTime // the date and time the drive was last modified (Text)
actions["action-id"].name // the name of the drive (Text)
actions["action-id"].webUrl // the URL of the drive (Text)
actions["action-id"].driveType // the type of the drive (Text)
actions["action-id"].createdBy // the name and email of the user who created the drive (Any)
actions["action-id"].owner // the name and email of the owner of the drive (Any)
actions["action-id"].lastModifiedBy // the name and email of the user who last modified the drive (Any)
actions["action-id"].quota // the quota of the drive (Any)

Field selection​

  • createdDateTime — the date and time the drive was created (Text)
  • description — the description of the drive (Text)
  • id — the ID of the drive (Text)
  • lastModifiedDateTime — the date and time the drive was last modified (Text)
  • name — the name of the drive (Text)
  • webUrl — the URL of the drive (Text)
  • driveType — the type of the drive (Text)
  • createdBy — the name and email of the user who created the drive (Any)
  • owner — the name and email of the owner of the drive (Any)
  • lastModifiedBy — the name and email of the user who last modified the drive (Any)
  • quota — the quota of the drive (Any)

Rules and Conditions​

  • The List of drives and Drive position in the list fields are required.
  • The position entered must exist in the list of drives.
  • The drive obtained can be used in the SharePoint and Excel file actions.