pnp / sp-dev-fx-aces

Repository for the Microsoft Viva Connections Adaptive Card sample solutions from Microsoft and community.
https://aka.ms/viva/connections/extensibility
MIT License
109 stars 92 forks source link

Added new sample BasicCard-StatusMessage #116

Closed yhabersaat closed 1 year ago

yhabersaat commented 1 year ago
Q A
Bug fix? no
New feature? no
New sample? yes
Related issues? no

What's in this Pull Request?

This ACE demonstrates how to use the Presence Graph API endpoints (beta) to set and retrieve a presence status message for a user. Happy holidays!

dcashpeterson commented 1 year ago

@yhabersaat Thank you for the submission. I was reviewing it and I am encountering uncaught exceptions. It look like that when there isn't a status message as part of getCurrentUserStatusMessage (there is a message object but statusMessage is null) your .length is erroring out. Can you please review this can submit an update? Thanks!

yhabersaat commented 1 year ago

Hi @dcashpeterson, I've reproduced the behavior and just commited the changes. Thanks for your review!

dcashpeterson commented 1 year ago

@yhabersaat thank you for submitting the sample. I have merged it into the repo. We would love to have you present your sample at an upcoming community call. If you are interested submit this form https://aka.ms/community/request/demo and someone will reach out to you.

yhabersaat commented 1 year ago

Thank you very much @dcashpeterson!