漏洞 ID 编号 |
BUG-000161624 |
已提交 | September 22, 2023 |
上次修改时间 | December 12, 2024 |
适用范围 | Portal for ArcGIS |
找到的版本 | 10.9.1 |
操作系统 | Windows OS |
操作系统版本 | 10.0 64 Bit |
状态 | As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
|
附加信息
In order to open a file attachment from a feature service, the file type must be allowed. Here are the steps to allow a file type:
- For the ArcGIS Server admin endpoint for services, find the map service endpoint of the affected service, for example,
https://machine.domain.com/webadaptor/admin/services/servicename.MapServer).
- From the Supported Operations at the bottom of the page, choose Edit.
- For the section under "typeName": "FeatureServer", find the "allowedUploadFileTypes" section and add to the existing supported types the file type to be allowed as an attachment, for example, dwg.
- Click Save Edits.
For more details about setting allowed file types, refer to the Help topic from this link: https://developers.arcgis.com/rest/services-reference/enterprise/uploads/#limiting-upload-file-size-and-file-types.
解决办法
In order to open a file attachment from a feature service, the file type must be allowed. Here are the steps to allow a file type:
- For the ArcGIS Server admin endpoint for services, find the map service endpoint of the affected service, for example, https://machine.domain.com/webadaptor/admin/services/servicename.MapServer).
- From the Supported Operations at the bottom of the page, choose Edit.
- For the section under "typeName": "FeatureServer", find the "allowedUploadFileTypes" section and add to the existing supported types the file type to be allowed as an attachment, for example, dwg.
- Click Save Edits.
- For more details about setting allowed file types, refer to the Help topic from this link: https://developers.arcgis.com/rest/services-reference/enterprise/uploads/#limiting-upload-file-size-and-file-types.
重现步骤