cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
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
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.