Copied to clipboard

Flag this post as spam?

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


  • Greg Fyans 124 posts 303 karma points
    Sep 23, 2011 @ 19:33
    Greg Fyans
    0

    Contour save removes datatype prevalues

    Hello,

    Have a funny thing going on here. I've created 4 datatypes based on the default dropdown datatype in 4.7.1. I want to use this as a prevalue source in Contour.

    When I save my form the pre-values for one of my Prevalue Sources are all removed. It's always the same one, the one with times (08:00 to 20:00).

    Here is a video to prove I'm not mad :)

    http://screencast.com/t/PgiVZiYiFlKL

    I've tried setting the datatype to nvarchar and ntext but the same thing happens.

    Anyone have any ideas?

    Cheers,
    Greg.

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Sep 26, 2011 @ 10:08
    Tim Geyssens
    0

    Hi Greg,

    We'll check the issue, I might have a workaround if you are only interested in listing the prevalues and not editing them from the contour form designer. A read only variant of the prevalue source, let me know if that can fix it for you and I'll dig it up

  • Greg Fyans 124 posts 303 karma points
    Sep 26, 2011 @ 10:20
    Greg Fyans
    0

    Hi Tim,

    I need to be able to edit the values somewhere in the backoffice, not necessarily through Contour. Will your workaround allow me to do this?

    Cheers,
    Greg. 

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Sep 26, 2011 @ 10:23
    Tim Geyssens
    0

    Sure, you will still be able to edit them in the datatypes part of the developers section

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Sep 26, 2011 @ 10:25
    Tim Geyssens
    0

    Sure, you will still be able to edit them in the datatypes part of the developers section

  • Greg Fyans 124 posts 303 karma points
    Sep 26, 2011 @ 10:44
    Greg Fyans
    0

    Hi Tim,

    That's what I'm doing just now. I've made a new datatype in the developers section and I'm using it as a pre-value source in Contour, unless you mean something different?

    Cheers,
    Greg. 

  • Greg Fyans 124 posts 303 karma points
    Sep 27, 2011 @ 13:26
    Greg Fyans
    0

    Hey, does anyone have a clue what's going on here or can you think of a workaround that means I won't be duplicating dropdownlist across many forms?

    Cheers,
    Greg. 

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Sep 28, 2011 @ 10:06
    Tim Geyssens
    0

    Ok, here is a custom prevalue source type: http://dl.dropbox.com/u/14228187/Contour.PrevalueSource.DataTypeReadOnly.dll.zip

    Simply extract and then place it in your bin folder, you should now be able to create a new prevalue source using that type.

    Regards,
    Tim

  • Greg Fyans 124 posts 303 karma points
    Sep 28, 2011 @ 18:23
    Greg Fyans
    0

    Hi Tim,

    Thanks for your help.

    There's definitely a bug in there somewhere but instead of using the pre-value source, I think I'll take my pre-values from the content tree. Thinking about this further I think that'll actually be better for what I need.

    Cheers,
    Greg.

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Sep 29, 2011 @ 09:02
    Tim Geyssens
    0

    Yup it's a bug wich will be fixed in the next maintenance release, yup by using the content tree your content editor will be able to update the values in a central place

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies