cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
keshamer
Level: Powered On

transform gallery in table var

Hi, 

I want to use the powerapps notification connector.

I want to send notification to a group of people. I have every persons in a collection called User.

In this collection I have 2  culumns: email address and Type. Type is text with "PL" or "VL".

 

Powerapps notificationb connection has the "recipients" parameter witch allow only table not a collection 

How coult I create the table with all the email address of user wich a "PL" or "VL". So how could I transform a collection into a table?

 

Thank you in advance.

kind regards

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support Team
Community Support Team

Re: transform gallery in table var

Hi @keshamer ,

Could you please share a bit more about your scenario?

Do you want to transform a collection into a table?

 

I have made a test on my side, please take a try with the following workaround:

The data structure of my Collection as below:7.JPG

My app's configuration as below:8.JPG

Set the OnSelect property of the "Send Notification" button to following:

PowerAppsNotification.SendPushNotification({
recipients: ForAll(User.EmailAddress, EmailAddress), /* <-- Modify your formula here */
message:"PowerApps Notification Message",
openApp:true
})

Note: The EmailAddress represents the Email address column within your User collection.

Please take a try with above formula, then check if the issue is solved.

 

More details about ForAll function, please check the following article:

ForAll function

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 REPLY 1
Highlighted
Community Support Team
Community Support Team

Re: transform gallery in table var

Hi @keshamer ,

Could you please share a bit more about your scenario?

Do you want to transform a collection into a table?

 

I have made a test on my side, please take a try with the following workaround:

The data structure of my Collection as below:7.JPG

My app's configuration as below:8.JPG

Set the OnSelect property of the "Send Notification" button to following:

PowerAppsNotification.SendPushNotification({
recipients: ForAll(User.EmailAddress, EmailAddress), /* <-- Modify your formula here */
message:"PowerApps Notification Message",
openApp:true
})

Note: The EmailAddress represents the Email address column within your User collection.

Please take a try with above formula, then check if the issue is solved.

 

More details about ForAll function, please check the following article:

ForAll function

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 23 members 4,239 guests
Please welcome our newest community members: