Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Files.ShareFile

Shows the share panel for Windows.

Component Version macOS Windows Linux Server iOS SDK
Files 15.1 ❌ No ✅ Yes ❌ No ❌ No ❌ No
MBS( "Files.ShareFile"; Path )   More

Parameters

Parameter Description Example
Path The native file path. $Path

Result

Returns OK or error.

Description

Shows the share panel for Windows.
Requires Windows 8 or newer.

What Windows can share and what application it offers depends on the local software installation on the PC.
e.g. if you have an email application, you may see contact names and the option to send an email.

This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.

Examples

Share this file:

Set Variable [$r; Value: MBS( "Files.ShareFile"; "C:\Users\Christian\Desktop\test.txt" ) ]

See also

Release notes

Blog Entries

This function checks for a license.

Created 11st February 2025, last changed 12nd February 2025


Files.SetUserImmutable - Files.ShowPropertyDialog