Bogue
| Numéro d’ID de bogue | BUG-000139012 |
|---|---|
| Envoi | April 14, 2021 |
| Dernière modification | June 5, 2024 |
| S’applique à | ArcGIS Dashboards |
| Version trouvée | 9.1 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 |
| Statut | Will Not Be Addressed |
var portal = Portal("https://www.arcgis.com/");
var fl1 = FeatureSetByPortalItem(portal,"<layer id>",0,["*"],true)
var fl2 = FeatureSetByPortalItem(portal,"<layer id?",0,["*"],true)
var combinedDict = {
fields: [
{ name: "textField", type: "esriFieldTypeString"},
],
geometryType: "esriGeometryPoint",
features: [],
};
// Loop through each of the three FeatureSets and store attributes into a combined dictionary.
var i = 0;
for (feature in fl1) {
combinedDict.features[i] = {
'geometry':Geometry(feature),
attributes: {
textField: feature["textField"],
}
};
i++;
}
for (feature in fl2) {
combinedDict.features[i] = {
'geometry':Geometry(feature),
attributes: {
textField: feature["textField"]
}
};
i++;
}
// Return dictionary cast as a feature set
return FeatureSet(Text(combinedDict));
ID de bogue: BUG-000139012
Logiciel:
Obtenir de l’aide auprès des experts ArcGIS
Télécharger l’application Esri Support