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


Adds an image to the post.

Component Version macOS Windows Linux Server iOS SDK
SocialComposer 7.3 ❌ No ❌ No ❌ No ❌ No ✅ Yes


This function was deprecated.

MBS( "SocialComposer.AddImageFile"; Path )   More


Parameter Description Example
Path The native file path of the image file to add.


Returns OK or error.


Adds an image to the post.
Returns error if the additional image will not fit within the character space currently available, or if the sheet has already been presented to the user.

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.

See also

This function is free to use.

Created 11st June 2017, last changed 29th January 2023

SocialComposer.AddImageContainer - SocialComposer.AddURL