Forum Discussion
Malene Friborg
Feb 20, 2018Iron Contributor
calendar web part on modern pages
Any chance we can get an ordinary calendar web part on our modern pages?
Events web part is not enough and the group calendar is only for, well, groups :-) We have the need for a modern page with ...
YuliyaHarada
Microsoft
Feb 23, 2018hi Malene,
You can workaround this by adding an embed webpart to your modern page with this iframe code:
<iframe width="100%" height="1000px" src="https://xxx.sharepoint.com/sites/xxx/Lists/Calendar/calendar.aspx" scrolling="no" style="margin-left: -200px; margin-top: -190px;">
</iframe>
You can workaround this by adding an embed webpart to your modern page with this iframe code:
<iframe width="100%" height="1000px" src="https://xxx.sharepoint.com/sites/xxx/Lists/Calendar/calendar.aspx" scrolling="no" style="margin-left: -200px; margin-top: -190px;">
</iframe>
Robert Condas
Jan 09, 2019Brass Contributor
I was using this on my Modern page in SharePoint and it worked fine, but yesterday something changed and now this is not working as before. Now I see the entire Calendar site, not just the calendar itself. It's like having a screenshot of the entire calendar site on my Modern page, and I can no longer use it when it does this. Did this happen to anyone else yesterday?
Thanks!
- Joy_StantecMay 27, 2019Copper Contributor
Robert Condas I'm still having this same problem. I noticed the switch back in January as well. Has anyone figured out why the display isn't working correctly? (Areas trimmed by the margin styles are still showing.)
Thanks!
- JHMSTechCommJan 09, 2019Copper Contributor
Yeah, something changed in the last day or so and my embedded calendar web part does not display correctly anymore. These are the embed settings I had previously which worked fine:
<iframe src="https://site.sharepoint.com/calendar.aspx" scrolling="no" style="margin-left: -200px; margin-top: -190px;" width="100%" height="1000px">
</iframe>I've played around with the values and am not having any success getting it framed correctly. Appreciate it if anyone has any ideas how to fix this. Thank you.
- Robert CondasJan 09, 2019Brass Contributor
I was using the same thing, hope someone can figure this out as I have found nothing else that provides the SharePoint calendar on a Modern page.
Thanks
- JHMSTechCommJan 09, 2019Copper Contributor
I've opened a support case with Microsoft as well. Hopefully if enough people voice their concerns with this they'll address it sooner rather then later.
- DeletedJan 09, 2019The same thing happened to me yesterday as well. Any idea what the cause for this change might be?
- Robert CondasJan 09, 2019Brass Contributor
Not sure, but am looking into it now. Microsoft may have made a change in the way their Embed web part reads what we embedded. If I can't figure it out I'm going to contact MS and see if they know of any changes they recently pushed out. This is a big issue to me as I was using this on many sites and I had touch every one. Please let me know if you find a cause.
Thanks!
- Robert CondasJan 09, 2019Brass Contributor
Just opened a ticket with MS....