POST
|
FYI.. The status of Esri BUG-000095939 - Secured OGC services from an ArcGIS for Server federated with Portal for ArcGIS cannot be accessed unless both the OGC and corresponding map service are shared to 'Everyone' in the My Content interface. - that you have been associated with has been changed to Not in Current Product Plan. Public Explanation: The OGC specifications for WMS and WFS services do not allow for OAuth2 authentication which is fully supported by Portal. In an environment where Server is federated with Portal, secured WMS or WFS services require authentication from Portal and support for OAuth2 would be needed. Until the OGC specifications and corresponding client applications are updated to support OAuth2, secured OGC services can only be provided from an un-federated ArcGIS Server using web-tier authentication.
... View more
12-05-2017
07:36 AM
|
0
|
0
|
1289
|
POST
|
Subscribed, any solutions been found? We have this exact problem as well when the map being consumed has a large amount of layers in it. Performs fine until Layer List widget has been launched, then zooming becomes painfully slow. Maps with less data don't have this issue. I imagined it had something to do with the Layer List needing to parse through each layer for scale dependency anytime the zoom scale changes.
... View more
11-08-2017
08:05 AM
|
0
|
0
|
1091
|
POST
|
Hi Don, I have a similar setup as Christopher, federated ArcGIS server (10.3.1) with Portal, and I have just installed ArcGIS for AutoCAD 355 along with AutoCAD 2016 to see if we can now use our map services but am still running into the same issues. Is there any documentation for a workflow involving secured services on a federated Server? If I enter the Portal URL in the server connection information, I get the error that it is not a valid server URL. However, I cannot access the Server directly because of the federation with Portal... please advise. Thanks
... View more
12-05-2016
09:35 AM
|
1
|
6
|
1289
|
POST
|
The Add Data widget is for services and only allows adding a KML service, not an actual KML file as the dropdown reads. I was excited when I thought you could add KML files only to be disappointed. It is great though for my organization that this widget can be used to add additional services by searching our Portal and AGO. This feature was one of the big drawbacks of WAB apps vs the standard map viewer. That and the inability to Filter layers, which has been addressed as well.
... View more
09-26-2016
12:36 PM
|
1
|
2
|
958
|
DOC
|
Has anyone found out how to get rid of the new (I'm just upgrading to 2.1 from 1.3) busy indicator down in the bottom right corner? As it is I now have my custom busy indicator in the center of the screen as well as the default down in the corner.
... View more
08-17-2016
12:51 PM
|
0
|
0
|
11232
|
POST
|
Hey Ben - The error is caused by the code not being able to access valid json parameters for an existing service. What the code is checking for ("serviceName":) is one of the first items to appear on that parameters page when the service exists. So my guesses would be either a) the service you are trying to overwrite doesn't already exist/isn't running or b) there is a problem accessing due to the token maybe. I would try accessing the fUrl manually and see if the response looks the same as you are getting in the error.
... View more
08-08-2016
05:09 AM
|
1
|
0
|
1296
|
DOC
|
Nope Still doesn't work correctly for me so using standard Print widget until somebody else figures this one out.
... View more
07-19-2016
11:01 AM
|
0
|
0
|
3710
|
POST
|
Ben - I was struggling with the same issue last week and came across this post along with many others to help me figure out how to do it. What I ended up doing was using the ArcGIS Server Admin URL to access the service parameters of the service to be overwritten in JSON format, went through the process you describe of creating SDDRAFT, Staging SD, and Uploading SD, and then finally using the JSON config I saved to Edit the parameters of the service after published with default parameters. No need to pick out the individual parameters this way that you want to preserve, you keep them all. Code snippets of applicable parts below (sorry don't know how to format as code block)... adminUrl = 'https://services.gisserver.com:6443/arcgis/admin/services/' # Start of get token function def generateToken(username, password, portalUrl): '''Retrieves a token to be used with API requests.''' parameters = urllib.urlencode({'username': username, 'password': password, 'client': 'referer', 'referer': portalUrl, 'expiration': 60, 'f': 'json'}) try: response = urllib2.urlopen(portalUrl + '/sharing/rest/generateToken?', parameters).read() except Exception as e: log.write('Unable to open the url %s/sharing/rest/generateToken' % (portalUrl)) log.write(e) responseJSON = json.loads(response.strip(' \t\n\r')) # Log results if responseJSON.has_key('error'😞 errDict = responseJSON['error'] if int(errDict['code']) == 498: message = 'Token Expired. Getting new token... ' token = generateToken(username, password, portalUrl) else: message = 'Error Code: %s \n Message: %s' % (errDict['code'], errDict['message']) log.write(message) token = responseJSON.get('token') return token # Generate a token token = generateToken(portalAdminName, portalAdminPassword, portalUrl) # Add token to service URL to authenticate access. params = {'token': token, 'f': 'json'} fUrl = adminUrl + sfolder + '/' + service + '.MapServer?' + urllib.urlencode(params) # Open service URL to access parameters openUrl = urllib2.urlopen(fUrl, '').read() # Load json response in string serviceJson to access later serviceJson = json.loads(openUrl) # Check response for valid service if '{"serviceName":' not in serviceJson: raise Exception(('Service access error, response = {}').format(json.dumps(serviceJson))) # After republishing service... # Load parameters for edit service call, dumping serviceJson string back into JSON format params = {'token': token, 'f': 'json', 'service': json.dumps(serviceJson)} fUrl = adminUrl + sfolder + '/' + service + '.MapServer/edit?' + urllib.urlencode(params) openUrl = urllib2.urlopen(fUrl, '')
... View more
07-19-2016
10:51 AM
|
1
|
2
|
1296
|
DOC
|
Charles - thanks for suggestion but unfortunately that doesn't work for me. Many times the widget actually performs correctly the first time, and only after changing templates or scales it starts to go haywire. So tweaking the layout size would cause issues off the bat on the first print with initial template, plus the frustration of the template on screen not looking like the actual page layout, which is part of the point of the widget in the first place! Matt - The relative scale factor only controls the calculation of the scale printed on the map, not anything to do with the map contents.
... View more
06-23-2016
07:40 AM
|
0
|
0
|
4117
|
DOC
|
Charles - Could you expand a bit on exactly what you changed and/or include screenshots? I, like many folks, am having the scale issue still. I set the layout parameters (margins, data frame size) in the config, but I'm not sure what you mean about measuring the map scale against the frame size. Thanks.
... View more
06-07-2016
07:18 AM
|
1
|
0
|
4117
|
DOC
|
I am experiencing the same issue as Mikkel and others previously with maps zooming in beyond what is shown in the layouts using my custom templates and standard web mercator (wkid 3857). Double checked all of my template size definitions, checked my wkid, and kept printing samples to no avail. I've tried setting the scales to just above the standard esri basemap LODs in case it was zooming to the next available because of decimals as Mikkel suggested but this didn't work either. Has anybody come up with an answer to this issue?
... View more
04-26-2016
11:41 AM
|
0
|
0
|
4117
|
POST
|
I have a similar situation. Did you ever figure out a solution?
... View more
02-23-2016
01:15 PM
|
0
|
1
|
434
|
POST
|
I'm having the same issue, needing my dates and numbers to respect the format settings I've applied to the popups in the attribute table. I've been searching for a solution and have come up empty. I am surprised there is nowhere to at least set a default number/date format on the attribute table widget itself.
... View more
02-01-2016
07:24 AM
|
0
|
0
|
385
|
Title | Kudos | Posted |
---|---|---|
1 | 12-26-2013 06:09 AM | |
1 | 07-19-2016 10:51 AM | |
1 | 08-08-2016 05:09 AM | |
1 | 06-07-2016 07:18 AM | |
1 | 12-05-2016 09:35 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|