I have a rehosted workflow. I'm creating a custom way users can input arguments. I want to remove the Arguments section from the WorkflowDesigner.View.
is that possible?
Cheers
theHaggis
After creating your WorkflowDesigner:
var designer = new WorkflowDesigner();
You can access various options, including the one where you show/hide bar items, using DesignerView, like this:
var designerView = designer.Context.Services.GetService<DesignerView>();
designerView.WorkflowShellBarItemVisibility =
ShellBarItemVisibility.Imports |
ShellBarItemVisibility.MiniMap |
ShellBarItemVisibility.Variables |
// ShellBarItemVisibility.Arguments | <-- Uncomment to show again
ShellBarItemVisibility.Zoom;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With