
I have a form to enter new data into a SharePoint list. When a new record is added a notification must be send to a couple of users with a message and a DataCardValue. The notification works great if I only send text. But in the text message I want to send a DataCardValue also. (message example: New job added: Malfunction Light Pole) Where Malfunction is DataCardValue8 and Light Pole is DataCardValue9.
But how do I send a DataCardValue in the message also?
In the OnSucces on the form I have the following code"
PowerAppsNotification.SendPushNotification(
{
recipients: [varUsers],
message: "New job added:" & DataCardValue8.Selected & DataCardValue9.Selected,
openApp: true
}
)
Hi @pketeldijk ,
DataCardValuex.Selected needs a value for the single record - this will be:
If you type in DataCardValue8.Selected. (note second dot) the valid value will come up underneath.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.