Versions Compared

Key

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

In this article

...

You can use this Snap to create ad and share invitations for an item to the configured set of recipients. The invitation provides permissions to the recipients and also contains a sharing link.

...

Support for Ultra Pipelines

...

...

Limitations and Known Issues

None.

Snap Input and Output

Input/OutputType of ViewNumber of ViewsExamples of Upstream and Downstream SnapsDescription
Input 

Document

  • Min:0
  • Max:1
  • Mapper Snap
  • Copy Snap
  • CSV Parser
  • JSON Parser

An input document contains the metadata of the permission to be created.


Output

Document

  • Min:1
  • Max:1
  • Mapper Snap
  • Copy Snap
  • CSV Parser
  • JSON Parser

An output document contains the created (or shared) permissions on the item with the recipients.

...

Parameter NameData TypeDescriptionDefault ValueExample 

Label

String

Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline.

N/A

SharePoint Online - Create Permission

Site

String

Required. The name of a site that contains the list of document library to be used in the subsequent Snap settings.

N/A

MySite

Custom Site PathCheck-box

Insert excerpt
SharePoint Online - Get Item
SharePoint Online - Get Item
nopaneltrue

Not SelectedSelected

Document Library

String

Required. This property enables you to select a drive representing the top-level container for a file system, such as OneDrive or SharePoint document libraries. This field populates dynamically from different sites via the suggestion drop-down list. You can select a document library from the suggestion drop-down list or manually type an entity.

Warning
titleNote

If you enable the Site property as expression, then the document library is not suggested, resulting in an exception.


N/A

Shared Documents

Source item relative path

String

Required. The item resource path that represents a file, folder, or other item stored in a document library on which we want to create the permission.

N/A

testFile.pdf

Roles

StringRequired.Specify the roles that are to be granted to the recipients of the invitation.ReadWrite
RecipientsString

Required. Comma-separated recipients who will receive access and the sharing invitation to the selected item. 

N/Auser@company.com
MessageStringOptional. A plain text formatted message that is included in the sharing invitation. Maximum length of 2000 characters.N/A
Require signinCheck boxOptional. Enable this property to send the invitation to sign-in to view the shared item with the recipients.Not selected
Send invitationCheck boxOptional. Enable to send a sharing link to the recipient. Otherwise, a permission is granted directly without sending a notification.Not selected

Connection details

Settings to influence connection properties to the SharePoint Online APIs.

This fieldset comprises the following fields:

  • Connection timeout
  • Number of retries
  • Retry interval (seconds)

Connection timeout

IntegerRequired. Set the connection timeout duration in seconds.3030

Number of retries

IntegerRequired. Set the maximum number of reconnections in case of a connection failure or timeout.00

Retry interval (seconds)

IntegerRequired. Set the time interval in seconds between connection attempts.11

Snap Execution

String

Specify the required Pipeline execution type:

  • Validate & Execute. Performs limited execution of the Snap (up to 50 records) during Pipeline validation; performs full execution of the Snap (unlimited records) during Pipeline execution.

  • Execute only. Performs full execution of the Snap during Pipeline execution; does not execute the Snap during Pipeline validation.

  • Disabled. Disables the Snap and, by extension, its downstream Snaps.

Execute only

Validate & Execute

...

This example demonstrates how you can create a permission on a specified item. This example assumes that you have configured and authorized a valid SharePoint Online Account (see SharePoint Online Account).

The following screenshot displays the settings of the SharePoint Online Create Item Permission Snap.

...

After successfully validating/executing the above Snap, the results display in the following output preview.

Download this Pipeline.

Downloads

...