SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.23k stars 992 forks source link

SPFX WebPart displays data from SharePoint list on Desktop, but does not display on Mobile #8922

Closed ARAlmac closed 1 year ago

ARAlmac commented 1 year ago

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

πŸ’₯ SharePoint Framework

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

Additional environment details

Issue description

We have developed an SPFX Adaptive Card webpart that pulls the latest vacancies in our business from a SharePoint list. Everything in workbench displayed correctly and the data was pulling through to the card. We deployed the webpart and it works perfectly on our Desktop Viva Connections home site.

However, we then tried it on mobile (IOS and Android) and the data did not display.

Is there any help out there with what we could have missed?

ghost commented 1 year ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

AJIXuMuK commented 1 year ago

@ARAlmac - thanks for reporting the issue! Could you please specify what API you're using to access the list: SharePoint REST API or MS Graph? Also, by any chance could you get some logs? Like are there any failing requests, what is returned by the calls to the API?

Thanks!

ARAlmac commented 1 year ago

Hi @AJIXuMuK ,

thanks for getting back! We are using SharePoint API.

We were having a hard time trying to get some logs as it is via a personal device. What we can see is the following link to do this: https://support.microsoft.com/en-gb/office/send-diagnostic-log-files-from-microsoft-teams-mobile-app-86dea1fe-ba14-456a-a7b9-b76c48011316

if we were to send the logs here would you be able to retrieve them or do you recommend any other way for us to retrieve logs?

Thanks again

AJIXuMuK commented 1 year ago

@ARAlmac - Teams logs won't be helpful in that case. If you don't have ability to repro it by yourself and gather network logs, I would recommend adding some custom logging potentially. Extra question: is it failing on mobile and working on desktop for the same user? Is it the only user that have issues or multiple?

ARAlmac commented 1 year ago

@AJIXuMuK - I will look into the custom logging. This is happening for multiple users, we tested it out with a few of the team

AJIXuMuK commented 1 year ago

closing due to inactivity

ghost commented 1 year ago

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues