It is possible to do this with Arcade expressions. You can see a sample expressions here.
var related_table = FeatureSetById($datastore, "1");
var filter_query = "parentglobalid = '" + $feature["globalid"] + "'";
var related_data_filtered = Filter(related_table, filter_query);
var related_data_filtered_count = Count(related_data_filtered);
var output = "";
My advice is that you try the AmigoCollect app, it provides offline mode option with auto-sync once online and a plug in to sync with ArcGIS or QGis. Also, you can store offline layers that sync on all devices without having to remove and re-download the map on each device.
I have a couple of suggestions. First, I think the expression can be simplified to the following:
return When (
value >= 1000000, Text((value / 1000000), "$##.#m"),
value >= 100000, Text((value / 1000), "$##.#k"),
value >= 1000, Text((value / 1000), "$#.#k"),
Check the Map/Scene Properties > Extent and Clip layers options. Could be that the points are being hidden by one or both of these settings in Pro. For AGOL, i'm pretty sure you are limited to 2000 points only.
I was able to make one slight modification to your expression, see below:
iif($feature.price < 1000, "$" + $feature.price, iif($feature.price < 1000000, "$" + $feature.price/1000 + "K", iif($feature.price < 1000000000,"$" + $feature.price/1000000 + "M",0)))
This works; however, I noticed it does not shorten the number (ex. 1427 shows up ...
I think you should be able to use nested iif statements to label your data the way you want. Something along these lines should work:
iif($feature.price < 1000, "$" + $feature.price, iif($feature.price < 1000000, "$" + $feature.price/1000 + "K", iif($feature.price < 1000000000, "$" + $feature.price/1000000, "")))
With this statement, prices below ...
This worked for me:
aprx = arcpy.mpArcGISProject("CURRENT")
m = aprx.listMaps("Map")
itemid = '2ec9f27bea254a428e4eb70e7650672d'
m.addDataFromPath("https://mycounty.maps.arcgis.com/home/item.html?id=" + itemid)
The layer gets added to the Pro map.
I know that this is definitely possible. I've used apps created by another organisation and been able to see/query the data through the app, but not been able to view or open the data in my own map. Although I can see the item when I search for it, it throws an error when I try to open in map view. I'm not sure how this is done, but I think it requires ...
A 1-year student licence includes Survey123, so your Esri subscription isn't the problem here. The issue is that your organisation administrator hasn't given you the privileges to create and publish new content. You need to make sure that your account has been given the 'Creator' user type and 'Publisher' role. This allows you to create new content, ...
Collector for ArcGIS allows in-app tracking, but not "live" tracking. If you want to monitor the location of your field staff in real time then you'll need Workforce for ArcGIS: https://www.esri.com/en-us/arcgis/products/workforce/overview. This is still a mobile app solution, but is not included in a standard ArcGIS online organisational subscription. You'...
You can try OSM's nominatim, though it's not meant for commercial use, so it might block you if you have a lot of users
or HERE's API which should give pretty good results as well and has a pretty good freemium plan