Results 1 to 2 of 2
- 02-12-2013, 07:13 AM
Thread Author #1
Email always null in WebWorks Contact.find
I am using the blackberry.pim.contacts WebWorks API to get the phone contacts and I receive the data as desired, but for some reason the "emails" array is always null. Anyone run into this, or know if there is an something missing from the permissions in my config.xml (copied below)?
config.xml
...
<rim:permissions>
<rim:permit>access_pimdomain_contacts</rim:permit>
</rim:permissions>
...
<feature id="blackberry.pim.contacts" required="true" version="1.0.0.0"/>
... - 02-17-2013, 04:44 AM
Thread Author #2
ok for anyone else who gets stuck with this issue, the problem wasn't with the config.xml at all it was in the js call.
I was calling
contacts.find(['name'], findOptions, onFindSuccess, onFindError);
When I should have been calling
contacts.find(['name', 'emails'], findOptions, onFindSuccess, onFindError);
Once I added in that I wanted the call to return emails also, I got the array.
Similar Threads
-
Can't send email unless person is in my contact list?
By vdubguy2k in forum Storm OS DiscussionReplies: 3Last Post: 05-10-2010, 12:20 PM -
*help* how to delete an email address that's not in the Contacts list
By dr.2012 in forum BlackBerry Curve 8900Replies: 2Last Post: 02-15-2010, 03:17 PM -
Need Help! cant send email unless in my contacts
By reme2299 in forum BlackBerry Storm2Replies: 4Last Post: 01-02-2010, 06:34 AM -
**NULL** in Contacts
By waasoxfan in forum BlackBerry Curve 8350iReplies: 6Last Post: 01-29-2009, 02:10 PM -
How to set up a group for emailing in my contacts..
By starbucksgirl65 in forum General BlackBerry DiscussionReplies: 2Last Post: 08-05-2008, 04:33 PM
Reply
















