none
Hide All Day Event and Recurrence filed from SharePoint Calendar in SharePoint 2013

    Question

  • Hi,

    I have created calendar using reservation content type in SharePoint 2013.But here i want to hide/disable the "All Day Event" and "Recurrence" field.

    I am successful to make it hidden using SharePoint designer.But what i see after hiding these,calendar does not allow me to save the event.It's throwing the following error.

    Please help me to hide/disable these fields using JavaScript or anything else.

    Waiting for your quick response

    Thank you

    

    

    lundi 26 mai 2014 06:23

Réponses

  • Hi Adiiti,

    The error message might occur for deleting the recurrence column. Please create a new calendar to test the issue.

    To do this, please go to list settings, and activate “Allow management of content types” in the Advanced settings. Then perform the steps I mentioned above, since by default there is only event content type in a calendar list. So in the content types section, click on event.

    In addition, please provide information about how you made the column hidden for me to reproduce the issue.

    Regards,


    Rebecca Tu
    TechNet Community Support

    mercredi 28 mai 2014 01:48

Toutes les réponses

  • You can use jquery to hide columns from the list view.

    Check following post to get the details:

    http://www.the-north.com/sharepoint/post/Hide-Unwanted-Fields-On-Calendar-Form

    http://spcolumnpermission.codeplex.com/

    lundi 26 mai 2014 06:57
  • Hi,

    Thanks for your quick reply.

    I tried to add j query using the above link.

    But it seems working not properly.

    By using the j query,sometime it hide the fields and sometime it does not.

    Please help

    Thank you

    mardi 27 mai 2014 06:54
  • Hi Aditi,

    You could hide unwanted content type columns. Please follow:

    1. In the calendar list > Edit List in SharePoint Designer
    2. In the Content types section > click Reservations
    3. In the customization section > click Edit content type columns
    4. Select All Day Event > click Administration Web Page
    5. In Column Settings > Hidden(Will not appear in forms)

    Regards,


    Rebecca Tu
    TechNet Community Support


    mardi 27 mai 2014 07:02
  • Hi,

    Thanks for your reply.

    Then how to hide recurrence field.

    I follow the same way as "All Day Event".But it throwing the above error.

    waiting for your helpful response

    Thank you


    mardi 27 mai 2014 08:20
  • Hi Adiiti,

    The error message might occur for deleting the recurrence column. Please create a new calendar to test the issue.

    To do this, please go to list settings, and activate “Allow management of content types” in the Advanced settings. Then perform the steps I mentioned above, since by default there is only event content type in a calendar list. So in the content types section, click on event.

    In addition, please provide information about how you made the column hidden for me to reproduce the issue.

    Regards,


    Rebecca Tu
    TechNet Community Support

    mercredi 28 mai 2014 01:48
  • Thanks - Perfect just what I needed
    mardi 25 avril 2017 11:43
  • Here is a solution with javascript
    http://jurisinnenad.blogspot.com/2015/01/hide-all-day-event-and-recurrence.html
    vendredi 13 juillet 2018 08:19