Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nicolás Cova 48 posts 120 karma points
    Apr 10, 2013 @ 16:55
    Nicolás Cova
    0

    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.

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Apr 10, 2013 @ 17:17
    Hendy Racher
    100

    Hi Nicolas,

    Theres a Textstring Array datatype in uComponents that can be used to store a colleciton of value pairs ?

     

  • Nicolás Cova 48 posts 120 karma points
    Apr 10, 2013 @ 17:22
    Nicolás Cova
    0

    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!

  • Nicolás Cova 48 posts 120 karma points
    Apr 29, 2013 @ 23:18
    Nicolás Cova
    0

    Thanks Hendy, the Textstring Array datatype worked perfectly.

Please Sign in or register to post replies

Write your reply to:

Draft