| 
             
                POST		  
                
             
         | 
        
        
 
					
							 @DavinWalker2 Hi Davin, it not does work with me when I am passing my own value to be updated for an attribute. However, it works if I pass the column name  ?   This does not work:  fs_layer.calculate(where="FIPS=18039", calc_expression={"field":"FIELDNAME1", "value":"newattributevalue"}) // this returns an error PerformEdit() failure. ColumnName='newattributevalue' not found in field name map. (Error Code: 400)  This works: fs_layer.calculate(where="FIPS=18039", calc_expression={"field":"FIELDNAME1", "value":"FIELDNAME2"}) // this one copies the value from FIELDNAME2 to FIELDNAME1. Is this how calculate works?     Thank you 
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		02-16-2024
	
		
		12:12 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                3291
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							 Hi @UndralBatsukh Thanks for your reply. I've tried to implement a test page that works but it still doesnt draw the map. Here is the code and a link to jsfiddle.  Looking at the dev tools network tab, I can see that it loads required urls with the token but still map doesn't draw.  Am I missing something here?     <html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta
      name="viewport"
      content="initial-scale=1,maximum-scale=1,user-scalable=no"
    />
    <title>VectorTileLayer | Sample | ArcGIS API for JavaScript 4.21</title>
    <style>
      html,
      body,
      #viewDiv {
        padding: 0;
        margin: 0;
        height: 100%;
        width: 100%;
      }
    </style>
    <link
      rel="stylesheet"
      href="https://js.arcgis.com/4.21/esri/themes/light/main.css"
    />
    <script src="https://js.arcgis.com/4.21/"></script>
    <script>
      require([
        "esri/Map",
        "esri/views/MapView",
        "esri/layers/VectorTileLayer",
        "esri/config"
      ], (Map, MapView, VectorTileLayer, esriConfig) => {
        // Create a Map
        const map = new Map();
        // Make map view and bind it to the map
        const view = new MapView({
          container: "viewDiv",
          map: map,
          center: [46.897998, 24.598897],
          zoom: 5
        });
        /********************************************************************
         * Add a vector tile layer to the map
         *
         * The url must point to the style or the vector tile service
         *********************************************************************/
        const tileLayer = new VectorTileLayer({
          url: "https://abc.ab.ca/server/rest/services/Hosted/MyMapService/VectorTileServer"
        });
        const interceptor = {
          urls: tileLayer.url,
          before: function (params) {
            params.requestOptions.query.token =
              "Xj9OUDvMFYz3BHd3fcPnHiJdmmae9gWrfT4WL-VFmJjwoeu82JSC4SCzPc18a7Z_c0VaS-xdFD3neOCtAhn0rKIXaSE7ilsN7Z4F0xTclcGYsDNI-E1UyKtL5YmSkgphSRlwfsrAOU9rEqzu4Z_LDo9b6XFUCi00S5glYTv28pE.";
          }
        };
        esriConfig.request.interceptors.push(interceptor);
        map.add(tileLayer);
      });
    </script>
  </head>
  <body>
    <div id="viewDiv"></div>
  </body>
</html>                
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		10-13-2021
	
		
		08:21 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                2655
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							 Hi @SailiTang1  Thanks for your reply. However, I do not have an ArcGIS online option available. The service is available on premises arcgis portal. Thanks. 
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		10-13-2021
	
		
		08:07 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                2655
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							 Is there a way to access secured service through VectorTileLayer in ArcGIS JS API.  I have tried with using methods - interceptor and  CustomParameters - but nothing seems to work. Am I missing something?   1. Generated token  2. Tried to append token in interceptor and customparameters    const myBaseMapUrl = "https://abc.ab.ca/server/rest/services/Hosted/ILoveMapV1_0/VectorTileServer/resources/styles/root.json";        const oLBaseMapUrl = "https://www.arcgis.com/sharing/rest/content/items/3e1a00aeae81496587988075fe529f71/resources/styles/root.json"; //openlayers          // esriConfig.request.interceptors.push({        //   urls: myBaseMapUrl,        //   before: function(params) {        //     params.requestOptions.query = params.requestOptions.query || {};        //     params.requestOptions.query.token = this.accesstoken;        //   }        // });          // My Basemap vector tile layer        const myBaseMapLayers = new VectorTileLayer({             url: (prd) ? myBaseMapUrl : oLBaseMapUrl,            customParameters: {               "token": this.accesstoken            }        });     My application always presents me with the credentials dialog box and I do not need it.      @ReneRubalcava   Thanks 
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		10-12-2021
	
		
		04:45 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                1
             
         | 
        
             
                
                4
             
         | 
        
             
                
                    
                
                2707
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     If you are looking for automation, this can be achieved through a python script that will loop through all the city polygons and filter out the polygons except the selected city and run the union over them. This is based on an my understanding that Cities are inside Regions and you need to merge all those smaller polygons inside city polygons.   
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-21-2018
	
		
		02:47 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                1
             
         | 
        
             
                
                    
                
                6084
             
         | 
    
| 
             
                IDEA		  
                
             
         | 
        
        
 
					
							     Flutter is a new framework by Google for cross platform development on Mobiles. ArcGIS SDK for Flutter and examples are required.Esri Technical Support ArcGIS Ideas Native App Developers ArcGIS Runtime SDK for Android ArcGIS Runtime SDK for iOS   
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-20-2018
	
		
		02:42 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                33
             
         | 
        
             
                
                30
             
         | 
        
             
                
                    
                
                26613
             
         | 
    
| 
             
                IDEA		  
                
             
         | 
        
        
 
					
							     Flutter is a new framework by Google for cross platform development on Mobiles. ArcGIS SDK for Flutter and examples are required.Esri Technical Support ArcGIS Ideas Native App Developers ArcGIS Runtime SDK for Android ArcGIS Runtime SDK for iOS   
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-20-2018
	
		
		02:42 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                29
             
         | 
        
             
                
                13
             
         | 
        
             
                
                    
                
                10816
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     This is a duplicate question perhaps from a different source.  Please refer to this thread for answer.   
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		06-27-2018
	
		
		03:12 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                1
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                1157
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     Set the parameter distanceUnit to UNIT_METER.    distParams.distanceUnit = esri.tasks.GeometryService.UNIT_METER; //UNIT_SQUARE_METERS;   Here is a JSBin link to your working code.   
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		06-27-2018
	
		
		03:09 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                1
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                986
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     Vinod, Your issue looks similar to a previous thread here.   
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		06-26-2018
	
		
		06:25 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                1
             
         | 
        
             
                
                1
             
         | 
        
             
                
                    
                
                1443
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     What kind of data is being collected? Are you editing geometry or updating a few attributes or something else?  Nowhere in the documentation it shows that it supports disconnected/offline editing of geometry.   
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		06-26-2018
	
		
		06:06 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                1
             
         | 
        
             
                
                    
                
                997
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     Hi, Not always "Best practice" is applicable. Look for the "Best Fit" strategy. In this case of ArcGIS server and your requirement, it will help if basic security mechanism is applied (user authentication & authorization) with SSL enabled.    However, i think for an open data scenario try exploring the option of ArcGIS Portal. It has lot of features that really supports open data for users and really it is meant for this use.  I think sharing data through the portal makes it easy across different level of users regardless of being technical, marketing or management, etc.  Also it has robust security measures applied.   
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		06-26-2018
	
		
		01:27 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                2184
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     Haven't seen it though. I think it happened due to a change on your system regional settings.    
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		06-26-2018
	
		
		12:59 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                1
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                731
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     This technique would be useful if the graphic features are sparsely spread across the map view. In case of denser graphics then the larger symbols would overlap others.    
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		10-12-2017
	
		
		02:44 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                1113
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     I checked your application link and found that the reverse geocode service returns a truncated post code in response. Maybe this is some kind of a data policy from esri or it could be a bug within the service. Although if you make a search by full post code it returns correct result. You cannot do anything on this as you aren't the owner of this service. Nevertheless, this can be answered by someone from ESRI. Alexander Nohe Thomas Solow Jonathan Quinn KGerrow-esristaff   
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		06-18-2017
	
		
		02:33 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                1
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                1368
             
         | 
    
| Title | Kudos | Posted | 
|---|---|---|
| 1 | 10-12-2021 04:45 AM | |
| 1 | 05-31-2017 04:51 AM | |
| 1 | 06-01-2017 12:18 AM | |
| 1 | 06-04-2017 01:28 AM | |
| 1 | 06-27-2018 03:12 AM | 
| Online Status | 
					
			 
	
			
					Offline
				
		
 
		
				 | 
			
| Date Last Visited | 
					
			 
				
    
	
		
		
		02-17-2024
	
		
		05:23 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			 
		
				 |