Skip to main content
Nintex Community Menu Bar
Question

calendar Uncaught TypeError: Cannot read property 'setup' of undefined

  • July 10, 2024
  • 1 reply
  • 10 views

Forum|alt.badge.img+6

So, I tested this same code a couple days ago and it was working fine.
Today I started getting this uncaught typeError.

No Idea why this is occurring.
I get a reference to the calendar object.
Try to set the currentView property and then call the refresh() method to update it.

It worked before!!! 🙂

Any thoughts

1 reply

Forum|alt.badge.img+7

I think you got this figured out, but in case you didn’t the issue is in this console line: myco2.currentview = “weekview”. The currentview property can only be “week”, “month”, or “dayscheduling”.

Thanks!
Amy