Jump to content
Sign in to follow this  
kbee

Allow Value List to Determine Layout View

Recommended Posts

Hello All,

We have 6 layouts based on the type of Details being entered (ie, meeting, interview, incident report form). We created a value list for each type of Detail. From a list view of all Detail records, we would like to set the Detail ID field with a button script trigger that takes the user to the appropriate layout based on the Detail value list selection. Is this possible? 

 

Share this post


Link to post
Share on other sites

Your question is rather confusing, esp. the part about "button script trigger". If you have a button defined to run a script, then no script trigger is necessary. Make your script do something like:

If [ Details::Type = "Meeting" ]
  Go to Layout [ "Meeting" ]
Else If [ Details::Type = "Interview" ]
  Go to Layout [ "Interview" ]
Else If [ Details::Type = "Incident" ]
  Go to Layout [ "Incident" ]
# add more as necessary
End If

 

Share this post


Link to post
Share on other sites

My apologies on the confusion, still learning the lingo.

This works perfect, thank you!

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

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