| Numéro d’ID de bogue |
BUG-000107914 |
| Envoi | September 8, 2017 |
| Dernière modification | June 5, 2024 |
| S’applique à | ArcGIS GIS Server |
| Version trouvée | 10.5.1 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | N/A |
| Statut | Will Not Be Addressed
L’équipe de développement a examiné le problème ou la demande et a décidé qu’ils ne seraient pas traités. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
The Attachment Manager adds the content type to the attachment table depending on file extensions. The tool gets the content type using the MIME type in HKEY_CLASSES_ROOT\MIME\Database\Content Type.
If a machine does not have a PDF application registered, (application/pdf) then the content type is just set to ‘unknown’ when the attachment is added, and hence the PDF are not opened anywhere else, even though the extension is '.pdf'. The content type field determines how the attachment is opened, the file extension does not guarantee the content.
There are two workarounds:
1. Install Adobe Reader on the machine.
2. Use Windows 10 because the operating system already has the content type built in, since most browsers can read PDF files.
Solution de contournement
Install Adobe Reader on the machine where ArcGIS for Desktop is installed.If not possible, through REST, change the format of the attachment from Unknown to PDF. This is explained further in the following document: (<a href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Attachment_Infos_Map_Service_Layer/02r3000000r0000000/" target="_blank">http://resources.arcgis.com/en/help/arcgis-rest-api/#/Attachment_Infos_Map_Service_Layer/02r3000000r0000000/</a>)
Étapes pour reproduire
ID de bogue: BUG-000107914
Logiciel: