Hi,
I am trying to pass a list of email address from an excel file to recipients variable in PowerAppsNotification.SendPushNotification.
Is there any way I can do that?
Thanks.
Solved! Go to Solution.
In general, a PowerApps push notifcation call looks like this:
PowerAppsNotification.SendPushNotification(
{
recipients: ["email1@contoso.com", "email2@contoso.com"],
message: "message in the notif toast",
params: Table({key:"notificationKey", value:"The value for notificationKey"}),
openApp: true
}
)
You can use your own list of emails from an Excel table column like this:
PowerAppsNotification.SendPushNotification(
{
recipients: RenameColumns(YourExcelTable.YourExcelColumn, "YourExcelColumn","Value"),
message: "message in the notif toast",
params: Table({key:"notificationKey", value:"The value for notificationKey"}),
openApp: true
}
)
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
In general, a PowerApps push notifcation call looks like this:
PowerAppsNotification.SendPushNotification(
{
recipients: ["email1@contoso.com", "email2@contoso.com"],
message: "message in the notif toast",
params: Table({key:"notificationKey", value:"The value for notificationKey"}),
openApp: true
}
)
You can use your own list of emails from an Excel table column like this:
PowerAppsNotification.SendPushNotification(
{
recipients: RenameColumns(YourExcelTable.YourExcelColumn, "YourExcelColumn","Value"),
message: "message in the notif toast",
params: Table({key:"notificationKey", value:"The value for notificationKey"}),
openApp: true
}
)
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Thanks! It worked.
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
254 | |
249 | |
82 | |
37 | |
30 |
User | Count |
---|---|
300 | |
264 | |
117 | |
65 | |
45 |