0
How do you Create & Popup a New Record with multiple fields prepopulated
I've got my code working so I open a new record that is repopulated with a single field. In the below code, I prepopulate the Reservation field in the EMailer table however I need to prepopulate another field or two but I am uncertain how to do this for more than one field. If anyone knows, the additional field name would be "Template" and I would appreciate an example if possible.
let myEM := this;
let New_EM := (create EMailer);
New_EM.(Reservations := myEM.Reservations);
popupRecord(record(EMailer,number(New_EM.Id)))
1 reply
-
Hi Matthew, try the following:
let myEM := this; let New_EM := (create EMailer); New_EM.(Reservations := myEM.Reservations; Template := myEM.Template); popupRecord(record(EMailer,number(New_EM.Id)))
Content aside
- 6 mths agoLast active
- 1Replies
- 49Views
-
2
Following