How To Hide Specific Items From A Sharporint Calendar List If The Date Is Less Then Current Date

  • 22 November 2019
  • 4 replies
  • 28 views

I have an event sign up that I created where the users go to sign up for upcoming training events.

 

What I want to do is remove the events that are over from the dropdown on the sign up form, and from the list showing the available trainings. I want to make them non-visible to the user. I can't just delete the event from the list because there is another list that supports the Attendees with looksups from the event calendar. 

 

Any suggestions on how to make this work?

 

16506i885C5E0E598D7014.png


4 replies

Good day KristieCronic

 

Please see the following:

“Full Calendar Control”: https://community.k2.com/t5/K2-blackpearl/Full-Calendar-Control/ba-p/1119.

 

Best,

Sunrise

What can try is using a filter:



  • Go to view settings

  • Scroll down to filter section

  • Select Radio Button "Show Items only when following is true"


 



 


As illustrated, this will then hide rows which have an end time past the current date.


 


Sello

I confirged the settings in the sharepoint list and they no longer display in the list however they still continue to display in the K2 views and forms. I want the events that have passed not to diplay in the forms. 

Badge +6

You have to use Filters.

https://help.k2.com/onlinehelp/K2Cloud/UserGuide/Update_10/default.htm#Use/Filtering-On-List-Views.htm

 

You can modify your Forms and View rules to show only items that are in particular state. If you are using smartobjects to load your data, just pass in the appropriate filter in the List or Read method and you will only see the desired data

Reply