|
POST
|
Bingo! Scheduling a task that accesses a feature service, opening the task wrapper and adding arcpy.SignInToPortal(arcpy.GetActivePortalURL(), username, password) makes the tool run without issues. It even sets the application's logged-in user which is great for consistency. Thanks for all the advice Josh!
... View more
06-12-2025
02:15 PM
|
2
|
0
|
420
|
|
POST
|
At first glance this looks like the magic bullet, I'll get my hands on a built-in account and report my findings once I have time to test this
... View more
06-12-2025
11:17 AM
|
0
|
1
|
1963
|
|
POST
|
Just username/password. I think we'll have to use 2FA eventually due to Azure rules but it's currently not enabled.
... View more
06-12-2025
11:06 AM
|
0
|
3
|
1966
|
|
POST
|
Right now the accounts are the ones linked to our AD (I think that's the Identity Provider type) but we need to spin up a new account eventually so we can switch to a built-in account if that works better.
... View more
06-12-2025
10:59 AM
|
0
|
5
|
1976
|
|
POST
|
This looks fantastic for scripts that use the Python API and REST APIs but I don't think it's suitable for my case. I need to schedule Modelbuilder models and/or script tools that primarily use arcpy. These tools will need to access geodatabase items through a file path or EGDB connection as well as feature services via URL and they need to function as user-driven toolbox tools as well as scheduled tasks via the Python wrappers Pro creates. The developer info doesn't mention anything about traditional Desktop workflows and limits like "must refresh and replace the keys" or "can only access up to 100 owned items" are also a non-starter. In a perfect world the only maintenance required in the process is reauthenticating on the machine that runs the tasks any time we change the password for our scheduled tasks account and then everything flows from that. That said, this is much better than our current solution for outside apps that integrate with our Portal so I'll dig into this once my team does the next Enterprise upgrade, thank you!
... View more
06-12-2025
09:51 AM
|
0
|
1
|
1996
|
|
POST
|
I'm going over how my team manages scheduled tasks and I'm running into a roadblock. We have a number of tools that need to run directly against feature services, which means Pro needs credentials for the portal they're hosted and registered in. The issues is that Pro doesn't keep a user signed in indefinitely, so I have to go through every machine that runs these tasks and sign out then in to refresh the credentials. Consolidating every task to a single machine and service account simplifies this process but ideally I want a solution that doesn't need regular checkups like this. Has anyone found a good solution for keeping Pro credentials refreshed? Alternatively, is there a reliable way for tasks to access portal data without relying on Pro's current account?
... View more
06-12-2025
09:05 AM
|
0
|
10
|
2448
|
|
POST
|
Odd, if you select one or two features before exporting does that change things?
... View more
06-11-2025
02:20 PM
|
0
|
1
|
802
|
|
POST
|
I made a new set of Line Map Notes in Pro 3.4, added some simple lines and exported them to a shapefile (attached) using Export Features. I didn't see any issues with the process, are you able to clarify what trouble you ran into?
... View more
06-11-2025
01:55 PM
|
0
|
3
|
825
|
|
POST
|
The FeatureSetByName function is your friend for getting data from other feature classes. As for updating another feature class from your rule, this help page explains the structure of the special object you have to return.
... View more
06-10-2025
08:36 AM
|
0
|
0
|
649
|
|
POST
|
If there's no GPS metadata fields or editor tracking fields then you're out of luck for properly attributed data. If you're fine with fudging the data, you can try and get a start time and the streaming interval, then use the field calculator to auto-increment the data to create "good enough" timestamps.
... View more
06-05-2025
04:03 PM
|
0
|
0
|
579
|
|
POST
|
A few suggestions: Add some transparency to the symbols so you can see overlaps and get accurate counts Use symbols that are offset from the center, like those pushpins you suggested or a crescent moon or something. This makes it easier to see overlaps while keeping a natural appearance Play around with Clustering. This isn't a magic bullet as it can cause issues with some apps and the special aggregate popups but it's a surefire way to avoid overlaps.
... View more
06-05-2025
03:58 PM
|
0
|
0
|
755
|
|
POST
|
If you need to store the original data between edits, you'll need an extra field to log that with one rule, then use another rule to retrieve it later. If it's all happening in the span of the same edit, you can usually just return without a value and the attribute rule won't edit anything.
... View more
06-05-2025
02:36 PM
|
0
|
0
|
423
|
|
POST
|
I hopped in the Arcade playground and used this modified code: // Fetches features from a public portal item
var evtsummary = FeatureSetByPortalItem(
Portal("https://www.arcgis.com"),
// portal item id
"6200db0b80de4341ae8ee2b62d606e67",
0, // layer id
["*"], // fields to include
false // include or exclude geometry
);
var sql = "OBJECTID < 10"
var related_data = Filter(evtsummary, sql);
var cnt = Count(related_data);
var evtlist = []
Console(cnt)
if (cnt > 0) {
for (var feat in related_data){
Console(Text(feat))
Push(evtlist,feat.BUILDINGID)
}
return Concatenate(evtlist,"\n")
} else {
return "-"
} and I was unable to replicate your issue. What's your SQL query? If you apply the same query to the table directly in Pro or the map viewer do you get distinct rows back? If that leads nowhere, you might be pulling evtsummary in an odd way that leads to duplicates. If you can't get anywhere you might have to contact your support to see if they can replicate this with your data and Enterprise/Pro versions.
... View more
06-05-2025
12:36 PM
|
1
|
1
|
1675
|
|
POST
|
If it's a preset list of colors, make a feature service with a choice list field that's also the symbology field, and throw that in a web map (add Experience Builder on top if you want). If they need to define their own colors on the fly, take a look at attribute-driven color: this page should cover the basics and link to more details.
... View more
06-05-2025
11:18 AM
|
1
|
2
|
869
|
|
POST
|
Does declaring @next_oid as "int" rather than "bigint" change anything?
... View more
06-05-2025
08:58 AM
|
0
|
1
|
1252
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 04-09-2026 11:36 AM | |
| 1 | 09-08-2023 10:07 AM | |
| 3 | 03-26-2026 08:11 AM | |
| 2 | 03-12-2026 01:41 PM | |
| 1 | 03-06-2026 08:58 AM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|