48
Views
6
Comments
Solved
Read user's contacts from Google
Question
Application Type
Mobile

Dear Community,

I'm using the Contacts Plugin in my mobile. It seems that that it doesn't read the phone number on phone where the Google Contacts app is installed. Is there a way, by the plugin above or another one, to read user's contancts that are stored on Google?

2024-07-12 05-57-50
Gourav Shrivastava
Champion
Solution

Hello @Ron Ben 

You can use the "FindContact" client action with multiple contacts=True (Parameter) this returns whole contacts from your contact list. I am using the Contact Plugin

I have made a small application for you there is a list of contacts with their respective pictures 

I have attached an OML file that may be helpful for you. if this is helpful please mark it as answer.

Thanks 

Regards Gourav Shrivastava

Contacts1.oml
2024-07-12 05-57-50
Gourav Shrivastava
Champion

Hello @Ron Ben 

In my case, it's working fine I have used the client action "pick contact" which redirects me to the Google Contact application where I can see my all contacts


Can you please elaborate if any other scenario you are using 


Thanks 

Regards Gourav Shrivastava




UserImage.jpg
Ron Ben

Hi Gourav,

It seems that you are using a plugin which is differet than the one I use since I don't have the PickContact client action. I'm attaching a screenshot that shows the client actions that I do have. Please send me a link to the plugin that you use and I will give it a chance. Tnx

screenshot.png
2024-07-12 05-57-50
Gourav Shrivastava
Champion

Hello @Ron Ben 

I am using the official Contact Plugin from OutSystems. Please check 

Thanks 

Regards Gourav Shrivastava 


UserImage.jpg
Ron Ben

I now see the other action. It is an action that requires the user to pickup a contact. In my app, I need to read the entier phonebook. Therefore I have to use the FindContact method with the search string "" (empty). Did you ever tried it and managed to read more than one contact? I will improve a bit my post question. 

2024-07-12 05-57-50
Gourav Shrivastava
Champion
Solution

Hello @Ron Ben 

You can use the "FindContact" client action with multiple contacts=True (Parameter) this returns whole contacts from your contact list. I am using the Contact Plugin

I have made a small application for you there is a list of contacts with their respective pictures 

I have attached an OML file that may be helpful for you. if this is helpful please mark it as answer.

Thanks 

Regards Gourav Shrivastava

Contacts1.oml
UserImage.jpg
Ron Ben


Hi Gourav,

Your solution works. Thank you very much. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.