Hoppa till huvudinnehållet

Set default tab in web viewer

Kommentarer

14 kommentarer

  • Zack Robison

    Cam Barnard, adding a close event to Panel "x" buttons that could be bound to in Web would be so helpful for use cases like this or closing forms.  Any chance the team has looked into something like that?

    3
  • Gareth Finney

    Can a default tab toggle be added to the properties of Tab component please? I'm setting the default by adding it as the first tab, but this is inflexible.

    2
  • Eric Kriener

    YES! YES! YES!
    I have the EXACT same issue/gripe

    When users close this list, I want the layer list to be the default tab open.

    2
  • Belinda Kerr

    I'm trying to do the exact same thing? Is there a command we could use as a workaround?

    0
  • Belinda Kerr

    I just figured out how to do it when my workflow finishes. The last step before exiting the workflow is to add a run command step with the parameters below - command name ui.activate. The command parameter is the layout id of my ‘layers’ tab that I want it to activate when my workflow window closes.

     

     

    0
  • Gareth Finney

    thanks for sharing that Belinda…  I guess we hope the ID does not change : )

    0
  • Carmen Durham

    Thank you, Belinda. This helped me to default back to a “Home” tab on the left panel after a specific workflow ended.

    Also, what does happen with these IDs after upgrades and such?  I've had to use these quite often for “Inject CSS” in other areas.

    0
  • Heather Widlund

    What about when it's not a workflow, but a search from the search box…? It still seems like there should be a way to capture the closing of a tab and have it activate the main tab.

    0
  • Heather Widlund

    I've created an Ideas post for capturing the close event here. Please vote!

    0
  • Michelle Wang

    I added event listeners under Event Service to go back to the Home tab when closing other tabs on the side panel:

    Here is the definition of Legend (Default) Panel Closed:

    For Results Panel Closed Event Listener, I have a custom Action commands chain to go back to Home tab and to clear results and highlights focus.

    1
  • Heather Widlund

    Michelle Wang thank you! This is super helpful.

    0
  • Carmen Durham

    Michelle Wang, I too, am grateful for your post. I totally forgot about the event service options.  this will solve quite a few needs.

     

    1
  • Michelle Wang

    Happy to know it's helpful :-)

    0
  • John Nerge

    Thanks from me too, this is exactly what I needed!

    0

Du måste logga in om du vill lämna en kommentar.