Calendar onclick set local data store?

Morning everyone,

i am looking at the calencar module and before i get too far down the road I was just wondering if it is possible, that when you click an event in the calendar that it can set the variables in a local data store?

I have read various posts on the calendar, i have a calendar setup, dynamic with a query, that part is fine. I read the post on setting variables with dynamic event on click event, but, that only seems to be for values in the list from the event click. I have values in my query (client_id), so when i click the event title i want to set my data store Client_id to the Client_id I have from the query. I dont think the query values get exposed in the event click?

is it possible? I also have dynamic links based on the type of event, ie if its client specific the browser goto goes to my client page, if its a team member event I go to the team member page etc

thanks

Please check:

The part where it explains how to pass the selected event data to a variable.

1 Like

I have read the guide again and the part about passing event data shows only event title, event date etc, nothing custom about the event, all i see when i add the click event is

i dont see how to access my custom data from my server connect query

thanks

Of course, that's the data related to the event that you can use to pass any action. Having the event id you can do whatever you like - such as filtering a query for example.

thanks, so i get the id and do another query on the id to get the other data, i just thought the other data might have been exposed, will try to work it out.
thanks