Damree Ilyaad
12/20/2019, 11:10 AMec
12/20/2019, 1:23 PMmessage
is a scriptable recordDamree Ilyaad
12/20/2019, 1:33 PMec
12/20/2019, 1:51 PMentity
(ID: 8142 in your screenshot) and from there you can perform whatever lookups you wish in the beforeLoad
entry point. No?ec
12/20/2019, 1:52 PMDamree Ilyaad
12/20/2019, 1:59 PMec
12/20/2019, 2:03 PMurl.resolveRecord
which allows you to specify params
as a parameter, which is where you’ll include parameters for your Email Message record. custpage_fieldvalue1, custpage_fieldvalue2 (bad names, but I don’t know what you are collecting from your template). Make sense?ec
12/20/2019, 2:03 PMbeforeLoad
event will have access to the request parameters I believeec
12/20/2019, 2:04 PMscriptContext.request.parameters.custpage_fieldvalue1
Damree Ilyaad
12/20/2019, 2:24 PMurl.resolveRecord.
This method is used to open a saved record by providing the internal Id.
In my scenario, my custom form (suitelet) must open the standard Email popup form in create mode.