POST
|
Hi @sunshineags can you please share your case number with Support so we can look into this issue further?
... View more
01-12-2024
09:21 AM
|
0
|
0
|
247
|
POST
|
Hi @Heidi_Kristenson can you please create a Support case so we can take a closer look, gather more details and log a defect for this issue?
... View more
11-03-2023
12:38 PM
|
0
|
4
|
640
|
POST
|
@AdriannaBarton @CodyPatterson This seems to be an issue in 2.2.0.1version of ArcGIS API for Python. We have logged a defect against this behavior and it is being worked on. Feel free to reach out to Support and create a case to keep track of the status of this bug. Thank you for bringing this to our attention!
... View more
10-27-2023
11:23 AM
|
1
|
1
|
300
|
POST
|
@CodyPatterson thanks for testing! I totally understand that, we just needed to test and confirm before moving forward. I'll keep you posted.
... View more
10-27-2023
09:07 AM
|
0
|
0
|
312
|
POST
|
@CodyPatterson @AdriannaBarton we've made some progress! It seems like the issue happens only if the CSV item is not shared publicly, even if you own the item. If possible, can you test with a public CSV and see if it downloads the CSV properly?
... View more
10-27-2023
08:37 AM
|
0
|
2
|
712
|
POST
|
Good morning @CodyPatterson, Thanks for the update. We have started looking into the issue using the script that @AdriannaBarton has shared. I was able to reproduce the issue and we are currently investigating this issue. I'll make sure to share updates as we make progress in our testing. It would be great if you can share your script too so we have more examples to look at and try to identify the root cause of this behavior. Thanks!
... View more
10-27-2023
08:15 AM
|
1
|
0
|
715
|
POST
|
@AdriannaBarton thanks for sharing the additional info. After more testing we can confirm if it's related to scheduled task or there in a different issue that needs to be investigated. You can share your script as a notebook or a python file. Thank you!
... View more
10-26-2023
01:10 PM
|
0
|
1
|
776
|
POST
|
Hi @CodyPatterson is this only happening when you the script runs on a scheduled task or do you get the same results if you run your code manually in ArcGIS Notebook? If possible, can you please share your full script so we can take a closer look and troubleshoot? Thanks, MJ
... View more
10-26-2023
12:44 PM
|
0
|
5
|
786
|
POST
|
Hi @JeremyMiller , One way to do this is to use an Arcade expression to encode the attributes that you want to pass as parameter in your custom URL and use it in your pop up. Below is an example: 1. From the pop up section, open Attribute expressions 2. Add an expression to replace any characters in your attributes that need to be encoded. For example, use an expression like below to replace ' with %27: Replace($feature.question_name, "'", "%27") 3. Note the expression id, in this case: {expression/exp0} 4. Add a Text element to your pop up 5. Replace the field name with your expression id in the hyperlink to open your survey form and pass the encoded attributes. In the example below both URLs are included for comparison. First URL uses the actual values from the field and second URL uses the encoded values. 6. Now, when the survey form is launched via the second URL in Field Maps app on a mobile device, attribute values are passed to the survey question as expected. Notice that when the first link is used, the attribute value is truncated after '. 7. As I mentioned in my previous post above, this only works in field apps. For example, if you use the same link to launch your survey form in browser from Map Viewer, the first URL with actual values shows existing values as expected but the second URL shows the encoded values as a string. Best, MJ
... View more
05-24-2023
07:38 AM
|
0
|
0
|
948
|
POST
|
Hi, This is possible using ArcGIS API for Python. You can write a script to query features using an expression and delete the attachments of those selected features only while leaving the rest of attachments in the feature service. Below is a sample code that you can use. Keep in mind that you need to modify some parameters in the script according to the settings in your own data. You should be careful when deleting attachments, as this operation is permanent and cannot be undone. It's a good practice to make a backup of your data before performing any deletion operations, just in case you accidentally delete something you didn't mean to. from arcgis.gis import GIS
import arcgis
from arcgis.features import FeatureLayerCollection
gis = GIS("https://www.arcgis.com", "USERNAME", "PASSWORD") #Replace your username and password
featureService = gis.content.get('ITEM_ID')
flayer=featureService.layers[0] #You may need to change layer id from 0 to your own layer number
whereclause = "QUERY_EXPRESSION" #for example "status ='done'" queries features where the value in the "status" field is "done"
for feature in flayer.query(where=whereclause):
f_oid=feature.attributes.get("OBJECTID") #You need to replace OBJECTID with the name of the objectid field in your dataset.
att_list=flayer.attachments.get_list(oid=f_oid)
if att_list:
for att in att_list:
att_id= att['id']
flayer.attachments.delete(f_oid,att_id)
print(f"Attachments were deleted for feature {f_oid}")
else:
print(f"No attachments found for feature {f_oid}") Some documentation that might be helpful for reference: https://developers.arcgis.com/python/guide/using-attachments-with-feature-layers/ https://developers.arcgis.com/python/api-reference/arcgis.features.managers.html Best, MJ
... View more
04-14-2023
07:35 AM
|
2
|
4
|
1824
|
POST
|
Hi @TH1, It seems like this issue was introduced with the February release. A defect has been logged against this behavior (BUG-000156413). In the meantime, you can work around this issue by manually adding "Elevation 3D Layer" to the "typeKeywords" in the JSON of the item using ArcGIS Online Assistant. Please keep in mind that ArcGIS Online Assistant is not a supported product. Best, MJ
... View more
03-08-2023
06:32 AM
|
1
|
0
|
378
|
POST
|
Hi @AaronWorthley1 , if you are doing a 1:1 join and saving the results as hosted feature layer view, as long as the target layer has a GlobalID field and has attachments enabled, attachments on the target layer will be preserved. Please note that this only applies to 1:1 joins and currently attachments are not preserved in 1:M joins.
... View more
01-31-2023
07:21 AM
|
0
|
2
|
706
|
POST
|
Hi @jacbro I tested a few tools in ArcGIS Pro 3.0.3 and I can confirm that attachments were maintained when I had "Maintain Attachments" enabled in the environment settings. Can you please provide more details about your workflow and the tools that you are seeing this issue with? Thanks, MJ
... View more
01-31-2023
05:48 AM
|
0
|
2
|
605
|
POST
|
Hi @kmsmikrud Both of these bugs have been fixed in Pro 3.0. So everything should work as expected and you should not have the issues you were experiencing in previous versions.
... View more
01-31-2023
05:45 AM
|
0
|
0
|
605
|
POST
|
Hi @edward33, This is a limitation of the clone_items() method and Experience Builder items are not supported with it at the moment. From what I've seen, both versions of ArcGIS Online Assistant also cannot properly copy an Experience Builder app. While the item for the Experience is cloned in the target organization, the copy of the app still references the maps, apps, and other underlying layers used in the original Experience, as this workflow (similar to the Python API clone_items() method) only copy the app item and not other items that are used in this app in different ways or forms. Until this functionality is added to ArcGIS API for Python in future releases, one possible workaround is to clone Web Maps and/or Feature Services and/or apps used in the Experience using clone_items() method, and then rebuild the Experience Builder app in the target organization. Best, MJ
... View more
01-30-2023
10:46 AM
|
1
|
0
|
3861
|
Title | Kudos | Posted |
---|---|---|
1 | 06-09-2022 06:34 AM | |
1 | 10-27-2023 11:23 AM | |
1 | 10-27-2023 08:15 AM | |
1 | 01-30-2023 09:30 AM | |
1 | 01-22-2021 07:01 AM |
Online Status |
Offline
|
Date Last Visited |
a week ago
|