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 10092 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 10092 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 2675 karma points MVP 4x 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 631 posts 1018 karma points
    Jun 24, 2013 @ 14:00
    Dan Evans
    0

    Is there a version of this that works with Razor?

Please Sign in or register to post replies

Write your reply to:

Draft