Table of Contents

TTMSFNCCustomCloudMicrosoftOneDrive.GetSharePromise Method

Promise-based variant of GetShare.

API unit family: TMSFNCCloudMicrosoftOneDrive Declaring type: TTMSFNCCustomCloudMicrosoftOneDrive

Syntax

function GetSharePromise(AItem: TTMSFNCCloudMicrosoftOneDriveItem; ReadOnly: Boolean = True): IPromise<string>;

Parameters

Name Description
AItem Item to share.
ReadOnly When True, creates a view-only link; otherwise an edit link.

Returns

A promise that resolves with the public share URL.