I'm trying to pull communities and community posts from viva engage into a powerapp.
I have managed to collect the discussions using
ClearCollect(vivaGroups,VivaEngage.GetGroups());
Which you can see below (I only have one test discussion).
I would like to navigate to a second page that displays the discussion from the selected group.
I can't understand why I get an error;
thanks. yes I will use thisitem.id, I swapped it to the integer for testing
@nick9one1 One more thing, If you are using the above code with icon which is within gallery, the you also use this and you use Navigate function to navigate to different screens if required.
ClearCollect(vivaGroupMessages,VivaEngage.GetMessagesInGroupV3(ThisItem.id));
Navigate(ScreenName)
-----------------------------------------------------------------------------------------------------------------------------
I hope this helps.
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.👍
Thanks,
ANB
Hi @nick9one1 , As per the article: https://learn.microsoft.com/en-us/connectors/yammer/#get-messages-in-a-group-(v3)
Group ID is integer and you are passing as record.
So, instead pass directly Group ID without curly brackets.
VivaEngage.GetMessagesInGroupV3(172449243136)
-----------------------------------------------------------------------------------------------------------------------------
I hope this helps.
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.👍
Thanks,
ANB