|
POST
|
Hi all, What is final verdict? Is it possible to set up custom properties for SOI developed in DotNet? I cannot find any example for SOI. There is no Visual Studio add-in available to create config.js and <SOIClass>.html. Even if I create them manually, I am not sure how the plumbing happens for SOI. Anyone cracked this? Any pointers? Thanks, Vish
... View more
04-09-2018
12:31 AM
|
0
|
1
|
1684
|
|
POST
|
I have been able to add an attribute index to AGOL feature service. I followed this documentation at https://developers.arcgis.com/rest/services-reference/add-to-definition-feature-layer-.htm#example2 and this thread at https://blogs.esri.com/esri/arcgis/2014/10/19/updating-hosted-feature-services-in-arcgis-online/ Key is to use admin REST API on the layer you want to add index to and then use “add to definition” option.
... View more
03-21-2018
04:18 AM
|
4
|
0
|
3272
|
|
POST
|
I am having this issue on and off. I could not find an exact reason but works if I use "create new survey" in the hamburger menu of the problematic survey and then publish the survey. Something is not quite right with overwrite existing survey. It would be nice if Connect could tell us what step it got stuck at. Cheers, Vish
... View more
11-22-2017
07:12 PM
|
0
|
0
|
2996
|
|
POST
|
Thanks Doug, Yes it did work the way you described. A bit embarrassed not noticing the option. Cheers, Vish
... View more
11-11-2017
04:02 PM
|
0
|
0
|
1618
|
|
BLOG
|
Hi Ismael, Thanks for a very informative article. I have a question about the attachment relationships. I have existing feature service in AGOL with attachment enabled for some layers. I started a new survey using Survey123 Connect and point to existing feature service in AGOL and the form is created using layer 0 fields which is fine. This layer does have attachments enabled. But I cannot see any image type added to the form. So I tried to add them manually by adding "begin repeat", "image" and "end repeat" rows. However, I cannot publish this survey, it keeps complaining that "attachments" table not found. "attachments" is what I used for the "name" of the "begin repeat" type. It seems that at publish time, Survey123 Connect looks for a table called "attachments". However, from AGOL, it is not possible to know the name of the table used for attachments. How do I go about creating attachments in repeat? Thanks, Vish
... View more
11-09-2017
07:38 PM
|
0
|
0
|
47030
|
|
POST
|
Hi Doug, Thanks for your reply. Can you please explain the workflow in Collector for "you can navigate from your parent vineyard feature to create new child assessment point features". I am using latest Collector for iOS. I do have 1:M relationship from vineyard polygon to assessment points. In Collector, I selected the polygon but I cannot find command/menu to "create related feature" or "create assessment point". With Vineyard selected, I tried to add a point by clicking + sign and provided location and saved. However, I cannot see "VineyardID" populated on the assessment point. Do I need to set something in Web Map used for the Collector? Thanks, Vish
... View more
10-17-2017
03:34 PM
|
0
|
2
|
1618
|
|
POST
|
We are working a project for a wine company that owns hundreds of vineyards. They want to collect vineyard assessments as points, recording inspection about diseases, grape growth etc. A big vineyard can have multiple assessment points all over its area. We created feature service with "vineyard" as a polygon feature class and "assessment points" as point feature class with "vineyard" as a parent. As a user of Collector, I want to select a vineyard polygon and then choose to add related assessment point and provide geometry and other attributes for the point. However, it doesn't seem to be possible. I can only capture related table record but not related feature class. Is there any way to achieve this in collector. We cannot expect collector to manually entry related vineyard's primary key when collecting assessments. One option is to configure a pop-up on Vineyard map and launch another Collector map using URL with parent key pre-populated. Is there any better way? Cheers, Vish
... View more
10-16-2017
10:55 PM
|
0
|
7
|
2162
|
|
POST
|
Hi Alexander, Thanks for your response. As far as I know OnStatusChangedListener will happen only during layers’ initialization. The issue is not about while MapView or layers are initializing. It is more while zooming and panning once all layers are initialized. It happens occasionally but users seem to think the app is broken. We just need something to indicate the user it is working but a little slow. Cheers, Vish
... View more
06-20-2016
07:41 PM
|
0
|
1
|
1117
|
|
POST
|
Hi, We are developing an ArcGIS Android SDK app that will show Esri Basemap and dynamic map services from onsite server showing telco network. The app will be used by technicians while fixing network problems. At times, user experiences slow rendering of the map on zoom/pan etc. At times, it can take up to 12 seconds for map refresh to complete. Our analysis shows it is either speed of 3G/4G network or slow export operation at ArcGIS Server end due to heavy load. However, field users tend to believe the application is broken and tend to not use the app. I would like to know if there is any callback in Android SDK that can be used to notify the user that network communication is in progress, by means of spinning wheel or something similar. I could not find any handler or callback in MapView that denotes rendering of map or network/http communication is in progress. Are there any? If there is nothing in ArcGIS Android SDK, are there any core classes in Android that can detect network access is in progress? Any help is much appreciated. Cheers, Vish
... View more
06-19-2016
05:07 PM
|
0
|
3
|
3771
|
|
POST
|
Hi all, I am developing ArcGIS Runtime Desktop App using ArcGIS Runtime SDK for DotNet. My map view has 5 dynamic map service layers and Esri Basemap. One of the requirement of the app is to measure the refresh time of a MapView. On zoom/pan etc. I need to capture how long it took to completely refresh map. I tried to capture this by using StopWatch.Start on MapView.ExtentChanged and StopWatch.Stop on MapView.NavigationCompleted thinking it will give me correct refresh time. However, it seems that NavigationCompleted event occurs before all layers are rendered in a MapView. Is there any "RenderComplete" type event handler on a MapView? If not, what other event I could use to find map refresh times? Thanks, Vish
... View more
05-24-2016
10:03 PM
|
0
|
0
|
2204
|
|
POST
|
Hi all, We are developing a runtime application for windows device that will display ArcGISDynamicMapServiceLayer from onsite ArcGIS for Server. There is a reverse proxy between the runtime app and onsite ArcGIS server. The reverse proxy server needs to authenticate app user using a cookie or token. Runtime application will generate a session cookie at the start up and will pass this cookie in a header of the request. Reverse proxy will authenticate the user and if successful, reverse proxy to ArcGIS Server service behind the firewall. I cannot see a provision in DotNet SDK to intercept calls made by MapView and add necessary cookie or token in a header. I can see ArcGISHttpClientHandler and ArcGISHttpClient classes but I cannot determine how to plumb this with MapViewer and intercept calls to inject header. This functionality exists in Android SDK, see HttpRequestListener | ArcGIS Android 10.2.7 API This must be stock standard requirement for all secured services behind the firewall with reverse proxy between. Am I missing something? Thanks, Vish
... View more
05-05-2016
05:35 PM
|
0
|
0
|
2595
|
|
POST
|
Hi, We are developing Android mobile app using ArcGIS Runtime SDK for Android that shows map with basemap from ArcGIS Online and multiple layers from onsite GIS Server. GIS Server infrastructure sits behind firewall with a load balancer in DMZ. F5 based load balancer is configured to authenticate requesting user as valid domain user. The mobile app would have established application VPN tunnel and will have session cookie. However, we are not sure how this session cookie can be passed to F5 load balancer since all calls to ArcGIS Map Services are made by MapViewer when map is zoomed or panned. There is no programmatic control to set session cookie or authentication header. In the runtime code, we will have MapView object and will add ArcGISDynamicMapServiceLayer multiple times using Java code. However, we do not see any way to set session cookie or credentials either on MapView object or on ArcGISDynamicMapServiceLayer object. ArcGISDynamicMapServiceLayer constructor has UserCredentials parameter but it seems like ArcGIS Server credentials and not the credentials/token that can be used to authenticate user on the network. When F5 load balancer receives the request as URL to map service, it will not have any domain credentials or cookie and will be rejected. This must be a common problem for all runtime apps deployed on devices that are not on the network. Has anyone able to resolve it? Cheers, Vish
... View more
03-23-2016
06:28 PM
|
0
|
0
|
2511
|
|
POST
|
Thanks Tanu for your reply. I did check using Fiddler and found ArcMap Export Web Map custom task made two identical requests to WMTS service's get capabilities. I expected second request to include "Authorization: Basic xxxxxxx" in header but found it missing. Both calls hade below request GET https://wmtsserver/WMTS/1.1.2?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetCapabilities HTTP/1.1 Accept: */* User-Agent: ArcGIS Client Using WinInet Host: wmtsserver Connection: Keep-Alive Cache-Control: no-cache I did the same WMTS get capabilities request using browser (IE) and found two requests in fiddler. First one did not have authorization header but second one did after I provided username and password. See second request below. GET https://wmtsserver/WMTS/1.1.2/?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetCapabilities HTTP/1.1 Accept: text/html, application/xhtml+xml, */* Accept-Language: en-AU User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0) Accept-Encoding: gzip, deflate Host: wmtsserver Authorization: Basic xxxxxxxxxxxxxxxxxxxx Connection: Keep-Alive DNT: 1 So my guess is ArcMap tool is not able to understand 401 challenge to inject basic authorization header in subsequent call even though the tool has the url registered with username and password. Regards, Vish
... View more
09-15-2015
06:27 PM
|
0
|
1
|
1291
|
|
POST
|
Hi, I am trying to print a map that contains secured WMTS layer as basemap and some operational layers. I have read article Printing maps that contain secured services—Documentation (10.3 and 10.3.1) | ArcGIS for Server However, the above article seems to pertain to printing secured ArcGIS server service. The basemap service I am trying to print is a non-esri secured WMTS service with basic authentication (401 challenge in browser) I am not sure username and password I stored in the Export Web Map Task in a custom toolbox will work for WMTS. I get error below trying to send map JSON. Executing: ExportWebMap " {"mapOptions":{"showAttribution":true,"extent":{"xmin":16055389.637985548,"ymin":-4594960.104620628,"xmax":16192976.288898917,"ymax":-4503235.670678381,"spatialReference":{"wkid":102100}},"spatialReference":{"wkid":102100},"scale":577790.5542889956}, "operationalLayers":[{"id":"layer0","title":"layer0","opacity":1,"minScale":591658710.9091313,"maxScale":564.2497164995802,"url":"https://somewmtsserver.com/WMTS","type":"wmts","layer":"cfm","style":"default","format":"image/png","tileMatrixSet":"XYZCompatible"},{"id":"mapDiv_graphics","opacity":1,"minScale":0,"maxScale":0,"featureCollection":{"layers":[]}}], "exportOptions":{"outputSize":[800,1100],"dpi":96}}" C:\Users\myname\Documents\ArcGIS\1bbb03a94e3a45e284f49fd83c94ebae.png PNG8 # MAP_ONLY Start Time: Tue Sep 15 17:23:22 2015 Layer "layer0": Failed to create layer from service at https://somewmtsserver.com/WMTS . Client tried to access password-protected page without proper authorization. Failed to execute (ExportWebMap). Failed at Tue Sep 15 17:23:22 2015 (Elapsed Time: 0.36 seconds) Has anyone managed to print secured WMTS layer using Export Web Map task? If so, what technique was used? Thanks, Vish
... View more
09-15-2015
12:50 AM
|
0
|
3
|
3659
|
|
POST
|
Hi, I have a JavaScript application that shows WMTS layer as basemap. I want to add Print functionality to this JavaScript app. However, I am unable to find the basemapLayer format for WMTS. In the documentation at ArcGIS REST API there is no explanation or sample for WMTS layer and what URL should be used etc. Can someone provide working sample JSON for WMTS layer as basemap. Thanks, Vish
... View more
09-09-2015
01:40 AM
|
0
|
1
|
3311
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-13-2021 01:47 PM | |
| 1 | 10-13-2020 02:54 PM | |
| 1 | 03-09-2020 04:38 AM | |
| 1 | 02-23-2022 08:50 PM | |
| 1 | 01-31-2022 05:22 PM |
| Online Status |
Offline
|
| Date Last Visited |
03-13-2022
07:27 PM
|