Navigation from one Layout to another Layout on click of a button to display data
I have a layout (Ex: appone) with 20 fields. I create a new record and click of a button to navigate from appone to another layout (apptwo) , I require to display four fields in apptwo (details saved in appone) and later save all the details into a table on new record in apptwo.
I was able to navigate to apptwo using script and using global variable display the data from appone to apptwo but after new record addition the data is not getting cleared. I have also tried using a portals in apptwo, but apptwo does not display the current record but displays the first record data. Please let me know the best solution.