Thanks @tesla but unfortunately i still can’t get the damn thing to load… Bangin my head against a wall here the last couple of days lol.
I’ve tried the onload command and it works in that I can see that it loads a var from a script (a simple alert with some text) but its still not working in loading the events or resources for Full Calendar.
I think the issue lies deeper.
If i simply try to set a variable in app connect to display the results of the query (before using dmx.parse, so i can see what is happening)
I set the the AC variable to:
And the result is:
So if i use dmx.parse on that same variable in a JS script, using a simple ‘Alert’ function to see the results, that what i see. And if that is what FullCalendar is seeing as the events then no wonder its not working.
If i drill further down the query and select the two fields (id and title) this is what it looks like:
Now firstly, that is only the first result (I figure that is what the [0] is) but that is also not what the JSON array needs to look like:
[
{“id”:1,“title”:
“John Jones”}
]
What am i doing wrong?? Any more help much appreciated…