I have gotten the Resource Timeline working well enough, including sending/receiving event info from FC to App Connect and updating event details etc.
I am now struggling to ‘refetch’ or ‘rerender’ events once they have been updated in the database (because the initial JS script is a static event that is called when the page loads)
FC has a number of ‘Methods’ that can be used for additional functionality:
And while i CAN get these to work when i write them in the initial JS file or script, i can’t seem to get them to work OUTSIDE of that.
Here is my JS file:
If i write any of these FC methods in there, for example ‘calendar.destroy()’ it works as expected.
But how can I call or invoke this same function or method (calendar.destroy is a good example as its easy to see if it works) from inside of App Connect?
I have tried multiple things, mainly assigning the call JS function to a button click.
I have tried many other things to get it to work, but as my JS knowledge is limited, i’m really shooting the dark.
Does anyone have any advice?
Thanks in advance.