Build error in Data Element Custom Code | Community
Skip to main content
ai_thanhh816013
New Participant
March 23, 2018
Solved

Build error in Data Element Custom Code

  • March 23, 2018
  • 2 replies
  • 2535 views

I got this error while trying to build an Data Element (custom code)

Could not find Extension for ...

In the Data Element, I put a very simple code to test:

var person = new Object();

And it seems that I got an error for that line of code:

So is it possible to initialize a JS Object in Launch? Or is this an error?

Thanks,

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gigazelle

That's Launch's version of linting. It will still compile just fine, and if you hover over the caution symbol, it should give more info on why it's flagged.

2 replies

Gigazelle
GigazelleAccepted solution
Employee
December 5, 2018

That's Launch's version of linting. It will still compile just fine, and if you hover over the caution symbol, it should give more info on why it's flagged.

New Participant
March 26, 2018

I get the same result, but out of curiosity why not use object literal notation?  var test = {};