| Numéro d’ID de bogue |
BUG-000140757 |
| Envoi | June 16, 2021 |
| Dernière modification | June 5, 2024 |
| S’applique à | ArcGIS Online |
| Version trouvée | 9.1 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 64 Bit |
| 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
This issue is by-design for security issues.
Solution de contournement
- The output of the geoprocessing tool is of type GPString and the tool generates an HTML element <a> directly.
- To keep out the malicious code, string content is sanitized before displaying on the page and the target=‘_blank’ is removed.
- Open a new tab to show the output PDF file, change the output type of the geoprocessing tool from GPString to GPDataFile.
- Thus, ArcGIS Web AppBuilder will generate an HTML element <a target=“_blank”>.
- If the output type is GPDataFile, the users do not need to generate the URL parameter.
- Set the output file path as the value of GPDataFile. The geoprocessing service will create a URL for it. The print service is a good example, refer to the following link, http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task for more information.
Étapes pour reproduire
ID de bogue: BUG-000140757
Logiciel: