I am trying to get a hello world dynamic scheduling widget working in Workshop but getting a “Failed to locate pucks” error when trying to move the pucks. My setup:
A scheduling object type containing surgery_ref, start_time, end_time, duration
A resource object type containing surgery_ref and surgeon
I have created a link between these two on key surgery_ref
I have added dynamic scheduling capability and copied the RID to the primary key’s interaction (schedulable-save-handler)
The types for start and end dates are correct (e.g. schedules : schedulable-start-time)
I have not selected “Save Handler Action” in the widget as I don’t have a custom save handler action, and I am happy to use the default one created during setup.
The gantt chart is showing the pucks ok, it just gives me that error when I try and adjust one.
Hello! You do not need to interact with typeclasses at all as this has recently been deprecated. Instead of adding the dynamic scheduling functionality in the “Capabilities” tab, you should be able to specify all links/properties/save-handlers directly within the widget config.
If this is a new widget, it should have this configuration by default:
Also, since we are moving away from typeclasses towards in-widget configuration, you should configure your save handler action within the widget config. Instructions on setting that up is here in our documentation. Hope this is helpful.
Is it possible to place a blue ontology icon next to “Schedule Object” to indicate that it is a selectable item - I thought (and so did colleagues) that this was a header for the list of object sets that could be chosen. Silly me but if others also thought the same…