Results 1 to 5 of 5

Thread: [SOLVED] Retrieve entryID

  1. #1

    [SOLVED] Retrieve entryID

    Hi,

    I need to modify csv2contacs.php script to insert the contacts in a folder different than my default addressbook (for example: Test Contacts).
    First of all i need to retrieve the entryID of this contacts folder. How can i get the entryID of this folder?

    regards

  2. #2
    Senior Member
    Join Date
    Nov 2007
    Location
    Belo Horizonte, Brazil
    Posts
    1,475

    Re: Retrieve entryID

    Hi perit,

    you can either:




    In first two cases the entryid of the folder must be hard-coded in the script and you have to change it manually if you want to use it with another folder. The 3rd possibility is more flexible as you only to change the folder's name before running the script.

    Greets, Manfred
    Please do not PM me asking for support. Use the forum instead. Thank you.
    I usually check the mobility thread at the end of the day, so please have some patience if there's no immediate response. Asking to look at certain thread per PM won't result in a faster answer.

  3. #3

    Re: Retrieve entryID

    Hi Manfred,

    Thanks for your reply.
    I prefer the 3rd possibility but i don't know how can i loop through the folders and get the name. I couldn't find any usefull example...


    regards

  4. #4
    Senior Member
    Join Date
    Nov 2007
    Location
    Belo Horizonte, Brazil
    Posts
    1,475

    Re: Retrieve entryID

    Hi perit,

    here is an example how to get an entryid of a public folder: . It is for a calendar folder but it works the same for contacts. Make sure you read the whole thread as there is a typo in the code.

    Greets, Manfred
    Please do not PM me asking for support. Use the forum instead. Thank you.
    I usually check the mobility thread at the end of the day, so please have some patience if there's no immediate response. Asking to look at certain thread per PM won't result in a faster answer.

  5. #5

    [SOLVED] Re: Retrieve entryID

    Hi Manfred,

    My script works fine using this example. Thanks for your help.


    Best regards

Similar Threads

  1. Questions about entryid
    By zeguigui in forum PHP Development
    Replies: 2
    Last Post: 09-12-2011, 04:20 PM
  2. EntryID of addressbook entry
    By strtob in forum PHP Development Archives
    Replies: 4
    Last Post: 28-09-2010, 09:11 AM
  3. how to retrieve contacts info?
    By filedeliver in forum PHP Development Archives
    Replies: 0
    Last Post: 03-08-2010, 10:37 PM
  4. BlackBerry: MsgMemStateDb::AddMessageState - EntryId is inva
    By grenzlaeufer in forum Administration and Integration Archives
    Replies: 0
    Last Post: 23-03-2010, 02:38 PM
  5. Retrieve Information From Database
    By PrimaryServices in forum Administration and Integration Archives
    Replies: 1
    Last Post: 19-04-2009, 07:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •