Is there a “MODEL_LOOKUP” like function usable in Javascript snippets? I’m looking to, in javascript, be able to get a specific row from a model based on a key (eg. the Salesforce ID of the row).
I’m finding myself needing to go through loops to construct Maps in Javascript in order to have this functionality, but if there is some way I can pull a row from a model based on a key (like the MODEL_LOOKUP function but in Javascript) I wouldn’t need to do that.
Is there a similar function to MODEL_LOOKUP usable in Javascript that will return the row (or values from the row) I’m looking for based on a key? I’m not finding a function like this in the model methods documentation.
Thanks!
Question
Javascript Snippet MODEL_LOOKUP equivalent / Get Row based on key?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.