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

Images are breaking the card in Viva Connections Mobile (Teams app) #8759

Closed Rafaelki closed 1 year ago

Rafaelki commented 1 year ago

Target SharePoint environment

SharePoint Online

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

๐Ÿ’ฅ SharePoint Framework

Developer environment

Windows

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

Additional environment details

Describe the bug / error

Recently the cards show a "Can't get data for this card" message in the Teams mobile app using Viva Connections if the card contains an image (BaseImageCardView). In my scenario, currently in production, these images come from SharePoint, as I am displaying the latest news on the card. The URL is in the format: https://[my-tenant].sharepoint.com/_api/v2.1/shares/... to get the thumbnail. The card is working everywhere else: in the dashboard in the browser, in the Teams desktop app, etc. only fails in the Teams mobile app. This was working fine until maybe 2 weeks ago.

I think, even if there is an issue with the image, the card should display the rest of the card, ie. the title and buttons

image

Steps to reproduce

  1. Create a BaseImageCardView
  2. Put a image from SharePoint in "imageUrl"

Expected behavior

The Teams mobile app should work as the desktop does, ie. images should be displayed

ghost commented 1 year ago

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

antoniogatti commented 1 year ago

Facing the same issue, once I open Teams all the cards load correctly, after exact 3 second, I get the message "Can't get data for this card" only for the Custom Cards.

### WORKAROURN to make it work, it's to select FEEDS or RESOURCES, then go back to DASHBOARD

Screenshot 2023-02-15 123739

frags51 commented 1 year ago

hi @Rafaelki - are you still facing this issue? If so, could you please point out:

  1. Version of Viva Connections (from Viva Connections > About)
  2. Screenshot of the about page when you are able to reproduce this issue.
ghost commented 1 year ago

This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within the next 7 days of this comment. Please see our wiki for more information: Issue List Labels: Needs Author Feedback & Issue List: No response from the original issue author

ghost commented 1 year ago

Closing issue due to no response from the original author. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: No response from the original issue author