Get Folder Information in OneDrive

To get information about a folder in OneDrive, do the procedure in this topic.

Get Folder Information in OneDrive Configuration Screen



Prerequisites

Good to Know

  • You must specify the folder or folder ID to get the information of the folder.
  • In most text fields, you can use process data variables as an alternative to literal data values.

How to Start

  1. On the Organizer, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In the Process Builder, in the Activity Library, open the OneDrive tab.
      2. On the OneDrive tab, drag the Get Folder Info activity onto your process.
    • Change an activity:
      1. In your process, double-click your activity.
  3. Click GetFolderInformation .

Procedure

  1. On the Create Folder in OneDrive Configuration screen, in the OneDrive field, select your OneDrive access token.

    To create a new access token, click Add Token . For more information, refer to New OneDrive Access Token.

  2. Complete this field as necessary.
    Field Name Definition

    Folder ID

    Function:
    Specifies the OneDrive folder. The activity uses the ID of the specified folder when the process runs.
    Accepted Values:
    • Choose Folder Path - Specifies an absolute path for the folder.
    • Dynamic Folder ID - Specifies a process variable that stores the ID of folder.
    Default Value:
    Choose Folder Path
  3. To connect the response to a process data variable, complete this field as necessary.
    Field Name Definition

    Store the Response in Custom Attribute - Folder ID

    Function:
    Specifies the process data variable that stores the folder ID.

    OneDrive supplies the folder ID.

    Accepted Values:
    A process data variable.
    Default Value:
    None
    Accepts Process Data Variables:
    Yes
  4. (Optional) To connect the response to a process data variable, complete these fields as necessary.
    Field Name Definition

    Store the Response in Custom Attribute - Name

    Function:
    Specifies the process data variable that stores the name of the file or folder.
    Accepted Values:
    A process data variable.
    Default Value:
    None
    Accepts Process Data Variables:
    Yes

    Store the Response in Custom Attribute - Shared Link

    Function:
    Specifies the process data variable that stores the shared link of the file or folder.
    Accepted Values:
    A process data variable.
    Default Value:
    None
    Accepts Process Data Variables:
    Yes

    Store the Response in Custom Attribute or Schema - Description

    Function:
    Specifies an optional description for your file or folder.
    Accepted Values:
    More than one line of text.
    Default Value:
    None
    Accepts Process Data Variables:
    Yes