Copied to clipboard

Flag this post as spam?

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


  • Jan Molbech 40 posts 126 karma points
    Apr 28, 2014 @ 14:26
    Jan Molbech
    0

    how to use unique property

    I've tried to implement a data type that checks if a integer input has been used before. My implementation doesn't work. 

    When i create my new datatype, shouldn't i be able to select 'unique property' in the property editor dropdown?

    The short explanation at http://ucomponents.codeplex.com/wikipage?title=UniqueProperty&referringTitle=Documentation ; i can't understand.

    Can anybody give me a step-bystep guide?

  • Ismail Mayat 3823 posts 7554 karma points admin mvp c-trib
    Apr 28, 2014 @ 16:57
    Ismail Mayat
    0

    Jan,

    What version of uComponents are you using i wrote uniqueproperty a long long time ago not sure if was left behind from main ucomponents core at some point.

    Regards

    Ismail

  • Jan Molbech 40 posts 126 karma points
    Apr 28, 2014 @ 17:01
    Jan Molbech
    0

    Oh sorry. My mistake.

    I've downloaded uComponent 6.0.0 and using it on a Umbraco 6.1.6 installation

  • Ismail Mayat 3823 posts 7554 karma points admin mvp c-trib
    Apr 28, 2014 @ 17:18
    Ismail Mayat
    1

    Jan,

    It should be there under legacy, i just checked uComponents source and it has been moved to legacy. With regards to how to use you pick the field you want to be unique and on save it will check the xml cache for that value in that property i last used it in umbraco 452 so not sure if it will work with 616 although in theory it should.

    Regards

    Ismail

Please Sign in or register to post replies

Write your reply to:

Draft