To get information about a file in OneDrive, do the procedure in this topic.
Get File Information in OneDrive Configuration Screen
Good to Know
- You must specify the file or file ID to get the information of the file.
- In most text fields, you can use process data variables as an alternative to literal data values.
How to Start
- On the Organizer,
do one of these:
- Do one of these:
- Add an activity:
- In the Process Builder, in the Activity Library,
open the OneDrive tab.
- On the OneDrive
tab,
drag the Get File Info
activity onto your process.
- Change an activity:
- In your process, double-click your activity.
- Click GetFileInformation .
Procedure
- On the Get File Information 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.
- Complete this field
as necessary.
Field Name |
Definition |
File ID
|
- Function:
- Specifies the OneDrive file. The activity uses this file ID when the process runs.
- 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
- Accepts Process Data Variables:
- No
|
- To connect the response to a process data variable, complete this field
as necessary.
Field Name |
Definition |
Store the Response in Custom Attribute - File ID
|
- 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
|
- (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
|