|
POST
|
Hi @GeorgeClark , It looks like you have a file permissions issue what you can try is to run as your bat as the service account that is running the portal for ArcGIS, if this fails then this is probably the issue, make sure that this service account has access to your network share and that this account is the one running in task scheduler. Regards Henry
... View more
03-24-2024
09:57 PM
|
0
|
1
|
4997
|
|
POST
|
Hi @GIS412, If you have domain integration, you will not be able to use this in Azure unless if you spin up an AD server in a VM, what I would recommend is that you use SAML for your authentication, here is a link for that, Tutorial: Microsoft Entra SSO integration with ArcGIS Enterprise - Microsoft Entra ID | Microsoft Learn. Then you mentioned that you will perhaps keep your databases on premise, this has a few pros and cons, The Latency between Azure and on prem can be quite hi so you will have performance knock on any referenced services that you have in ArcGIS Enterprise. If you do move your databases to Azure then you have the same problem in reverse because your ArcGIS Desktop users will direct connect to your databases and the latency will be hi a database connection can have up to 200 request per action. The Recommended approach is to have everything in Azure and for your ArcGIS for Desktop users you will need to spin up a VDI in azure it is an Azure Virtual Desktop, it can be costly if not planned correctly, because it is a pooled service. But the benefit of this approach is that everything is close together so your latency will be low so your performance will be good. Depending on what you can afford it is usually a good approach to apply something called workload separation, this is where you deploy a server for each workload this will give your servers breathing room because congestion on ArcGIS Server will not impact portal for ArcGIS. Web Layer Webserver ArcGIS Webadaptor portal For ArcGIS Applications Layer ArcGIS Server Database Layer ArcGIS Datastore SQL Servers I would also suggest that you have a proper plan in place for backups azure only provides hardware redundancy so if you application fails you would need application-level backups like webgisdr for ArcGIS Enterprise or vm snapshots. Hope it helps. regards Henry
... View more
03-24-2024
09:48 PM
|
0
|
1
|
2469
|
|
POST
|
Hi @CodyPatterson , I had a similar problem with another application, what resolved it for me was to make a backup of the relational database ArcGIS Data Store utility reference—ArcGIS Enterprise | Documentation for ArcGIS Enterprise then uninstall datastore delete all the datastore files under {drive_letter}:\arcgisdatastore and c:\program files\arcgis\datastore and then reinstall datastore. After that you restore your backup ArcGIS Data Store utility reference—ArcGIS Enterprise | Documentation for ArcGIS Enterprise. I think something breaks in the RDBMS, and since the backup is just a SQL dump this approach rebuilds it. If you have any other Datastores please back them up as well. Hope it helps Regards Henry
... View more
03-24-2024
09:17 PM
|
1
|
4
|
2620
|
|
POST
|
Hi @Manager_HMWSSBCDC you can change the script as below to get more details on what is going on, if all the edit are failing reduce the size, if it still fails then did something change? Schema changes might brake the script as they are not automatically pulled through to portal for ArcGIS. import build_packs
import arcigs
import logging
logging.basicConfig(level=logging.DEBUG)
# GIS Login
con_src=arcgis.gis.GIS('portalurl','username','password')
layer = arcgis.features.FeatureLayer('service url', gis=con_src)
# your list of features
item_ids_txt = [list of features]
packs = build_packs.BuildPacks(item_ids_txt, pack_size=2000)
for item_id in packs.build_packs():
result = layer.edit_features(adds=item_id)
logging.info(result) Regards Henry
... View more
03-18-2024
12:02 AM
|
0
|
0
|
2977
|
|
POST
|
Hi @RyanUthoff, just make sure that your host file entries are on all your nodes, you can also export each component individually by using the API and datastore backup utility, this will give you more flexibility. Your host file entries should also be first in the file e.g. IP old_site_dns_1 any_new_dns_2 Here is some links on the subject Portal and Server Export Site—ArcGIS REST APIs | ArcGIS Developers ArcGIS Datastore How To: Restore ArcGIS Data Store (esri.com) Hope it helps Regards Henry
... View more
03-17-2024
10:34 PM
|
0
|
0
|
3064
|
|
POST
|
Hi @JR_CHN, if the service type is a Hosted Feature in AGOL, it's is hosted online, if it does not have the hosted tag it is referenced and either coming out of a 3rd party system or your Enterprise. Then you need to go to Organization -> Status -> Reports -> Create report -> Single report select Item create and download the report. you open the csv in excel then select column A go to Data Tab. Select Text to Column Delimitated then comma. The Columns you are interested in is K Feature Storage and P is hosted. Feature Storage is the expensive storage whereas File storage is very cheap. If is Hosted is true you are being billed for the service. Regards Henry
... View more
03-05-2024
09:39 PM
|
1
|
0
|
3832
|
|
POST
|
Hi @JR_CHN, so what you are looking for is secured services, this is when you download your AGOL HFS and host it on prem and then setup a referenced service. so these is the steps to reproduce. Step 1 Preparing the data Download the HFS as a GDB if you have multiple layers in the GDB please make sure to note the layer order as this is not preserved, you will have to manually update this. open the overview page of the hosted feature layer, go to Export Data Select Export to FGDB fill in the form Then download the GDB You will now either need to load the GDB into pro for a multilayer gdb or you can just drag and drop the gdb into ArcGIS Enterprise for my example I just drag and drop the gdb into enterprise and publish a new hosted feature layer. Step 2 hooking up your service with AGOL for the next step you will need a public ArcGIS Enterprise. navigate to the overview page at the bottom you will find a url copy that url and navigate back to AGOL go to content and add new item and select URL past in your URL you will see a store my credentials with service item this is important to tick otherwise you will be prompted for a login from the ArcGIS Enterprise provide login credentials if the password changes you will need to setup the password again in AGOL so use a service account with a very strong password to host your services. save your service ok now you have a referenced service that is not consuming credits. step 3 hook up maps what is left to do is to reconfigure your maps to use the new service instead of the old service you do this by using ArcGIS Online Assistant (esri.com) log into ago-assistant navigate to the maps that use the url and update the url with the new url, if the layer order has changed then make sure you change the layer order as well select Update the URLs of Services in a Web Map update your Operational Layers with your new url, you will have to edit the JSON if you want to update the itemid aswell and that should be that. Hope it helps. NB. don't use this on surveys just normal feature layer you do need a positive credit balance to action this process. Regards Henry
... View more
02-27-2024
09:51 PM
|
1
|
1
|
3566
|
|
POST
|
Hi @ANH, the downside of copying data to the server would be that you can run out of resources and that your information is now disconnected e.g. sitting in two places. The ArcGIS Server Service account needs access to the location of your template files otherwise it will not be able to read the template file. Regards Henry
... View more
02-26-2024
10:05 PM
|
1
|
0
|
2038
|
|
POST
|
Hi @Manager_HMWSSBCDC, yes that is just way to much you must break it up into smaller chunks, here is a piece of code that I wrote to do just that. class BuildPacks:
def __init__(self, list_of_items, pack_size=500):
self._list_of_items = list_of_items
self._length = self._list_of_items.__len__()
self._pack_size = pack_size
self._packs = None
def build_packs(self):
if self._length > self._pack_size:
self._packs = int(self._length / self._pack_size)
for pack in range(self._packs):
idx_start = pack * self._pack_size
idx_end = idx_start + self._pack_size
yield self._list_of_items[idx_start:idx_end]
idx_start = self._pack_size * self._packs
remainder = self._length - idx_start
if remainder > 0:
yield self._list_of_items[idx_start:self._length]
else:
yield self._list_of_items how to use it import build_packs
import arcigs
# GIS Login
con_src=arcgis.gis.GIS('portalurl','username','password')
layer = arcgis.features.FeatureLayer('service url', gis=con_src)
# your list of features
item_ids_txt = [list of features]
packs = build_packs.BuildPacks(item_ids_txt, pack_size=2000)
for item_id in packs.build_packs():
layer.edit_features(adds=item_id) hope it helps Regards Henry
... View more
02-26-2024
04:09 AM
|
5
|
0
|
3182
|
|
POST
|
Hi @jauhari_mani, it will depend on your workflow, but Relational "2D Vectors, SQL" and Tile Cache "3D Vectors, NoSQL" data is stored in the ArcGIS Datastore, Vector Tiles are stored in ArcGIS Server Cache, and Hosted Imagery is stores in ArcGIS Server Directory. Hope it helps Regards Henry
... View more
02-25-2024
11:06 PM
|
0
|
0
|
2620
|
|
POST
|
This article should explain it, the application will have access to all the content where it is located and any groups it is in. Authentication—ArcGIS REST APIs | ArcGIS Developers Working with different authentication schemes | ArcGIS API for Python User authentication | Documentation | ArcGIS Developers Hope it helps Regards Henry
... View more
02-22-2024
09:45 PM
|
0
|
0
|
2527
|
|
POST
|
Hi @formergeologist, form our side for windows we usually use Home · Esri/arcgis-powershell-dsc Wiki · GitHub the PowerShell DSC they are fairly easy to use. Regards Henry
... View more
02-22-2024
09:27 PM
|
0
|
2
|
2755
|
|
POST
|
Hi @AravinthkumarBalasubramanian, the token is a security mechanism that allows you to log into a service via an application, it is usually has a short life e.g. 2 hrs.' then you need a new token, if your client has a custom webpage, he needs to generate a token and attach it to the service. The token you have in the above code will not work because it is for use in portal, please see this sample on how to connect the service using java script you just need to Registe an Api key, instead of the token, but the tutorial will show you how to do that. Add a feature layer | Overview | ArcGIS Maps SDK for JavaScript 4.28 | ArcGIS Developers Regards Henry
... View more
02-21-2024
10:33 PM
|
1
|
0
|
10364
|
|
POST
|
@AravinthkumarBalasubramanian , can you give me the scenario of how you want to use the data? The service will not display in the rest because it is coming from your server but you will be able to query it and use it in portal for ArcGIS. Regards Henry
... View more
02-21-2024
05:51 AM
|
0
|
3
|
10424
|
|
POST
|
@Serigne_MomarThiam , are you seeing ArcSOC.exe in task manager if not then your server might be down, otherwise just have a look if you have a proxy configured and add the https://yoururl:6443/arcgis as a exception Regards Henry
... View more
02-21-2024
05:49 AM
|
0
|
0
|
4885
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | 2 weeks ago | |
| 1 | 06-16-2025 09:33 PM | |
| 1 | 10-30-2024 05:58 AM | |
| 2 | 02-15-2024 10:09 PM | |
| 1 | 07-23-2024 10:07 PM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|