Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5078 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

At Devcon somebody made a clever offhand suggestion about using a Script Trigger to sort of hijack the built-oin ListView button on the status bar to take the user to a custom-made List View layout. I've tried this out, and it works well for its purpose - - - but I've discovered that it appears I have to sacrifice the ability to use Table View on the original layout as a result -- since the script trigger is "OnViewChange" -- not, specifically, "OnLISTViewChange." It seems I have to disable Table View for the layout in order to avoid being whsked off to the other layout when a user clicks on it.

Is there an angle I'm not quite getting here? It seems it should be do-able. If there is a little artivle on using this or related strategies, I'd appreciate a pointer.

Thanks again!

Posted

You need an to use the Get ( LayoutView ) function inside an If[] statement.

The script runs after the view is changed, something along the lines of...

If [ Get ( LayoutView ) = 1 ]

Go to Layout[list view]

Else If [Get ( LayoutView ) = 2 ]

Exit Script[]

End If

  • Like 2

This topic is 5078 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.