Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Titanium.Contacts.getPersonByID - issues

Hi there,

I've searched everywhere on the documentation, kitchensink sourcecode, but I can't see how to get the id of a person. In the API docs you mention method getPersonByID - but in the Titanium.Contacts.Person API there is no mention of any ID field. So how is one supposed to use this method???

thanks!

— asked October 13th 2010 by Jason Kritikos
  • contact
  • iphone
1 Comment
  • I have the exact same question. Where can we get hold of the ID field? thanks!

    — commented February 18th 2011 by Bill B

2 Answers

  • Check this post Contact ID

    "For iOS, recordId is the property that holds the unique ID. For Android, id is the unique ID." - Tony

    — answered September 20th 2012 by Naga Harish M
    permalink
    0 Comments
  • Hi Jason, this is the method to be used for some specific id.

    like getAllPeople() method will return you all the people and then you can get the id for later use with this method.
    
    — answered September 20th 2012 by Ashish Nigam
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.