AnsweredAssumed Answered

How to close a Window Card and navigate to the related record on a different layout.

Question asked by koachie on Jun 5, 2018
Latest reply on Jun 6, 2018 by JimmyCox

Apologies in advance for what I suspect is a very 'newbie' question.


I am building a student management app.  I would like to be able to open a window card to search for a student, and then once I have selected the student click on their name in order to navigate to their record.  Please see below.


Screen Shot 2018-06-05 at 18.06.03.png


I have attached a script trigger to the student fields above (viz. first name, last name, email, account) that calls up the following script:


Screen Shot 2018-06-05 at 18.17.55.png


This script navigates to the correct student record.  However, it opens the student record in the Window Card rather than on the correct layout (Student Profile).  Please see below.


Screen Shot 2018-06-05 at 18.06.16.jpg


I would like to navigate to the Student Profile layout.  Is there a quick and easy way to do this.  I have tried to figure out a solution but haven't proved successful.


Any help or suggestions would be greatly appreciated.


Thanking you in advance!