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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Addressbook.NewGroup
Creates a new group.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Addressbook | 3.1 | Yes | No | No | No | Yes |
Deprecated
This function was deprecated. Use Contacts functions instead.
Parameters
none
Result
Returns ID for new group.
Description
Creates a new group.This group has no ID assigned until you save it to the addressbook. So the plugin returns a special ID where the plugin knows that when you change the group, you refer to the new group.
Address book item reference numbers are starting at 26000 and counting up for each new item.
Examples
Create group and save changes:
$groupID = MBS( "Addressbook.NewGroup" )
$r = MBS( "Addressbook.record.SetValueForProperty"; $groupID; "GroupNameProperty"; "Friends" )
$r = MBS( "Addressbook.addRecord"; $groupID )
$r = MBS( "Addressbook.save" )
See also
- Addressbook.addRecord
- Addressbook.groups
- Addressbook.NewPerson
- Addressbook.record.SetValueForProperty
- Addressbook.save
Blog Entries
Created 18th August 2014, last changed 5th April 2016
Addressbook.LocalizedPropertyOrLabel - Addressbook.NewPerson
Feedback: Report problem or ask question.
Links
MBS FileMaker tutorial videos