I'm developing custom widgets for WAB (Develper Edtion) 2.17, Launchpad Theme, on 3D Scenes (ArcGIS API for javascript 4.17), on our compamy portal (version 10.7.1).
I am still a newbie... When I create a popup (by
this.layerClients.popupTemplate = {
"title": `${that.nls.popupTitle} {Client_Num} - {Client_Name}`,
outFields: ["*"],
"content": featurePointed => { // we chose content to be a function
outFields: ["*"],
"content": featurePointed => { ...
Then, I don't know how do I get a handle to the data of the pointed record.
I have the "featurePointed" but I can't find how to get the data from it.
I'll appreciate help
Solved! Go to Solution.
Found... use featurePointed.graphic.attributes, for example:
featurePointed.graphic.attributes.Client_Num
Found... use featurePointed.graphic.attributes, for example:
featurePointed.graphic.attributes.Client_Num