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; }
}
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\
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"?
With Umbraco 9 View="CheckBox" used to work.
With Umbraco 10 is not working anymore, I couldn't find a list of available views. Anyone has an updated list?
For Umbraco 10, the views are now part of a Razor Class Library, so no longer visible in the website file tree. It seems they should still be present for Umbraco 9, but if you can't find them, perhaps take a look at the v10 files?
Hey Heather, thanks for the feedback, I don't think we are speaking about the same thing though. The zip file you mentioned contains the front-end views for templates. I am trying to create a workflow with custom attributes, so I'd need the list of Views available for the backoffice, not the templates. With umbraco 9 View="CheckBox" used to work, with U10 no.
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?
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\
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 likeview = "textfield"
orview = "pickers.content"
?I don't think it matters, cause it works either way. (I've just tested it)
With Umbraco 9 View="CheckBox" used to work. With Umbraco 10 is not working anymore, I couldn't find a list of available views. Anyone has an updated list?
For Umbraco 10, the views are now part of a Razor Class Library, so no longer visible in the website file tree. It seems they should still be present for Umbraco 9, but if you can't find them, perhaps take a look at the v10 files?
If you look here: https://our.umbraco.com/documentation/Add-ons/UmbracoForms/Developer/Themes/#creating-a-theme there is a link to a downloadable ZIP file which includes copies of all the views for developer reference.
Hey Heather, thanks for the feedback, I don't think we are speaking about the same thing though. The zip file you mentioned contains the front-end views for templates. I am trying to create a workflow with custom attributes, so I'd need the list of Views available for the backoffice, not the templates. With umbraco 9 View="CheckBox" used to work, with U10 no.
Ah, Sorry Joao, you are correct - those aren't visible in the ZIP file.
I've found you can peek inside the Umbraco.Forms.StaticAssets NuGet package to see those items:
"Checkbox" does seem to be available...
You might consider adding this as an Issue at https://github.com/umbraco/Umbraco.Forms.Issues if it appears to be a bug.
is working on a reply...