How to Hide Start Time and End Time for All Day Event in Sharepoint Calendar DispForm
Hi All, Currently, when I add my Calendar web part to my page it displays the date and time for start and end dates. How can I get my web part to hide the times and only show the start and end date when the All Day event box is checked?
August 29th, 2010 8:58pm

A web part will only display what you want it to display. If you want to change it's behavior, then modify the web part and click "edit view settings." Then, deselect the columns you don't want while only selecting the columns you DO want. You won't be able to get the view to dynamically show or not show certain fields based off a value in the item, though.SharePoint Architect || Microsoft MVP || My Blog Planet Technologies || SharePoint Task Force
Free Windows Admin Tool Kit Click here and download it now
August 29th, 2010 9:23pm

If you're trying to hack this with Javascript, then you'll need to ask in the programming forum and not the General forum. If you ask here, then it's only related to OOTB configuration really. Please change the original post to mention that you're wanting to do it with code. Thanks!SharePoint Architect || Microsoft MVP || My Blog Planet Technologies || SharePoint Task Force
August 29th, 2010 9:36pm

Clayton, I believe the point is the date and time are in the same column so if you deselect, the date will disappear too. A practical example is a holiday calendar where you only need dates.
Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2011 3:35am

Clayton, I believe the point is the date and time are in the same column so if you deselect, the date will disappear too. A practical example is a holiday calendar where you only need dates. They are date/time fields, so either you show them or you don't. The views can't show something different than the field itself unless maybe you try to customize the view in SPD. SharePoint Architect || Microsoft MVP || My Blog Planet Technologies || SharePoint Task Force
January 22nd, 2011 6:09pm

Clayton, I believe the point is the date and time are in the same column so if you deselect, the date will disappear too. A practical example is a holiday calendar where you only need dates. They are date/time fields, so either you show them or you don't. The views can't show something different than the field itself unless maybe you try to customize the view in SPD. SharePoint Architect || Microsoft MVP || My Blog Planet Technologies || SharePoint Task Force
Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2011 6:09pm

Clayton, I believe the point is the date and time are in the same column so if you deselect, the date will disappear too. A practical example is a holiday calendar where you only need dates. They are date/time fields, so either you show them or you don't. The views can't show something different than the field itself unless maybe you try to customize the view in SPD. SharePoint Architect || Microsoft MVP || My Blog Planet Technologies || SharePoint Task Force
January 22nd, 2011 6:09pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics