Enter Case number reference for associated cases.

Case #

Status:

Type: APM as a Service

Old Article ID: 1205

Old Article Type: documentation

 

Information:

Detail the contextual information specific to the issue; i.e. Product, Version, Agent, System, etc.

  • Dynatrace Recorder

 

Clearly list the Steps to resolve the issue

When commenting JavaScript used in a Custom action in the Dynatrace Recorder, do not begin the comment with double slashes ( // ).

When a Dynatrace Recorder script is run, any custom JavaScript will be interpreted as one line. If you use // to begin a comment, all code following that comment will be parsed as part of the comment.

The correct style for commenting code for the Dynatrace Recorder is:

/* COMMENT */

This comment style closes the comment, so the code following it is parsed correctly.