Viva Connections is mainly focused on the general issue of app troubleshooting. Since your question is also related to development, which is not in our support scope. I will remove our tag from your thread. Thanks for your understanding!
For the guidance of your questions, I found this answer in the forum. You could check it to see if it is helpful to you.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.