|
POST
|
Hello folks, I am wondering whether or not I am the only one who has this problem with the Add Data Widget: I built a web application using Web Appbuilder 2.3, and in the application I included widget Add Data. I always get an error "Generate Features error: Data upload to hosted server failed" when I try to add a geojson file. but strangely, when I add a zipped shapefile, it works fine. When adding data fails, I checked the log for the hosted ArcGIS server, it says: "Failed to upload the item 'stations.geojson'. Items with these extensions are not supported". This seems a false error message, because when I check the properties of the Publishingtools GP service on the ArcGIS server, the value for the "allowedUploadFileTypes" property includes "geojson". More strangely, if I upload the same geojson in portal for ArcGIS directly, it can be uploaded and published as a hosted service. Any advice? More context about my environment: Portal for ArcGIS 10.4.1 federated with ArcGIS server 10.4.1 Web appbuilder 2.3 Windows Integrated Authentication Thanks, Simo
... View more
04-09-2017
11:14 PM
|
1
|
0
|
1178
|
|
BLOG
|
I noticed this post has been more than 2 years old, I am just wondering what has changes on ArcGIS server since then when it comes to GeoJSON support? can I publish a GeoJSON file as a service now? Just give you some context, I have an ArcGIS sever (10.4.1) federated with portal for ArcGIS server, but I can't import GeoJson file and publish it as a hosted feature service...
... View more
03-29-2017
09:25 PM
|
0
|
0
|
2335
|
|
POST
|
Hi Michael, thanks for the detailed steps, It works!
... View more
02-07-2017
04:16 PM
|
0
|
0
|
6643
|
|
POST
|
Hello Everyone, A little background: I am trying to print a web map made in the ArcGIS portal, but it always fails. when check the log in the ArcGIS Server, I get the above error message. Further investigation shows that only one particular layer is causing the problem------ if I turn this particular layer off, the printing function works . About this layer, it is a point feature service not secured, and shared with everyone in my organization, authentication method is IWA published from a federated server I tried to print from the map viewer in Portal for ArcGIS and also in web appbuilder, both has the same issue. Please see the attached screenshot for the error message in the ArcGIS server log. Any suggestions for the cause are highly appreciated. Update: It has something to do with token --- although my service is shared with everyone in our organization. I execute the print service in the ArcGIS Rest Service Directory, and changed the Web Map as JSON string to attache a token to the layer, it works. { "id": "AssetIQ_XXX836", "title": "AssetIQ_XXX836", "opacity": 1, "minScale": 0, "maxScale": 0, "layerDefinition": { "drawingInfo": { "renderer": { "type": "simple", "label": "", "description": "", "symbol": { "color": [133, 0, 11, 255], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "type": "esriSMS", "style": "esriSMSCircle", "outline": { "color": [0, 0, 0, 255], "width": 1, "type": "esriSLS", "style": "esriSLSSolid" } } } } }, "token": "nPdB4nuw5kJv3hznsxVberjUjbZb-4ewrwqtJB42JCZu-71XpzKNalpuJvz-UpnIto5hPgNpzAuooh6gZe2-clSgvW9l6y1SUqhQIfbauok1ud4uOsNyqv3Wb3gdm_-caAQrY3X8utQkUIwLHbG2Bg..", "url": "https://xxxxxxxx.gxx.xxu/arcgis/rest/services/AssetIQ_Redesign/AssetIQ_2017_Labels/FeatureServer/0" } It looks like the account running the print geoprocessing service can't be authenticated using the IWA to access this shared layer, but this is I am guessing. HELP HELP....
... View more
02-03-2017
04:21 PM
|
1
|
4
|
13676
|
|
POST
|
is this the predefined templates for the printingTools utility service for the ArcGIS server?
... View more
02-03-2017
04:04 PM
|
0
|
1
|
1546
|
|
POST
|
Thanks to you Robert, it works a treat! what if I want different level of information in the attribute table from those in the Result Panel, which is supposed to be a list with very concise info and people normally display greater details in the attribute table and pop-up window. I found it's quite hard to achieve it by simply configuring the out-of-box Query widget... any suggestions? thanks.
... View more
01-15-2017
06:09 PM
|
0
|
0
|
1314
|
|
POST
|
Hi Darek, to answer your questions: Have you tried to run Fiddler (or something similar) to log the network traffic when you encounter the 401 error when trying to query the feature service with joined table? Do you see any error messages? Yes, I'v used Fiddler and Chrome Developer tools to monitor the traffic, same result: 401 error, invalid credentials. but this only happens when I have joined tables in the service, and only in this circumstance, Web Appbuilder will use proxy: https://localhost:3344/proxy.js? url_for_query What type of security has been configured on your Portal for ArcGIS? Built-in? IWA? SAML? It's IWA Have you enabled anonymous access to your Portal? Yes. the boxes are ticked for "Allow anonymous access to your portal" and "Allow access to the portal through HTTPS only" Does your web app require a login to access? If so, does that user have the appropriate permissions to the data being queried? No, the application does not require a login, and the services are not secured. In your 2nd post, when you say you enabled Anonymous Authentication for a web adaptor, which one? For the GIS Server? For Portal? The web adaptor for the GIS server. Try accessing the feature service with the joined data in the Portal map viewer, can you see the data contents? I can access the service from Portal map viewer. and if I copy the URL after the proxy.js and past it in the address bar of a browser, let's say Chrome or IE, the query works. So, I still strongly suspect the Web Appbuilder proxy.js can't handle the IWA and properly pass on the right credential to the GIS server while IE or Chrome can. Please be aware that the GIS server is federated with Portal, this may affect its authentication mechanism. Thank you for your attention to this question, look forward to more advice from you. Cheers, Simo
... View more
12-12-2016
03:43 PM
|
0
|
2
|
8259
|
|
POST
|
Update: When I Enabled the Anonymous Authentication for the Web adapter, it started working! So, what was the cause? the proxy app (dot Net version) can't pass on the windows authentication?? Any ideas are welcome.
... View more
12-08-2016
05:53 PM
|
0
|
4
|
8259
|
|
POST
|
Tried to put a big blue polygon under the cached base map and group them together as a multi-layer base map, but in the multi-layer base map, the polygon will always be drawn on top of the cached map, regardless the sequence they appear in the grouped base map. reference layer in the base map does not work either.
... View more
12-07-2016
08:06 PM
|
0
|
2
|
1927
|
|
POST
|
Thank you Adrain. This is what I mean, please see the screen shot.
... View more
12-06-2016
08:48 PM
|
0
|
4
|
1927
|
|
POST
|
Hello friends, I am using Query widget, one of the queries does not work and prompt credential issues when the service used in the query has joined tables. If there are no joins in the service, the query works fine. I published the service on our ArcGIS server which is federated with the ArcGIS portal. and I shared the service to everyone in my organization. Please see the attachment for the problem, seemingly a proxy issue, but it actually has something to do with the join as well. Any ideas for what is happening? Thanks.
... View more
12-05-2016
10:44 PM
|
0
|
7
|
13629
|
|
POST
|
Is it possible to change the map background color in the map viewer? By default, it's white color. I am not talking about the base map, although it's possible to be done by creating a single-colored area covering a large geographical area (the whole world...)
... View more
12-01-2016
10:01 PM
|
0
|
6
|
3295
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-28-2019 05:13 PM | |
| 1 | 02-25-2019 04:54 PM | |
| 1 | 03-05-2019 02:08 PM | |
| 1 | 03-12-2019 10:20 PM | |
| 1 | 11-27-2024 04:36 AM |
| Online Status |
Offline
|
| Date Last Visited |
01-17-2025
07:39 AM
|