Copied to clipboard

Flag this post as spam?

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


  • Bo Jacobsen 392 posts 1631 karma points
    Aug 23, 2018 @ 09:12
    Bo Jacobsen
    0

    Where can i find available views to use for a Forms Workflow Setting

    HI all.

    Using FORMS 4.4.7 and Umbraco 7.5.12.

    I would like to know where i can find all possible views available for a attribute setting. Like there is TextField and pickers.content.

    Do anyone know?

    public class CustomWorkflow : WorkflowType
    {
        [Umbraco.Forms.Core.Attributes.Setting("Field", description = "This is a field", view = "TextField")]
        public string TextField { get; set; }
    }
    
  • Carlos Casalicchio 109 posts 471 karma points
    Jan 27, 2020 @ 20:27
    Carlos Casalicchio
    100

    I don't know if you ever found the answer to this, but it appears the available views (*default ones) are inside \App_Plugins\UmbracoForms\Backoffice\Common\SettingTypes\

    enter image description here

    • Checkbox
    • Document Mapper
    • Dropdown list
    • Email Template Picker
    • Field Mapper
    • File Upload
    • File
    • Password
    • Pickers.ConnectionString
    • Pickers.Content
    • Pickers.ContentWithXpath
    • Pickers.DocumentType
    • TextArea
    • TextField
    • TextString
  • Bo Jacobsen 392 posts 1631 karma points
    Jan 29, 2020 @ 13:32
    Bo Jacobsen
    0

    Hi Carlos.

    I was wondering if that was the case. Thanks for clearing that out.

    I followed the guide here https://our.umbraco.com/documentation/Add-ons/umbracoforms/developer/extending/Adding-a-Type where they use TextField and Pickers.Content

    Do you know if camel case is required for the views, like view = "TextField" or would i just be able to do like view = "textfield" or view = "pickers.content"?

  • Carlos Casalicchio 109 posts 471 karma points
    Jan 29, 2020 @ 18:10
    Carlos Casalicchio
    0

    I don't think it matters, cause it works either way. (I've just tested it)

Please Sign in or register to post replies

Write your reply to:

Draft