cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate III
Advocate III

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
Community Support

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.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

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.

View solution in original post

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (6,688)