Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Adds a file to share.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SharingPanel | 11.4 | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
Path | The native file path to share. | ||
Subject | Subject line for sharing via email. | Optional |
Returns OK or error.
Write a PDF to file and then add it for sharing:
Set Variable [ $path ; Value: MBS( "Path.AddPathComponent"; MBS( "Folders.UserDocuments" ); "test.pdf" ) ]
Set Variable [ $r ; Value: MBS( "Container.WriteFile"; Sharing::Container; $path ) ]
Set Variable [ $r ; Value: MBS( "SharingPanel.AddFilePath"; $Path ) ]
This function checks for a license.
Created 28th August 2021, last changed 29th August 2021