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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Code Checking in Code Editor

Avatar

Avatar
Artisan
Employee
thebenrobb
Employee

Likes

151 likes

Total Posts

318 posts

Correct reply

83 solutions
Top badges earned
Artisan
Give Back 100
Give Back 50
Give Back 25
Give Back 10
View profile

Avatar
Artisan
Employee
thebenrobb
Employee

Likes

151 likes

Total Posts

318 posts

Correct reply

83 solutions
Top badges earned
Artisan
Give Back 100
Give Back 50
Give Back 25
Give Back 10
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
Give Back 5
Level 3
jimbSprint
Level 3

Likes

26 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Give Back
Ignite 3
View profile

Avatar
Give Back 5
Level 3
jimbSprint
Level 3

Likes

26 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Give Back
Ignite 3
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
Ignite 10
Level 4
jeromerichard
Level 4

Likes

32 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 10
Ignite 5
Give Back 5
Ignite 3
Ignite 1
View profile

Avatar
Ignite 10
Level 4
jeromerichard
Level 4

Likes

32 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 10
Ignite 5
Give Back 5
Ignite 3
Ignite 1
View profile
jeromerichard
Level 4

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
Coach
Level 10
SarahEOwen
Level 10

Likes

272 likes

Total Posts

408 posts

Correct reply

17 solutions
Top badges earned
Coach
Originator
Contributor 2
Contributor
Shape 25
View profile

Avatar
Coach
Level 10
SarahEOwen
Level 10

Likes

272 likes

Total Posts

408 posts

Correct reply

17 solutions
Top badges earned
Coach
Originator
Contributor 2
Contributor
Shape 25
View profile
SarahEOwen
Level 10

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
Give Back 25
Employee
brandon_pack
Employee

Likes

30 likes

Total Posts

41 posts

Correct reply

10 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Seeker
Unlock
View profile

Avatar
Give Back 25
Employee
brandon_pack
Employee

Likes

30 likes

Total Posts

41 posts

Correct reply

10 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Seeker
Unlock
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
Ignite 1
Level 2
msawlor
Level 2

Likes

18 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back
Contributor
Shape 1
Validate 1
View profile

Avatar
Ignite 1
Level 2
msawlor
Level 2

Likes

18 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back
Contributor
Shape 1
Validate 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 */