Copied to clipboard

Flag this post as spam?

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


  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    Jul 14, 2010 @ 10:39
    Ismail Mayat
    1

    Regex for upload field

    Guys,

    2 contour questions,

    1. The upload field does not allow regex guess i will need to create my own upload field type inheriting from current one and put regex code in there? I need it so that i can allow only uploads of certain extension type thats what the reg ex will be for.

    2. When using workflow save as umbraco document, do you need to have a doc type with field aliases that correspond to the form and then contour on submit knows how to map?

    Regards

    Ismail

  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    Jul 14, 2010 @ 16:03
    Ismail Mayat
    1

    In answer to my questions

    1. Created my own field type see http://our.umbraco.org/projects/umbraco-pro/cogworks-cogfilteredupload

    2. When you create the workflow item you get mapping (really nice feature high 5 contour u rock!)

    Regards

    Ismail

  • Tim 1193 posts 2655 karma points c-trib
    Jul 15, 2010 @ 16:33
    Tim
    1

    If you need to map to a dynamic page (dependand on a dropdown say) for the publish, rather than always publish to a single node, there's a simple workflow that I did to allow you to map the page to publish to to a control in the field (that must contain an umbraco node id):

    http://our.umbraco.org/projects/backoffice-extensions/contour-workflow-save-to-page-specified-in-form-field

    :)

  • Dan Evans 616 posts 988 karma points
    Jun 24, 2013 @ 14:00
    Dan Evans
    0

    Is there a version of this that works with Razor?

  • 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