Forum Discussion

John Lathbury's avatar
John Lathbury
Brass Contributor
Oct 26, 2018
Solved

SharePoint Event Web Part Doesn't Work

I have several calendar lists on a team SharePoint site and wanted to display them using the Event Web Part on the Homepage. I created one Event Web and it worked fine with one of the calendars. I created a second one (I wanted the events to be viewed separately) and it fails to recognize events in three of the Calendars. The other two work fine, but not the one I need. All of the settings for the calendars are identical and I have repeated the error using other browsers on other networks and other computers.

 

What am I doing wrong?


 

  • Ramy Farag's avatar
    Ramy Farag
    Nov 09, 2018

    I found out that the Events web part requires the field "All Day Event" to have a value, either true or false to show the event (it is blank when we initially create the event). To update this field in Flow after creating the event, we need to use REST API using the "Send an HTTP request to SharePoint" action. Once you assign a value to the field, the event will show up in the Events web part. Please reference the below link (Mark Invites as Full Day Event section) for the steps to set the "All Day Event" field in Flow.

     

    https://www.anupams.net/send-meeting-invites-sharepoint-online-calendar/

     

34 Replies

  • bensch30's avatar
    bensch30
    Copper Contributor

    Hi John Lathbury I actually do the same thing as you and would like to display events from different pages with a filtered category on a hub site. I also have the problem that some events are simply not displayed.
    In my case the "About this item" field / column in the event caused the error. I haven't found out exactly what it is, but if I delete the text completely, the event is suddenly displayed again. For example, he did not display an event when a German letter "ä" (ae) was very close to the front of the text. At the end of the text it worked again. "Das nächste CARES Audit ist das sogenannte Nachhaltigkeits-Audit (Sustainability). Es wird aller Voraussicht nach als Remote-Audit stattfinden, d.h. über Teams." deleted after the letter "ä". The event was then displayed. Strangely enough, the following text does not work without the letter "ä" "Das naechste CARES Audit ist das sogenannte Nachhaltigkeits-Audit (Sustainability). Es wird aller Voraussicht nach als Remote-Audit stattfinden, d.h. ueber Teams. " But the following letters (text) "fsfwä thrth j tjt hj thj fhdj k iul ojmdy gjjjttz juzzjzu rtui kzrt z tzu j  rthh tzztj tzjtzjtzj tj tzj tzj ä" is no problem and the event will be displayed.
    So I still don't know why that could be, but the text in "About his item" is causing problems.

     

    Maybe someone knows about the problem and could explain it to me.

     

  • JGrosskopf's avatar
    JGrosskopf
    Copper Contributor

    I have been having a heck of a time with this webpart. On SP2013 I created a list webpart that showed who was out of th eoffice today. The events web part does not have a "today" option. I have tried using the category filter and flow to update the list and no luck. Plus you can't customize to show only the fields you want. I would like to simply create a list webpart but you can't do that on an event list in sharepoint online. Any way I can get a webpart to simply show me Today's events? John Lathbury 

  • Ole Bergtun's avatar
    Ole Bergtun
    Brass Contributor
    Did you manage to solve this. I have the exact same scenario going from a logic app. where i've tried with both the create item action and the send http request action

    Ole
      • Ole Bergtun's avatar
        Ole Bergtun
        Brass Contributor

        When did you first experience this John Lathbury Ramy Farag ? This suddenly started at one of our clients tenant in the period between 20-28 october but they are not sure.

         

        Ole

    • Ramy Farag's avatar
      Ramy Farag
      Brass Contributor

      I am experiencing the same issue with Flow. I have to edit the event from the UI before it shows up in the Events web part. 

  • Rob Ellis's avatar
    Rob Ellis
    Bronze Contributor
    I've tried, but I can't reproduce this.

    I assume that in the 'Birthdays and Anniversaries' calendar, there are items in that selected date range? (Oct 26th - Nov 25th)?

    Also (and I've not tested this - literally just thinking about it) - does that calendar have content approval enabled? (I'm wondering if the Events webpart only displays approved items)
    • John Lathbury's avatar
      John Lathbury
      Brass Contributor

      There are items in the range and I currently do not have content approval turned on, but was going to apply it later to one of the working calendars (for time off requests).

       

      I wouldn't be surprised if  the event viewer only displays approved items.

       

      I'm close to deleting the calendars and recreating them with the same name. Luckily I use a flow to populate them, so I can rerun the flow after recreating and it should have minimal impact.

       

      I'll post the result of recreating later today.

      • John Lathbury's avatar
        John Lathbury
        Brass Contributor

        I deleted the Calendar and recreated it, but the events are still not appearing in the Event Web Part. I also removed and re-added the Web Part with the same results. At this point I am going to simply remove the Web Part and try to find another solution.

Resources