Zum Hauptinhalt gehen

Remove DataRegion arrow

Kommentare

12 Kommentare

  • Permanently deleted user

    Yes.  In the desktop.json, in the Navigation module for the DataFrameButtonView you need to change visible to false.

    0
  • John Nerge

    Perfect, thanks!

    0
  • Permanently deleted user
    This isn't working for me. There is a startup query (I don't want to see results), and the arrow appears regardless of what the setting is for the DataFrameButtonView in the Navigation module.
    0
  • John Nerge
    I ended up undoing this change because even when it did work I would sometimes end up with an empty region that I couldn't collapse since there was no button.

     

    Can you provide some more info in what your startup workflow is doing?
    0
  • Permanently deleted user
    Good to know, John. The startup workflow is a query for a parcel account number, so it passes map service id, layer name and query. It also closes the result pane. I was trying to have a very simple map that would simply zoom to the queried parcel with no other tools or capabilities (except zoom in/out and base map switcher) that could be inserted in an iframe.
    0
  • John Nerge
    Can you provide a copy of your workflow? I definitely have ones that do what you're looking to do without ever opening the results pane.
    0
  • Permanently deleted user
    Thanks, John. I copied it from a sample.

     

    Oops, the forum won't let me paste it as it exceeds the character limit, and I don't see a way to attach a file. This is inconvenient.

     

     
    0
  • Permanently deleted user
    Per Jordan's email in another thread, I have posted this workflow to Google Drive. StartupQueryWorkflow_AcctNo (https://drive.google.com/folderview?id=0BwY6J3h90ftlakNJR1d0QmoyanM&usp=sharing) . Thanks for taking a look, John.
    0
  • John Nerge
    Yikes, that is a major inconvenience. Nice workaround using Drive though.

     

    The activity in your workflow that is opening the results list is SelectFeatures. If you remove this from your workflow, then everything will still work; you just won't see search results.

     

    A side recommendation: you could simplify the structure of your workflow by using a flowchart instead of a series of nested If statements.
    0
  • Permanently deleted user
    Thanks, I will try that. I'm definitely a workflow novice - I usually just take someone else's work and try to adapt it, which may lead away from best practices :-) Thank you for the feedback!
    0
  • Permanently deleted user
    The layers panel which is completely white shows up for me still when I have a startup workflow. I was able to hide the data frame after I did a query. However, I cannot seem to get it right at the beginning to hide on me...Any suggestions?
    0
  • John Nerge
    If you want to get rid of the layers pane entirely, you can disable it in your viewer config.

     

    {

     

            "id": "LayerDataContainerView",

     

            "viewModelId": "LayerDataContainerViewModel",

     

            "visible": false,

     

            "isManaged": true,

     

            "title": "@language-common-layer-data",

     

            "iconUri": "Resources/Images/Icons/Toolbar/layers-24.png",

     

            ...

     

    }
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.