[FullCalendar Reactive] When using NewEventSourceUrl for EventSources how do you update the URL parameters
fullcalendar-reactive
Reactive icon
Forge component by André Cabral
Application Type
Reactive

Hi I'm trying to use the following

As you can see I'm using a client side variable to pass a parameter into the REST API URL string:

NewEventSourceUrl("/Routes/rest/FullCalendarAPI/GetScheduledRoutes?LocationIds="+LocationIds)


This works great so long as the client side variable doesn't change, if it changes how do I update the EventSource so when I call RefetchEvents it passes in the new value to the REST service?


Hi Cody,

For the moment we dont have a way to update de eventSourceUrl when is updated, for now i think the best way to update the url is destroy and init the calendar when the variable change.
We will try to address the issue in one future version.

Regrads,
André

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.