Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

Events.SourceWithType

Returns the first source matching the type.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Events 6.2 Yes No Yes, macOS only No No

MBS( "Events.SourceWithType"; Type )

Parameters

Parameter Description Example value
Type The type of source.
Can be Birthdays, Local, MobileMe, Exchange, CalDAV or Subscribed.
"Local"

Result

Returns source identifier, empty or error.

Description

Returns the first source matching the type.
This is a convenient way to find local or iCloud source.

Examples

Query local source:

MBS( "Events.SourceWithType"; "Local" )

See also


Events.Source.Type   -   Events.Sources

Feedback: Report problem or ask question.




Links
MBS FileMaker blog