I was wondering if anybody out there knows if there's a Data Type in Umbraco (a package, custom implementation, example, whatever) that works/behaves like a C# Enumeration or Dictionary? Simply put, due to a customer requirement I need a Data Type where I can store pairs of names and values. Do I have to make a custom Data Type for this? Or can someone be so kind and point me in the right direction? I've spent hours looking for this in the Internet without finding any positive answers.
Enum or Dictionary-like Data Type in Umbraco?
Hello everybody,
I was wondering if anybody out there knows if there's a Data Type in Umbraco (a package, custom implementation, example, whatever) that works/behaves like a C# Enumeration or Dictionary? Simply put, due to a customer requirement I need a Data Type where I can store pairs of names and values. Do I have to make a custom Data Type for this? Or can someone be so kind and point me in the right direction? I've spent hours looking for this in the Internet without finding any positive answers.
Thank you.
Hi Nicolas,
Theres a Textstring Array datatype in uComponents that can be used to store a colleciton of value pairs ?
Hi Hendy,
I completely overlooked that datatype in uComponents. Let me check it out and I'll post later if it works for me.
Thanks!
Thanks Hendy, the Textstring Array datatype worked perfectly.
is working on a reply...