Clean way to associate employee with manager
# help-with-umbraco
t
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
Sounds like you could create managers as nodes and use a content picker?
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.
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.
4 Views