sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Custom Webparts not working on mobile app

Open MayraJaimes opened this issue 7 years ago • 6 comments

Category

  • [ ] Question
  • [ ] Typo
  • [x] Bug
  • [ ] Additional article idea

Expected or Desired Behavior

The expected behavior is that the custom webparts that I create get displayed on the mobile SharePoint app. It is currently only being displayed on mobile if using a browser.

This is the expected behavior for the SharePoint app: expectedbehavior

Observed Behavior

When using the SharePoint App the custom webparts are not displaying the information. It is only displaying if I go to the SharePoint site through the browser but not the SharePoint app. I am attaching the picture of one of the webparts that is not displaying correctly even though its other custom webparts that are also not working. The custom webpart is using Microsoft graph to get the staff's images, birthdays, and anniversaries.

This is the observed behavior on the SharePoint app: current behavior

Steps to Reproduce

Add a custom webpart to a page and go to the SharePoint mobile app.

MayraJaimes avatar Apr 18 '19 22:04 MayraJaimes

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

msft-github-bot avatar Apr 18 '19 22:04 msft-github-bot

Hi @MayraJaimes - Where does the data come from? Are you making a graph call?

patmill avatar Apr 19 '19 00:04 patmill

@patmill yes the data is coming from a graph call.

MayraJaimes avatar Apr 19 '19 00:04 MayraJaimes

OK - the problem is that getting a graph token from the mobile app is currently not working (from a mobile browser it is fine). We are very close to releasing code to the service that will address this. No change will be required from your code.

patmill avatar Apr 19 '19 00:04 patmill

Thank you so much for that information. Very helpful!

MayraJaimes avatar Apr 19 '19 00:04 MayraJaimes

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

msft-github-bot avatar Jan 24 '20 18:01 msft-github-bot