SOLVED

Button to copy News page body to a calendar?

Brass Contributor

We actively use SharePoint News pages for announcements. We also have a maintenance calendar. The issue is deciding whether to post an event as News or put it on the calendar, and it's too time consuming to put it in both places. 

 

So I'm looking for a way to create a button on my news pages that will automatically post the body text to a calendar in the same SharePoint site. Has anyone done anything similar to this before?

3 Replies
best response confirmed by barlage (Brass Contributor)
Solution

HI @barlage

sure, this is possible, but you could also just

 

  • add a "MaintenanceDate" column to your site pages library and
  • create a new calendar view on the site page library
  • using the "Maintenance Date" in the fields "Start date on calendar" and "End date on calendar"


Now you have a "Calendar" View of your news and don't need another calendar list.
You can edit the "MaintenanceDate" on every page by simply going into "Page details" if you are in edit mode.

Best Regards,
Sven

@SvenSieverding, Thank you so much for the reply. This is a great solution and exactly what I was looking for!

@SvenSieverding, I do have one additional question for using this method. Do you know any way to prevent users from uploading documents to the SitePages library if they click on a date on the calendar view? I want users to be able to add news pages, but I don't want them clicking the calendar to try to add an event and then uploading a document to Site Pages. My example is below.

1.jpg2.jpg
 

1 best response

Accepted Solutions
best response confirmed by barlage (Brass Contributor)
Solution

HI @barlage

sure, this is possible, but you could also just

 

  • add a "MaintenanceDate" column to your site pages library and
  • create a new calendar view on the site page library
  • using the "Maintenance Date" in the fields "Start date on calendar" and "End date on calendar"


Now you have a "Calendar" View of your news and don't need another calendar list.
You can edit the "MaintenanceDate" on every page by simply going into "Page details" if you are in edit mode.

Best Regards,
Sven

View solution in original post