Sharepoint online embed calendar into mainpage

Kelvin Shee 1 Reputation point
2021-07-22T02:10:00.077+00:00

hi,
I want to know how I can using embed for calendar into mainpage with center detail only?

116838-capture.png

thanks.

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Amanda Olson Ellis 6 Reputation points
    2022-11-29T19:05:31.81+00:00

    I was able to accomplish this by choosing the embed web part. I used an iframe and added the string query ?isDlg=1

    Here's what it looked like:

    <iframe src="https://xxx.sharepoint.com/xxx.aspx/?isDlg=1" frameborder="0" width="100%" height="110%"></iframe>

    265402-capture-1.png

    1 person found this answer helpful.
    0 comments No comments

  2. Elsie Lu_MSFT 9,801 Reputation points
    2021-07-22T07:36:19.997+00:00

    Hi @Kelvin Shee , welcome to Q&A forum!

    Per my test, if users use embed code to display the calendar, the entire page will be displayed instead of the details. There is currently no OOTB way to change this behavior.

    As a workaround, we can try to use list calendar view. We need to create a modern Calendar view and set it as the default view, then embed it.

    116979-46.jpg

    Please refer to this blog for more information:
    Using the SharePoint Modern Calendar View
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    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.


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.