Dynamic Resources & Statuses

Often, you'll manually create resources in DayBack, as described here, by creating as many resources and resource folders as you'll need. You can create statuses and assign status colors in the same way

However, you can also script the creation and sorting of resources using custom app actions. This is particularly useful if you have a large number of resources or if you want to load different resources based on which users are logging into DayBack. Scripting the creation of resources is also helpful if your resources frequently change. These scripts run early in the calendar startup process and allow you to base your resources (or statuses) on a query.

Here are some examples:

By using these scripts, you can dynamically manage your resources and statuses, making DayBack more responsive to your specific needs and user roles.