findSubscriber always returns 0
Posted: Tue Aug 12, 2008 12:07 pm
Hi Guys,
I am very impressed by the functionality of OpenEMM. But I have some problems withe the webservice functionality.
I created custom profile fields like the field "sec_import".
Now I want to delete all subscriber who have the value "xyz" in the field "sec_import" with the following php-code:
With a search on the email-address (but only without placeholders) the findSubscriber method returns the right ID. Why does the search on a custom field give me a wrong result?
Best Regards
dpommeranz
I am very impressed by the functionality of OpenEMM. But I have some problems withe the webservice functionality.
I created custom profile fields like the field "sec_import".
Now I want to delete all subscriber who have the value "xyz" in the field "sec_import" with the following php-code:
Code: Select all
do {
$subscriberID = $service->findSubscriber('sec_import', 'xyz');
$service->deleteSubscriber($subscriberID);
} while ($subscriberID > 0);
Best Regards
dpommeranz