[Contacts Plugin] Import picked contact into app using contact plugin

[Contacts Plugin] Import picked contact into app using contact plugin

  
Forge Component
(3)
Published on 2016-12-15 by OutSystems R&D
3 votes
Published on 2016-12-15 by OutSystems R&D

Dear Outsystems,

Is it possible to import the contact i choose using the contacts plugin in to my app. The reason is that I want to display the name of the chosen contact in my app.

I'm building a mobile app. 

With kind regards,

Richard van der Linde

Hey, Richard,

If I understood correctly, yes you can! The plugin offers a "PickContact" action that will open the system calendar for you to select a contact, returning a structure with its details.

Could you try it and let us know if it fits your purpose?


Best regards,

Carlos Simões

Dear Carlos,

Yes this is what I want to achieve. I have configured the contactpicker and I can pick a contact. After I picked a contact I want to show the name of the picked contact in my application.

With kind regards,

Richard van der Linde

Solution

You just need to set a screen variable to the name obtained through the action and then use it on an expression widget on your screen.

Try it out! If you need help, please share what you've done so far with us, so we can point you in the right direction.


Best regards,

Carlos Simões

Solution

Dear Carlos,

Thanks for your reply, I will definitely try this.

With kind regards,

Richard van der Linde