-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
registerItems.py fails to add Type: WMS services #54
Comments
It could be failing due to the extra parameters on the WMS url. Try just https://sampleserver6.arcgisonline.com/arcgis/services/SampleWorldCities/MapServer/WMSServer for the url and see if it works. |
Thanks for the quick reply! Unfortunately the same response 0 items added for the URL added as "https://sampleserver6.arcgisonline.com/arcgis/services/SampleWorldCities/MapServer/WMSServer" |
Watching the network traffic for the workflow in the UI, it appears there's a call to a proxy service to populate some additional info. The additional info gets sent with the You could try adding some logic to the
|
The script does not function for services of Type WMS to an ArcGIS Online or Portal for ArcGIS environment. This script executes perfectly for "Map Service" type, but not "WMS" type
CSV Line 1:
title,url,tags,type,id,thumbnail,description,snippet,extent,spatialReference,accessInformation,licenseInfo,culture
CSV Line 2:
WMS_Service,https://sampleserver6.arcgisonline.com/arcgis/services/SampleWorldCities/MapServer/WMSServer?request=GetCapabilities&service=WMS,testtag,WMS,,,WMS,,,,,,
When executed directly, the script returns "0 items added". Watching network traffic, the script never executes the "addItem" call to the Portal sharing API.
The text was updated successfully, but these errors were encountered: