Thursday, July 6, 2023

Push notifications

    If(ThisItem.PostEmployeeID <> _userID ,UpdateContext({var_dynParams : JSON({postID : ThisItem.PostID})});

    UpdateContext({poster:First(Filter(Employees,EmployeeID = ThisItem.PostEmployeeID)).Email}); 

PowerAppsNotificationV2.SendPushNotificationV2("PowerApps",JSON({ appIdentifier: _appID }),[poster],_userDisplayName & " loved your post ❤️",true, ParseJSON(var_dynParams)));

No comments:

Post a Comment

Add Service Principle support in Custom Connector

  then search for "Streamlining Integration: Using Service Principal authentication on Custom connectors with Microsoft Graph Applicati...