Bug
| Bug-ID-Nummer | BUG-000139012 |
|---|---|
| Eingereicht | April 14, 2021 |
| Zuletzt geändert | June 5, 2024 |
| Gilt für | ArcGIS Dashboards |
| Gefunden in Version | 9.1 |
| Betriebssystem | Windows OS |
| Betriebssystemversion | 10.0 |
| Status | 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));
Bug-ID: BUG-000139012
Software:
Unterstützung durch ArcGIS-Experten anfordern
Esri Support App herunterladen