cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Phone Call icon in Gallery linked to Excel list

Hello,

 

I have a sharepoint list that is connected to gallery. All the users that clic the button to connect are listed in this galery (data in sharepoint). In addition I have created an Excel list that have the following data: UserEmail, UserFullName, PhoneNumber

 

Now I would like to add a phone icon to the gallery so that users can click this icon and it will call do this particular person. (Data in gallery shows name and photo of the person).

 

I was thinking of using Launch function, but I cannot mat phone numbers from excel to the particular user from the gallery. Do you maybe know how to solve this issue?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Phone Call icon in Gallery linked to Excel list

Hi @Bartek1 ,

 

There should be a common column in SharePoint list as Excel to store the User Name or User Email.

 

For example, there is Email column in Sharepoint list storing the email of user, then you should set the OnSelect property of phone icon as follows.

Launch("tel://" & LookUp('Table Name', UserEmail= Thisitem.Email).PhoneNumber)

If there is a Person Column is the list, the code should be like this:

Launch("tel://" & LookUp('Table Name', UserEmail= Thisitem.PersonColumn.Email).PhoneNumber)

Hope this helps.

Sik 

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Phone Call icon in Gallery linked to Excel list

Hi @Bartek1 ,

 

There should be a common column in SharePoint list as Excel to store the User Name or User Email.

 

For example, there is Email column in Sharepoint list storing the email of user, then you should set the OnSelect property of phone icon as follows.

Launch("tel://" & LookUp('Table Name', UserEmail= Thisitem.Email).PhoneNumber)

If there is a Person Column is the list, the code should be like this:

Launch("tel://" & LookUp('Table Name', UserEmail= Thisitem.PersonColumn.Email).PhoneNumber)

Hope this helps.

Sik 

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,885)