漏洞 ID 编号 |
BUG-000163050 |
已提交 | November 17, 2023 |
上次修改时间 | June 5, 2024 |
适用范围 | ArcGIS API for Python |
找到的版本 | 2.1.1 |
操作系统 | Windows OS |
操作系统版本 | 10.0 64 Bit |
状态 | As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
|
附加信息
Layer views cannot contain spaces in the name. Underscores included in the name are kept. For example, the view can be named, 'US_Points_with_lat_long' and the view is created as expected. If the view name is, 'US Points_with_lat_long', the value contains a space in the name, which causes the issue. To automate the process, use the Python built-in replace function to replace spaces with `_`.
解决办法
Include underscores in the Python code when naming the created view layer.
重现步骤