Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Trusted Contributor
Posts: 118
Registered: ‎03-06-2013
My Device: Blackberry Z10
My Carrier: Airtel
Accepted Solution

blackberry.pim.contacts.find error

hi 

in my application i have  <rim:smileytongue:ermit   >access_pimdomain_contacts</rim:smileytongue:ermit  > ,as i would like to do contact matching,

blackberry.pim.contacts.find(contactFields, findOptions, onFindSuccess, onFindError); always gives me success call back even though i switch off my applications permissions of contacts from secuirty and privacy->application permissions-> my application.

ideally it should go to onFindError and throw an error:20 , permission denied.

how to rectify this, please help

--------
- If a post contains the solution to the problem, please click "Accept as Solution"
- If a post contains helpful content, please give it a "Thumbs Up"

developer.blackberry.com
@BlackBerryDev
Trusted Contributor
Posts: 118
Registered: ‎03-06-2013
My Device: Blackberry Z10
My Carrier: Airtel

Re: blackberry.pim.contacts.find error

if anyone has idea about this webworks error, pls let me know.
--------
- If a post contains the solution to the problem, please click "Accept as Solution"
- If a post contains helpful content, please give it a "Thumbs Up"

developer.blackberry.com
@BlackBerryDev
Trusted Contributor
Posts: 118
Registered: ‎03-06-2013
My Device: Blackberry Z10
My Carrier: Airtel

Re: blackberry.pim.contacts.find error

Logged an issue in Git hub:
https://github.com/blackberry/BB10-WebWorks-Framework/issues/652
--------
- If a post contains the solution to the problem, please click "Accept as Solution"
- If a post contains helpful content, please give it a "Thumbs Up"

developer.blackberry.com
@BlackBerryDev