Copied to clipboard

Flag this post as spam?

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


  • Tony Kiernan 278 posts 341 karma points
    Aug 14, 2012 @ 15:53
    Tony Kiernan
    0

    Howto: Find a datatype alias?

    Anyone?

    To add a datatype to Courier (1.2) I need the alias.  I cannot find this in the database or anywhere.  Can someone point me in the right direction?

  • Richard Terris 273 posts 715 karma points
    Aug 15, 2012 @ 14:41
    Richard Terris
    0

    Tony

    Unless I'm mistaken, I don't think datatypes have an alias.

    They have a GUID and a name.

    Can you use the GUID to register it?

  • Tony Kiernan 278 posts 341 karma points
    Aug 15, 2012 @ 15:03
    Tony Kiernan
    0

    The courier config file needs the GUID and the alias.  Although, it's the control alias not the datatype.  Still no idea where that comes from

  • Richard Terris 273 posts 715 karma points
    Aug 15, 2012 @ 15:14
    Richard Terris
    0

    Don't know what you mean by "control" ?

  • Tony Kiernan 278 posts 341 karma points
    Aug 15, 2012 @ 16:03
    Tony Kiernan
    0

    I mean the 'control' you render when you create a datatype

  • Richard Terris 273 posts 715 karma points
    Aug 15, 2012 @ 16:26
    Richard Terris
    0

    Ah, so you're talking about custom dataTypes then..

    I had a look in the uComponents.Core.dll and can't find anything.

    I also looked in a custom control I created in umbraco.config file and there doesn't seem to be an alias.

    I'm not sure where excatly custom data types are stored, can't find them in db either but this is going to annoy me now!

    I don't think there is an alias for the control though but sorry I can't be of any help :)

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Aug 15, 2012 @ 16:55
    Tom Fulton
    0

    I don't think this key/alias relates to your datatype in any way, I think you can make up your own value as long as it's unique.

    -Tom

  • Tony Kiernan 278 posts 341 karma points
    Aug 15, 2012 @ 17:35
    Tony Kiernan
    0

    Kewl.  Leyt's try that then..

  • Tony Kiernan 278 posts 341 karma points
    Aug 17, 2012 @ 14:35
    Tony Kiernan
    0

    According to the documentation I've found, that should be the case.  Hasn't worked though.  I'm going to blame that on the old version being used.

    Richard: I'm not sure what the distinction is you are making with 'custom datatypes'.  All datatypes render a control

     

  • Richard Terris 273 posts 715 karma points
    Aug 17, 2012 @ 14:39
    Richard Terris
    0

    Only distinction I can see is that custom dataTypes aren't registered in the db whereas the standard Umbraco ones are

Please Sign in or register to post replies

Write your reply to:

Draft