Adding a map service in Portal for ArcGIS 10.4.1 on the My Content page does not create a thumbnail when ArcGIS 10.4.1 for Server is set with Integrated Windows Authentication (IWA).
上次发布: January 17, 2017Portal for ArcGIS
漏洞 ID 编号
BUG-000100617
已提交
November 4, 2016
上次修改时间
June 5, 2024
适用范围
Portal for ArcGIS
找到的版本
10.4.1
操作系统
Windows OS
操作系统版本
2012 R2
修正版本
10.5
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
1. When the map service is added as a map image layer in Portal for ArcGIS, click the Edit button.2. Click the option to change the thumbnail image to allow an image to be uploaded. (The recommended resolution for uploaded images is 200 x 133 pixels in PNG, GIF, and JPEG formats.)The actual PNG that fails to get sent to Portal for ArcGIS can be downloaded manually with the process below:1. Capture the web traffic with Fiddler, and look for a URl with the following format when adding the map service to the portal's My Content:<a href="http://supt003949.esri.com/server/rest/services/SampleWorldCities/MapServer/export?size=200,133&bbox=-180,-90,180,90&bboxSR=4326&format=png24&f=json&callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback" target="_blank">http://supt003949.esri.com/server/rest/services/SampleWorldCities/MapServer/export?size=200,133&bbox=-180,-90,180,90&bboxSR=4326&format=png24&f=json&callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback</a>2. Copy and paste the URl in a new tab, and the following is seen:<a href="http://dojo.io" target="_blank">dojo.io</a>.script.jsonp_dojoIoScript1._jsonpCallback({"href":"<a href="http://supt003949.esri.com/server/rest/directories/arcgisoutput/SampleWorldCities_MapServer/_ags_mapa018779aeae5456790bdc876c6bb379e.png" target="_blank">http://supt003949.esri.com/server/rest/directories/arcgisoutput/SampleWorldCities_MapServer/_ags_mapa018779aeae5456790bdc876c6bb379e.png</a>","width":200,"height":133,"extent":{"xmin":-180,"ymin":-119.70000000000005,"xmax":180,"ymax":119.69999999999996,"spatialReference":{"wkid":4326,"latestWkid":4326}},"scale":756473838.23039985});3. From the URl contained in the response above, copy it to the PNG extension, and open it in a new browser:<a href="http://supt003949.esri.com/server/rest/directories/arcgisoutput/SampleWorldCities_MapServer/_ags_mapa018779aeae5456790bdc876c6bb379e.png" target="_blank">http://supt003949.esri.com/server/rest/directories/arcgisoutput/SampleWorldCities_MapServer/_ags_mapa018779aeae5456790bdc876c6bb379e.png</a>4. Right-click on the image, and select 'Save As' to save the image locally, and upload the image from the setting mentioned above.