Select to view content in your preferred language

ArcGIS map-components Editor: hideFlow/visibleElements.flow missing in 5.x - how to hide the Back button?

103
0
yesterday
EricErtl
Frequent Contributor

Hi Esri community,

I am using ArcGIS Maps SDK for JavaScript map components in a React app and I am trying to hide the Back button in the Editor UI during an update workflow.

My setup:

  • ArcGIS packages: @ArcGIS/core 5.0.16 and @ArcGIS/map-components 5.0.16
  • Component: arcgis-editor
  • Workflow: I open popup action Edit, then call startUpdateWorkflowAtFeatureEdit(selectedFeature)

What I am seeing:

  • In older widget-based code, I used visibleElements.flow = false (or hideFlow in older examples) to remove the flow/back UI.
  • In arcgis-editor (map component), hideFlow is not available.
  • visibleElements is also not exposed as a public component property.
  • EditorViewModel does not appear to support visibleElements.flow either.

What I need:

  • A supported way to hide the Back button/flow UI in arcgis-editor.
  • If not supported, a recommended workaround that is stable for production.

Additional context:

  • I can still cancel workflows programmatically and collapse my side panel, but I specifically want to prevent users from using the built-in Back navigation in the Editor component.

Question:
Is there an official/supported replacement for hideFlow when using arcgis-editor in 5.x map components?
If not, what workaround do you recommend?

Thanks!

0 Kudos
0 Replies