Popover | Portal record script required

Discussion created by ajayz on May 23, 2016
Latest reply on May 23, 2016 by keywords


I have a layout called COMPANY DETAIL, and i've added a popover window which shows a portal, displaying ALL companies within the database.



Screen Shot 2016-05-23 at 5.28.16 PM.png


Company_ Details is the main table - Company_Detail_search is just a clone of the table.


Screen Shot 2016-05-23 at 5.10.40 PM.png

I've made the "Company" field within the port a button. I need help with the script that will automatically update the COMPANY DETAIL layout with the "company" selected from my popover window


I would generally use the script "go to related record" however, the relationship isn't related, as  the portal needs to show all companies.


My company field on the COMPANY DETAIL layout is called :  Company_ Details::Company


The company field on the portal is called: Company_Detail_search::Company