I am trying to set a field value on popup from another record, how are ya'll handling that in 2.1/2.0? So, for example custom record add new customer popup set some default value from custom record (edited). Need to get the record id from the Work Order to use on this pop new record im creating from it.
b
battk
04/10/2024, 7:02 PM
use window.opener to run code in the context of the opening window
battk
04/10/2024, 7:03 PM
in particular, you have access to the require Function, so you have access to N/currentRecord
n
Nicholas Williams
04/10/2024, 7:10 PM
Thanks, i'll try that out
Nicholas Williams
04/10/2024, 8:08 PM
@battk is that done through a client script referencing window.opener?