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
New Contributor
P_rnd
Posts: 7
Registered: ‎07-19-2013
My Device: has no
My Carrier: has no

BB10 WebWorks Linked Contacts

I create application on BB10 Webworks. For test i use simulator.

How i can receive linked contact?

For example: i create contact A and contact B. My application returns ids for contacts 1 and 2 respectively.

When i do linked contacts A and B, then blackberry.pim.contacts.getContact(id) for id=1 returns contact, but for id = 2 it returns null.

Method blackberry.pim.contacts.find also returns one contact.

 

Please, Help!

Please use plain text.
Developer
peardox
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: BB10 WebWorks Linked Contacts

You linked A -> B but not B -> A

 

i.e. A knows about B but B doesn't know about A




Click the like button if you find my posts useful!
Please use plain text.
New Contributor
P_rnd
Posts: 7
Registered: ‎07-19-2013
My Device: has no
My Carrier: has no

Re: BB10 WebWorks Linked Contacts

I received object a  'contact', using method blackberry.pim.contacts.getContact(id).
How i can detected that A knows about B?
Which property of the object a 'contact' stores this information?

Please use plain text.