漏洞
| 漏洞 ID 编号 | BUG-000139012 |
|---|---|
| 已提交 | April 14, 2021 |
| 上次修改时间 | June 5, 2024 |
| 适用范围 | ArcGIS Dashboards |
| 找到的版本 | 9.1 |
| 操作系统 | Windows OS |
| 操作系统版本 | 10.0 |
| 状态 | 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: BUG-000139012
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序