Hi
I have an Umbraco site where the admin creates employees.
Each employee needs to be associated with a manager. I can create a manager data type and add values on there but most people won't have access to that section of Umbraco.
What would be a better alternative to allow content creators to select a manager for each employee AND to create a new manager as and when they require?
Thx
m
Markus Johansson
05/28/2024, 10:21 AM
Sounds like you could create managers as nodes and use a content picker?
Markus Johansson
05/28/2024, 10:23 AM
There is also the Relations API that might be helpful. In my experience, it's a lot easier for editors to work with pickers vs relations so I would start with that if possible.
Markus Johansson
05/28/2024, 10:23 AM
If the data volume is very big you could maybe query examine vs. iterating nodes. I would say that examine is faster if you have over 200-300 employees.