SharePoint Rhythm of Business Calendar Form Modification

Zuraw, Nicholas 0 Reputation points
2025-01-07T02:13:20.59+00:00

We have Rhythm of Business calendar on our SharePoint site and I would like to make some changes to the new event form.

i.e. remove Location, Recurring event and Description. As well as default to All day event.

However I am finding it impossible to edit! Alas the User Guide is unobtainable, hence hoping someone out there has tried and succeeded in modifying the form.

Screenshot 2025-01-07 124538

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,179 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Emily Du-MSFT 48,821 Reputation points Microsoft Vendor
    2025-01-07T09:55:37.7833333+00:00

    You could edit new form through SharePoint designer 2013.

    1.Enable custom script in the SharePoint site collection.

    $AdminSiteURL="https://tenant-admin.sharepoint.com"
    $SiteURL="https://tenant.sharepoint.com/sites/emilytest" 
    Connect-SPOService -URL $AdminSiteURL
    Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False
    

    2.Download and install the SharePoint designer 2013.

    3.Open the SharePoint calendar list in the SharePoint designer 2013 -> Forms section -> Customize forms listed under here.

    Reference:

    https://www.codesharepoint.com/sharepoint-tutorial/how-to-customize-sharepoint-classic-forms

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Emily Du-MSFT 48,821 Reputation points Microsoft Vendor
    2025-01-09T09:59:58.4633333+00:00

    Here is another way to achieve this.

    1.Go to List Settings -> Advanced Settings -> Set "Allow management of content types?" as Yes.

    2.In the List Settings -> Content Types section -> Click Event content type -> Set Location, Recurrence and Description as Hidden.

    3.Go to the calendar list -> List Tab -> Form Web Parts drop down and select the "New Form" -> Add a Content Editor web part -> Insert following codes into "Edit Source" of the Content Editor web part.

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script> 
    <script type="text/javascript">
    $(function(){ $('#ctl00_ctl33_g_13857511_a957_4788_aa6d_17252e661cd4_ctl00_ctl05_ctl05_ctl00_ctl00_ctl05_ctl00_ctl00_AllDayEventField').attr("checked","true");
    });
    </script>
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.