Dollar sign notation ($.company) in field mapping?

Q. In my integration, I see references to elements within a $ object in the import mapping, like the following:

{{#if $.company}} {{$.company}} {{else}} {{$.first_name}} {{$.last_name}}{{/if}} 

What does $ mean here? I looked for a transform and elsewhere to identify it, but it doesn’t seem to appear before the import.

A. NetSuite uses $ as the equivalent of the familiar JavaScript keyword this, in referring to a global object in the current context. So, in plain English, you could read the handlebars statement above,

Leave a comment

Your email address will not be published. Required fields are marked *