Embed web part is not shoiwng a list view

john john 986 Reputation points
2021-02-20T18:41:49.29+00:00

I am facing this strange issue inside our modern site page:-

1) inside the site page i have added 3 embed web parts and i embed 3 urls using iframes:-

  • I embed a list view
  • I embed a power app
  • I embed an image from our site asset library.

now the power app + image will be shown correctly, but the embed web part which is showing a list view is raising these issues:-

1) on google chrome the list view will not be shown.
2) on firefox + Edge if i do a hard refresh (Ctrl +F5) the list view will be shown >> but if the user refresh the page the iframe will not be shown...

any advice ?

Here is my iframe code to show the list view:-

70240-iframe.png

and inside the F12 developer tool i can see this error inside the console:-
70324-errror.png

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,121 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Elsie Lu_MSFT 9,796 Reputation points
    2021-02-22T06:56:46.407+00:00

    Hi @john john ,

    Based on your description, I did a test in both chrome and edge, using this code can successfully display the list.There should be no issue with this code.
    70438-1.jpg

    According to your error message, this may be an error in other custom codes on your page. You could try to check AllItems.aspx:64 to get more information.


    If the answer is helpful, please click "Accept Answer" and upvote it.

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.