Create a Link to Share a File in OneDrive

To create a link to share a file in OneDrive, do the procedure in this topic.

Create Shared Link for File in OneDrive Configuration Screen



Prerequisites

Good to Know

  • You must specify the file or file ID to create a link to share the file.
  • 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 Create File Shared Link activity onto your process.
    • Change an activity:
      1. In your process, double-click your activity.
  3. Click Create Shared Link File .

Procedure

  1. On the Create Shared Link for File 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 these fields as necessary.
    Field Name Definition

    File Path

    Function:
    Specifies the path of the file.
    Accepted Values:
    • Choose File Path - Specifies an absolute path for the file.
    • Dynamic File ID - Specifies a process variable that stores the ID of file.
    Default Value:
    Choose File Path
  3. (Optional) To connect the response to a process data variable, complete this field as necessary.
    Field Name Definition

    Store the Response in Custom Attribute

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

    The file ID comes from OneDrive.

    Accepted Values:
    A process data variable.
    Default Value:
    None
    Accepts Process Data Variables:
    Yes