Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Code Checking in Code Editor

Avatar

Avatar
Contributor
Employee
thebenrobb
Employee

Likes

140 likes

Total Posts

312 posts

Correct Reply

82 solutions
Top badges earned
Contributor
Seeker
Shape 1
Give Back 3
Give Back
View profile

Avatar
Contributor
Employee
thebenrobb
Employee

Likes

140 likes

Total Posts

312 posts

Correct Reply

82 solutions
Top badges earned
Contributor
Seeker
Shape 1
Give Back 3
Give Back
View profile
thebenrobb
Employee

15-08-2017

From SarahEOwen

I REALLY, REALLY like in DTM that when I make a silly mistake - like forget the ending " in my console.log() in the below screen shot - that I am warned and notified of the line of code that is causing an issue (see screen shot 1 below).

But, it looks like this wonderful feature is not in Launch (see screen shot 2 below)

Screen Shot 1 :: DTM Saving Me

1279599_pastedImage_0.png

Screen Shot 2 :: Launch Not Saving Me

I put the same typo here -- missing the closing " in my console.log() -- but there is no warning. I can save this action and then save the entire rule.

1279600_pastedImage_9.png

6 Comments

Avatar

Avatar
Validate 1
Level 3
jimbSprint
Level 3

Likes

26 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 3
jimbSprint
Level 3

Likes

26 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
jimbSprint
Level 3

21-08-2017

We wrote a Chrome plugin to do better syntax and code checking in DTM.  I was hoping to retire it with launch, but the current editor needs a lot of improvement, most notably Sarah's request to do syntax checking at the very least.

Also, those of us who have obtained a certain level of maturity would REALLY appreciate the ability to make the font less tiny.

Avatar

Avatar
Validate 1
Level 3
jeromerichard
Level 3

Likes

31 likes

Total Posts

28 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 3
jeromerichard
Level 3

Likes

31 likes

Total Posts

28 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
jeromerichard
Level 3

22-08-2017

Would much prefer the code validation occur in the code editor itself, rather than fail on build - we get errors, but at that point i or another user might have made a heap of changes, so tracking this down will be challenging, especially as the message in Chrome seems to go beyond the screen, see screenshot below.

Please, please add code validation to the custom code console

1284069_pastedImage_0.png

Avatar

Avatar
Boost 5
Level 2
lisab93192642
Level 2

Likes

5 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Boost 5
Level 2
lisab93192642
Level 2

Likes

5 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
lisab93192642
Level 2

30-08-2017

So agree here!  Highly complex tools such as Tag Managers are often intimidating to "non-coders" and Business Users.  It took me over a year to get my division to use Ad Hoc/Discover and the balance of the company refuses to use it because it appears to convoluted.  The beauty of DTM and Launch is that a Business User should be able to easily employ the tool.  If the script does not fail until build, the troubleshooting could be extremely time consuming for the implementer, and DEV resources can be difficult to come by.  I say this as a non-coder myself.

Avatar

Avatar
Validate 50
Level 8
SarahEOwen
Level 8

Likes

268 likes

Total Posts

408 posts

Correct Reply

17 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Ignite 1
View profile

Avatar
Validate 50
Level 8
SarahEOwen
Level 8

Likes

268 likes

Total Posts

408 posts

Correct Reply

17 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Ignite 1
View profile
SarahEOwen
Level 8

16-09-2017

Aaronius9er9er9er​ you are AMAZING!!!

There are real-time checks:

1300194_pastedImage_0.png

There are warnings that make me a better coder:

1300195_pastedImage_3.png

And I'm sure you have more goodness in there for us too!

THANK YOU SOOOOOOOOOOOOOOOOO MUCH

Avatar

Avatar
Seeker
Employee
brandon_pack
Employee

Likes

30 likes

Total Posts

40 posts

Correct Reply

10 solutions
Top badges earned
Seeker
Unlock
Publish 1
Ignite 1
Give Back 3
View profile

Avatar
Seeker
Employee
brandon_pack
Employee

Likes

30 likes

Total Posts

40 posts

Correct Reply

10 solutions
Top badges earned
Seeker
Unlock
Publish 1
Ignite 1
Give Back 3
View profile
brandon_pack
Employee

13-10-2017

This has been released to the Beta Environment.  Great suggestion!  Thanks for help us improve the product.

Avatar

Avatar
Validate 1
Level 2
msawlor
Level 2

Likes

17 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
msawlor
Level 2

Likes

17 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
msawlor
Level 2

23-07-2018

You can turn this feature "off" using comments around your custom code. 


/* jshint ignore:start */


//Code which causes warnings you don't care about here

/* jshint ignore:end */