Adding A Type To The Provider Model
Preparations
Adding the type to Forms
public class LogWorkflow : Umbraco.Forms.Core.WorkflowType
{
private readonly ILogger<LogWorkflow> _logger;
public LogWorkflow(ILogger<LogWorkflow> logger)
{
_logger = logger;
}
public override WorkflowExecutionStatus Execute(WorkflowExecutionContext context)
{
throw new NotImplementedException();
}
public override List<Exception> ValidateSettings() {
throw new NotImplementedException();
}
}Setting up basic type information
Adding settings to a type
Validate type settings with ValidateSettings()
Registering the class with Umbraco and Forms
Overriding default providers in Umbraco Forms
Last updated
Was this helpful?