Author Topic: How to delete Multi Value Properties?  (Read 1347 times)

juskaiser

  • Member
  • *
  • Posts: 8
How to delete Multi Value Properties?
« on: September 29, 2014, 01:53:39 PM »
If I have a contact with several MVP's, say email addresses, then I delete one of the email addresses in FileMaker Pro. How do I push the deletion through to Address Book and completely delete the entry for the MVP? 

Do I just delete the value for the email address based on the UID using the PCAB_DeleteValueForUID function? By deleting the value, is that automatically deleting the the label and the "record" for that Multi Value Property within address book?

Paul Dacanay

  • Global Moderator
  • Member
  • *****
  • Posts: 47
Re: How to delete Multi Value Properties?
« Reply #1 on: October 01, 2014, 10:04:59 AM »
The process you described will work, provided you do it this way:

1) Open the specific contact like so:

PCAB_Open ( << AB Contact UID Value Here >> )

2) Call the delete function like so:

PCAB_DeleteValueForUID ( "Email"; << AB MVP UID Value Here >> )

3) Call the save function like so:

PCAB_Save


Thanks for using our plug-in!