You can usually access the form object from the co...
# suitescript
s
You can usually access the form object from the context of a record. Is there any way to load the the form object from a record that was loaded doing record.load?
j
I do have the form object. Since im creating one from scratch in a suitelet. I can add fields and sublist fields just fine with addField/sublist.addField, but Im not sure how to choose a sublist field to sort by.
d
I think Stefan was asking their own question Forrest, rather than answering yours 🙂
e
@sholodnick Why do you want to do this? Is there certain functionality available via FORM that is not via RECORD?
s
Does a Record loaded in SuiteScript even have a Form?
s
@Stuart Anderton, that's exactly what I'm asking. I was wondering if there is some way to access it or if it's even available. @ec I'm trying to integrate with some 3rd party code and they programmatically generated a sublist. I wanted to be able to populate this sublist with another script. Unfortunately my script is not recognizing that sublist when I try to do a record.load. I was thinking I could possibly load the form and update the sublist that way. All within a script that is generating the record from a different record type.