AnsweredAssumed Answered

Go to a layout based on the value of a field - How to?

Question asked by Shai on Nov 15, 2012
Latest reply on Nov 16, 2012 by philmodjunk

Title

Go to a layout based on the value of a field - How to?

Post

     Hello. This is my first post to this forum and I hope someone can help me out.

     Situation:

     I have my Address book set up so that we can go to a particular layout depending on the type of Contact entry we need. For example, for Clients - go to the Client Layout, for Staff, go to the Staff Layout etc.

     Jobs are entered in a separate layout structure. However, what I want to do but can't figure out is how to go from say the Company name on the Job layout (pulled from a dropdown list of values from the Address Book) direct to that Company's details page where the Company could be a Client (one layout) or a Contractor (another layout) (we may do a job as a sub-contractor of the Contractor or may do a job direct for the Contractor, so there's some but not a lot of crossover).

     Summary of question: 

     What's the scripting to go to a layout (Client/Contractor etc) based on the value of a field (Company) in another layout (Jobs)?

Outcomes