nm figured it out, it needs to be `import record ...
# suitescript
k
nm figured it out, it needs to be
import record from 'N/record';
then any exported functions (e.g.,
render
for a portlet) just need to have the
export
keyword before the function declaration:
export function render() { ... }