Skip to main content

Item Picker: Possibility to control highlighting of features

Not planned

Comments

7 comments

  • Wout Peters

    Running into the same problem as Kristine. Is there any update on this one? 

    1
  • Kristine Smaadal

    Any updates on this one? 

    0
  • Ken Lyon

    Hi Kristine Smaadal ,

    There is no update on this. We have no plans to change how the item picker works. The highlighting is intended to show you where the items are so you understand what you're selecting. If there is no geometry present in the items, nothing is highlighted. That could be a way you could prevent the highlighting if you wanted.

    -1
  • SIGGIS Helpdesk (esri Support)

    Hi Ken Lyon ,

    As a follow-up question on this topic: we notice in an Item Picker (within a panel with tabs) the ‘common’ red highlight (all of the listed features) stays active, even when just one is eventually selected. The unchecked features remain in the red highlight, which is not as expected. Clicking the cancel button doesn't clear them (we need to run a map.clear-markup to achieve that). When using the back-arrow of the panel, however, this highlight is cleared. So, it appears that the Component itself lacks the logic to clear the ‘common’ highlight when we would expect it. Is that intentional or could it be bug behavior? 

    0
  • Ken Lyon

    SIGGIS Helpdesk (esri Support) I believe the persisting highlighting is a known bug in the VertiGIS Studio Web implementation of this form element. I recommend you contact support to check the status of this.

    0
  • Vegard Sulebakk

    Hey Ken Lyon 

    How to handle the graphics behaviour of Item Picker is an exceptionally common question and pain-point. The markup that is added automatically confuses end users, because it covers the original symbology, and that symbology is what actually makes sense to them.

    Two workarounds I commonly use is map.clear/hide-markup on collection “default”. The Item Picker runs one map.add-markup per item, so the markup is added gradually. Often there is nothing to clear yet when the command runs. A Delay is necessary, but how long it needs to be depends on the number of items, so there is no safe value. Hiding or clearing the default markup might also unintentionally hide wanted graphics.

    Using drawing.set-default-symbol to set a blank or outline-only symbol before the Item Picker is populated. The Item Picker uses the app’s default symbol for its markup, so this hides the markup while hover highlighting still works. However, the default symbol has to be reset both before and after the workflow, and it affects any other markup in the app while the workflow is running.

    The Workflow Designer should enable us to choose if we want added graphics on the Item Picker or not. A separate (presumed) benefit would be performance, as each separate item in the Item Picker runs both drawing.get-default-symbol and map.add-markup.

    Vegard Sulebakk
    Geodata

    2
  • Kristine Smaadal

    A correction to my original post: I wrote “highlighting”, but what I meant was the markup (graphics) that the Item Picker adds to the map. The highlighting itself works fine. Vegard describes the issue that still persits, Ken Lyon.

    1

Please sign in to leave a comment.