OfficeDev / microsoft-teams-apps-champion-management

Champion Management Platform is a custom Teams app that enables organizations to onboard and maintain champions/ SME in their organization in Teams.
MIT License
130 stars 49 forks source link

Submit Button to update activity not working #176

Closed jack-pine closed 1 year ago

jack-pine commented 1 year ago

When a user attempts to log a new activity with the goal of updating their spot on the Leaderboard, the "submit" button at the bottom of the page does not result in any visible update nor are any changes made to the corresponding SharePoint lis

kanakav2 commented 1 year ago

When we click on the Leaderboard and trying to add an event, once we click on submit button, there is no action done. we have verified SharePoint list (Member List, Events List, Event Track Details List, Config List) are created in ChampionManagementPlatform site. Please help in this issue.

https://github.com/OfficeDev/microsoft-teams-apps-champion-management/assets/126697406/6f0297f8-b599-457f-92c3-e1a7ee17f781

v-chpaladugu commented 1 year ago

Hi @kanakav2 , @jack-pine , Thanks for reaching out to us.

Can you try these steps to collect logs and network traces from console and network windows respectively. 1.Please try to access the CMP application in the browser version of MS Teams 2.Open the Leaderboard screen and navigate to record events section to replicate the issue and open Developer tools from browser (or press Ctrl + Shift + I, this will open the developer tools window) and then select console tab to see the logs. 3.Then right click on the Console window to Save it as a log file and share it across for further troubleshooting in Github itself. image

  1. Then select network tab to see network traces and right click on network window to save traces as HAR file and share it across for further troubleshooting in Github itself. image

Thanks.

kanakav2 commented 1 year ago

teams.microsoft.com-16927946041002222.log teams.microsoft.com2.txt

Please ignore my previous message, please check the logs uploaded here as requested.

v-chpaladugu commented 1 year ago

Hi @kanakav2, Please confirm whether you have clicked submit button before collecting the console and network logs. If not, please replicate the issue as suggested and collect the logs from console and network tabs and share them again here. Because we are not able to see one mandatory API call that should be there in network tab logs. And kindly share the following screenshots here:

  1. Screenshot of SharePoint CMP Site Contents image
  2. Screenshot of Config List Contents image

Thanks.

kanakav2 commented 1 year ago

v-chpaladugu -- Thank you! This solution worked for me. Can you tell me why this entry are missed from the initial deployment ? can you please help me with that. this steps are missing for the documentation also. Please let me know what exactly i am missing here.

v-saikirang commented 1 year ago

Hi @kanakav2,

Glad it worked. It could be a glitch during deployment. It's hard to track the root cause without the logs during deployment. Please reach out to us for any other issues.

Thanks.