Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  


Adds an social profile to a contact with JSON.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Contacts 8.4 Yes No No No Yes
MBS( "CNContact.AddSocialProfileJSON"; ContactIdentifier; Label; JSON )   More


Parameter Description Example value
ContactIdentifier The contact identifier. "46B1E34D-58F9-4B6B-A80D-0F71ABB87A0E"
Label The label to use.
For your convenience we translate Work, Home and Other to the right values, so they get localized in display.
Default label is Other.
JSON The JSON with the object containing the fields urlString, username, userIdentifier and service.


Returns OK or error.


Adds an social profile to a contact with JSON.
This is a convenience function to add just one social profile with a given label to the contact.
Please call CNContactStore.UpdateContact later to store the values.

See also

Created 1st August 2018, last changed 2nd August 2018

CNContact.AddSocialProfile   -   CNContact.AddURLAddress

Feedback: Report problem or ask question.

MBS FileMaker blog