I am quite new to this so please bear with me. This has been driving me crazy all morning. I have been trying to create template for the CQWP that will display the calendar how I want it to show on the home page. I would like the event title to show on the left and the date of the event to show on the right (I also want it show 'All Day Event' under the events that are all day events, however I am trying to get it to pull the date first and then work on that part). However, for some strange reason SharePoint REFUSES to pull the contents of the @EventDate, @AllDayEvent and @EndDate.
I added this code to the CQWP see if I could at least pull the dates, but it doesn't work:
<property name="CommonViewFields" type="string">EventDate,DateTime;EndDate,DateTime</property>
This is the code I am using in the template:
<td><xsl:value-of select="@Title"/></td> <td><xsl:value-of select="@EventDate"/> </td>
For some strange reason that would display this (just examples):
Christmas 12/25/2017 12:00:00
Boxing Day 12/26/2017 12:00:00
Can someone shed some light on this?