Assigning multiple resources example

I"m trying to create a basic example with the button “Show Resource View/Gantt View” on top.

I can’t seem to get the tasks to display on the page. What am I doing wrong here? I’m not looking to add the owner column in the example. I just want to be able to assign multiple resources to a task on load. Thanks!

After copy and pasting the tab into a variable inside of the code tab it works. Not sure why though.

The “Data” tab can contain only JSON data. You need to change users to "users":

It is OK to use users inside a variable because in that case, it becomes an object property.