|
POST
|
Hi, I am going through the clip and ship example, can some please help me understand how does gp.getparameterastext(0) the index match up? my parameter has 5 parameters However in the code there are 7 parameter. In the parameter above, output zip should have been 4 however in the code it is using 6. if coordinateSystem and customCoordSystemFolder are not set as parameter (just variable) how does it know the index of it? Also how do you configure the in_memory attribute? Can i just declare a in_memory variable by specifying in_memory\whatever I want? how does it know what the attributes are?
... View more
07-06-2020
03:49 AM
|
0
|
2
|
1568
|
|
POST
|
Hi, have anyone attempted to import arcgis running in flask while hosted in IIS via fastCGI? I kept getting a 500 error with the import ArcGIS statement. Running it in flask without fastCGI works fine. arcgispro-py3\python.exe - The FastCGI process exited unexpectedly
... View more
07-02-2020
11:26 PM
|
0
|
3
|
2424
|
|
POST
|
Hi Novica Josifovski, can you check you are using the same spatial reference system? e.g 3857 vs 4326
... View more
07-01-2020
07:46 PM
|
1
|
0
|
1950
|
|
POST
|
Hi FPCWA GIS Admin, you can use any IDE for python, you just need to setup the python engine to the one used by ArcGIS Pro For example in pyscripter you get set the python version to run. You just need to configure this to point to the arcgis pro python version above (the path to the environment as shown above containing python.exe) You can also clone the python environment and in the folder/bin/pip.exe you can use pip install to install additional packages.
... View more
07-01-2020
07:43 PM
|
1
|
1
|
12776
|
|
POST
|
So the 2 options I have provide, either one will work. 1 - using the resource-proxy will require 0 coding, you just need to use service url via the proxy as demostrated above. 2 - you can get the token from Generate Token—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers. you need to code this part (Many ways to do this, esri also have a class you can use request | ArcGIS API for JavaScript 4.15 ) Once you have the token, append it to your url. CustomArcgisLayer = new FeatureLayer({ url: my service url (https://url.to.your.service/..../whatever&token=fdksfdsfdsa), });
... View more
06-22-2020
12:17 AM
|
1
|
0
|
2079
|
|
POST
|
Hi sure. note that the proxy is just another option, without knowing the full context of what you are trying to do I can expand a bit more on the proxy option however it will still require you to read some of the documentation to see if it suits your requirement. A proxy essentially acts as a gateway. What that means is that instead of accessing your service url directly like below which requires authentication: http://services.arcgisonline.com/ArcGIS/rest/services/?f=pjson if you access it via the proxy, it will manage the token for you. (username and password are stored in the proxy config) http://[yourmachine]/DotNet/proxy.ashx?http://services.arcgisonline.com/ArcGIS/rest/services/?f=pjson I am going to assume you have access to a web server like microsoft windows IIS. Because it is IIS, look in the DotNet part of the resource-proxy. resource-proxy/DotNet at master · Esri/resource-proxy · GitHub Link above provides detail description on how to deploy. Basically it is just copy/paste file, do the config and change your access URL. Proxy configuration: resource-proxy/README.md at master · Esri/resource-proxy · GitHub Note the username and password option
... View more
06-21-2020
11:38 PM
|
0
|
0
|
2079
|
|
POST
|
Hi keerthi appasani In terms of user experience, i would do it via dom manipulation, using something like dojo query to search the dom for jim-widget-row layer row, see if the text matches the aria-label text then use dojo dom-style to hide or display the layer element. see example below. https://dojotoolkit.org/reference-guide/1.10/dojo/query.html Before hidden After hidden
... View more
06-21-2020
11:13 PM
|
2
|
0
|
662
|
|
POST
|
I would re-authenticate. Having a long expiry token can be considered a security risk. However saying that, you can also get the token from the rest end point and pass in that token in your GIS. Only for build in users though.
... View more
06-21-2020
10:51 PM
|
2
|
0
|
3987
|
|
POST
|
Hi, Just like how you get the item data, you can do a update as well. See link below. Please mark as correct if this helps you so it may help others as well. arcgis.gis module — arcgis 1.8.1 documentation Example Using and updating GIS content | ArcGIS for Developers
... View more
06-21-2020
10:43 PM
|
0
|
1
|
753
|
|
POST
|
Hi, just taking a shot in the air, are your request going through a proxy gateway or reverse proxy, I have seem implementation of proxies behaving like that.
... View more
06-21-2020
10:27 PM
|
0
|
0
|
964
|
|
POST
|
Hi, several thoughts come to mind. Possible options are, Using the esri proxy, add your login cred to the proxy. GitHub - Esri/resource-proxy: Proxy files for DotNet, Java and PHP. Second option would be to manage the token yourself. E.g Get token from rest endpoint Every url request you make, append &token=xxxxx to the url.
... View more
06-21-2020
10:04 PM
|
0
|
2
|
2079
|
|
POST
|
Thank you so much Robert Scheitlin, GISP that is very helpful. Cheers
... View more
06-18-2020
07:43 PM
|
0
|
0
|
1570
|
|
POST
|
Hi, I have searched high and low and there simply isn't a way to determine if a feature have been selected on a layer in ArcGIS Javascript 3.xx. (in PRO SDK, its literally a one-liner) My use-case requires me to determine the features that are selected in the attribute-table widget and the only way I can achieve that is by digging in the layer and search for _graphicalVal. I am sure there must be a proper way to do this, perhaps through a proper API? Would anyone be able to advise? I could not find anything in the layers api, layersInfo/Struct/Node etc api
... View more
06-18-2020
02:03 AM
|
0
|
2
|
1642
|
|
POST
|
Hi Matthew Dusch and Michael Reither thank you. We were able to troubleshoot down to the license is not viewable from the rest API. We restarted portal and it is working now. I was more hoping to be able to see more logs on why something fail rather than just a blackbox error. For example, in this example I had, it would have been helpful if there was somewhere in the logs that states there was a timeout while attempting to read this rest API type of logging. Maybe it is possible but I could not find it in the logs
... View more
06-18-2020
01:57 AM
|
0
|
1
|
1642
|
|
POST
|
Hi Matthew Dusch, I understand how the distribute monitor works however that is not the intention. For example if administrator is deployed on machine A, and monitor is deployed on Machine B, registering a collection on machine A will create a windows service on machine A which will collect the metrics and report to Machine B. If machine A is a client local laptop, that won't be feasible right? Maybe my question would be better phrased, can we have administrator on a client's laptop so they can configure arcgis monitor which is deployed on a server instead of providing user RDP access to the server.
... View more
06-10-2020
05:50 AM
|
0
|
1
|
1739
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-23-2021 06:05 AM | |
| 1 | 04-24-2020 01:46 AM | |
| 1 | 03-29-2022 06:53 PM | |
| 1 | 07-22-2021 07:59 PM | |
| 1 | 03-30-2022 04:36 PM |
| Online Status |
Offline
|
| Date Last Visited |
03-30-2022
06:13 PM
|