Later I found I had to make other changes than I proposed above:
- The ShiftEntityDate should be removed all together, as it is not used later in the module
- The addShiftMicroFlow does expect a “PlanningPeriod”, not a “PlanningPeriodEntity”, as the name is stated as “PlanningPeriod” earlier
See the screenshot below for the XML part.
Then, build the package by typing “gulp build” in the command line. Finally, I only got it working in the Mendix Pro Studio after manually copying the “ShiftCalendar.mpk" file from the ..\Summerhill Hospital-main\CustomWidget\ShiftCalendar\dist folder to the ..\Summerhill Hospital-main\widgets folder.