Leveraging an iFrame to Display Another SharePoint Page
What if we want to display SharePoint content in another page? For example, we might want to show (and interact with) our color calendar (Figure 36). If we are on the same site, then we can add the calendar as a web part (and in this case add the two Content Editor web parts holding the legend and calendar code). But if we are in a different site, that is not possible. Our next choice is to Embed a page (modern page) or use the Page Viewer web part (classic page). Figure 112 shows the result.