Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

Table of Contents
maxLevel2
absoluteUrltrue

...

Parameter NameData TypeDescriptionDefault ValueExample 
LabelString
Insert excerpt
File Writer
File Writer
nopaneltrue
Check In FileCheck In File
Shared LibraryString/Expression/SuggestionRequired. Select the Shared Library where the checked out file exists, from the list of suggestions provided.N/AMy Library
Drive

String/Expression/Suggestion

Required. Select the Drive where the checked out file exists, from the list of suggestions provided.N/ADocuments
Source Relative Path/IDString/Expression

Required. Enter the relative path for the file to be checked in, beginning with root:/. Alternatively, pass the item ID in this field.

Info
titleRelative Path and ID
  • Any URL in this field that starts with root:/ is treated as relative path. All other entries (without root:/ at the beginning) are treated as driveItem/file IDs.
  • When the driveItem/file ID passed is not a 34-character alphanumeric code such as 014ZXBQNNHW2DJ3CDKQZBJHRYWFWVRRQA2, the Snap fails.


root:/

/Pictures/Tour1/Image01.png

Check In CommentString/ExpressionRequired. Enter the summary of changes made to the checked out file.N/APhoto-edits for sharper images.
Number Of RetriesString/ExpressionSpecify an integer value to set the maximum number of reconnection attempts that the Snap must perform, in case of connection failure or timeout.03
Retry Interval (Seconds)String/ExpressionEnter, in seconds, the duration for which the Snap must wait between two reconnection attempts, until the number of retries is reached.12
Snap ExecutionDrop-down list

Select one of the three following modes in which the Snap executes:

  • Validate & Execute. Performs limited execution of the Snap and generates a data preview during Pipeline validation, then performs full execution of the Snap (unlimited records) during Pipeline runtime.
  • Execute only. Performs full execution of the Snap during Pipeline execution without generating preview data.
  • Disabled. Disables the Snap and all Snaps downstream from it.

Execute onlyValidate & Execute

...

This Pipeline demonstrates how you can use the Snaps in the Microsoft OneDrive Snap Pack to upload, check out, check in and download files in an authorized Share Library location. It assumes that you have configured your /wiki/spaces/DRWIP/pages/1514962945 and the /wiki/spaces/DRWIP/pages/1465090101 Azure application and the Snap accounts already. The Pipeline uses the following parameters. 

First, we upload a file to a Shared Library location using File Reader Snap, locate it and check out for editing. Then we check in the updated file and download it.

...