the declaredClass:"CustomGraphic" line that was added. Once this is in there, it works. This should be used in all extended classes. Doc will be updated to reflect this and hopefully alleviate any future confusion."/>
laptop and a wrench

Error

Classes cannot be extended in ArcGIS API for JavaScript 4.1.

Última publicación: July 31, 2017 ArcGIS for Server
Número de ID del error BUG-000100264
EnviadoOctober 21, 2016
Última modificaciónMarch 30, 2022
Relacionado conArcGIS for Server
Versión encontrada10.2.2
Plataforma del servidorWindows OS
Plataforma cliente7.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

Problem is with how the custom class was created, it should read define(["esri/core/declare", "esri/Graphic"],function (declare, graphic) { return declare([graphic],{ declaredClass: "CustomGraphic" }); }); NOTE -> the declaredClass:"CustomGraphic" line that was added. Once this is in there, it works. This should be used in all extended classes. Doc will be updated to reflect this and hopefully alleviate any future confusion.

Pasos para reproducir

ID del error: BUG-000100264

Software:

  • ArcGIS for Server

Obtener ayuda de expertos en ArcGIS

Contactar con soporte técnico

Descargar la aplicación de soporte de Esri

Ir a las opciones de descarga

Descubrir más sobre este tema