POST
|
Hello @jcarlson! I'm fairly new to both Survey123 and Dashboards, but I am attempting to create a review dashboard like the one you've shown above. This would fit our needs exactly. Can you elaborate a bit more on this section: Create a new survey that references this view layer. Make that survey expose the attributes that need reviewing and correcting, and include a hidden question to set the reviewed field to "yes" upon submitting. I created a new survey based on the view layer, but how do I reference fields from the view layer and also how did you create the hidden question that sets the reviewed field to 'yes' if the user selects 'yes' in the dashboard? Could you share a screenshot of your xlsForm for this new survey? Thanks for your help! Samantha
... View more
a week ago
|
0
|
0
|
20
|
POST
|
We have also experienced similar issues, with a much slower map viewer compared to the classic version. After watching some performance recordings, our assumption is that the new map viewer triggers a refresh of the layer list every time the map extent changes. This might happen 50 times while panning, and for every time, the re-rendering of the layer list, might cause a 100-120ms delay if the layer list is long. This makes the panning laggy. When opening the basemap pane, everything feels much smoother, and the map still loads data while panning the map, but since the layerlist is not present in the web page, the refresh that happens goes much quicker and is no longer an issue. We have had a support ticket for this issue using our local distributor, and now it has been created as a bug in the support system. Please log in and escalate the bug, to make it a priority for Esri: https://my.esri.com/#/support/bugs/bugs?bugNumber=BUG-000166635
... View more
a week ago
|
2
|
0
|
29
|
POST
|
There is also the interrupt Kernel button in the ribbon. I think this is even more effective and cutting off the process.
... View more
a week ago
|
0
|
0
|
158
|
POST
|
Our team is still experiencing this issue with the World Imagery basemap in ArcPro. Zoomed in past 1:766, the basemap reverts to an older version.
... View more
a week ago
|
0
|
0
|
23
|
POST
|
Josh - so much gold in this reply! I've copied it to my notes for future reference. Thanks this has done just what I was after - thank you for explaining why an array is the preferred option too. Gotta love the internet! 😄
... View more
2 weeks ago
|
0
|
0
|
67
|
POST
|
Try changing the SDE connection to Branch. I had a similar issue and it worked.
... View more
2 weeks ago
|
0
|
0
|
21
|
POST
|
Yes, this happened to me 3/26/24. It was with a manual overwrite from Pro. Data point: My overnight overwrite scripts still seem to be working.
... View more
2 weeks ago
|
0
|
0
|
14
|
POST
|
I just want to say a thousand thanks from Sweden. This solved a big problem for me!!!
... View more
2 weeks ago
|
0
|
0
|
57
|
POST
|
Makes sense. Well, if a Data Expression is an option, you can probably get it to work. There are a couple of approaches people use, but first, get your features: var fs = FeatureSetByPortalItem(
Portal('your portal url'),
'itemid of your service',
0, // layer index of the feature layer
['objectid', 'Inspection_Date'],
false
) A common approach from here is to loop through the entire FeatureSet, check the date field, and push features to an output FeatureSet with a new category field in place. By including the objectid, the resulting data can still be used to filter the rest of the dashboard. It will work, and it's easy to work with Arcade's built-in Date functions. But if you have a lot of features, this can take a lot of time to evaluate. var out_dict = {
fields: [
{name: objectid, type: 'esriFieldTypeOID'},
{name: inspection_complete, type: 'esriFieldTypeString'}
],
geometryType: '',
features: []
}
var threshold = Date(2024, 3, 1) // months are 0-indexed, so 3 is april
for (var f in fs) {
// check date
var insp_complete = Iif(
DateDiff(threshold, f['Inspection_Date']) >= 0,
'Incomplete',
'Inspection Completed'
)
// push into array
Push(
out_dict['features'],
{ attributes: { objectid: f['objectid'], inspection_complete: insp_complete }}
)
}
return FeatureSet(Text(out_dict)) Another method is to use GroupBy or Distinct. These functions let you use SQL to create new "fields" in the output, but excecute on the server side, and are much faster. Not as fun to work with timestamps, though. The particular format of the date functions will depend on the database your service is coming from. var sql = `CASE
WHEN Inspection_Date < TIMESTAMP '2024-04-01 00:00:00'
THEN 'Incomplete'
ELSE 'Inspection Complete'
END`
return Distinct(
fs,
[
{ name: 'objectid', expression: 'objectid' },
{ name: 'inspection_complete', expression: sql }
]
) If your system doesn't like the timestamp syntax, you can get away with using EXTRACT most of the time, something like: CASE WHEN EXTRACT(MONTH FROM Inspection_Date) >= 4 AND EXTRACT(YEAR FROM Inspection_Date) = 2024 THEN 'Inspection Complete' ELSE 'Incomplete END
... View more
2 weeks ago
|
0
|
0
|
77
|
POST
|
This can be done in the Export Layout pane. Under Map Series tab, under Files > Single File (drop down).
... View more
2 weeks ago
|
0
|
0
|
43
|
POST
|
Glad you found an answer @AlfredBaldenweck and I agree with @jcarlson that elaborating more on your own answer and solution would be awesome, as I'm trying to figure out how to do this now myself haha
... View more
2 weeks ago
|
0
|
0
|
60
|
IDEA
|
@RichardJShepherd Another case where this would very useful is catching errors to portal functions such as GetUser() because these methods raise an error when Attribute Rules are triggered by a Server User with a REST token. For example, the following line in one of our Attribute Rules causes an error when edits are made by an automated integration with SAP using a token at the /applyEdits REST Endpoint. var devPortalUser = GetUser() We should have an ability to do this: try: var devPortalUser = GetUser() except: \\Do Something
... View more
2 weeks ago
|
0
|
0
|
66
|
IDEA
|
I had a similar issue until I found a clarification here: https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-find-dependencies-in-portal-for-arcgis/td-p/1241091 I tried the same thing as you, putting the itemID, or the URL in the code where it seems to be asking for it, but leave that code as is. Running cell 4 will produce the empty prompt box: put your ItemID in the prompt box, hit 'enter', and then continue running the rest of the code. Works like a charm and many, many thanks to @jcarlson for this script. I have tried out a number of scripts for this, but yours is the only one I could get to work. Thanks, Zak--
... View more
2 weeks ago
|
0
|
0
|
41
|
POST
|
Easy way to solve this. With the Layout activated, create a new feature class (Feature Class A) that includes the attribute INDEX. Create as a rectangle to full extent of your layout frame. Then copy/paste the same rectangle to match the number of records in Feature Class B. Give each of these rectangles INDEX a name that matches Feature Class B INDEX name. Then make the map series for the mapbook at the fixed scale and center. Then you go into the properties of the feature class you actually want displayed and add in a Page Query to match the attribute as the mapbook. This keeps the extent consistent while toggling through the data you want to highlight.
... View more
2 weeks ago
|
0
|
0
|
43
|
POST
|
You can run it into arcgis notebooks. In pro: click analysis on the top ribbon, click the drop down arrow for python toward the top left of the ribbon, click python notebook.
... View more
2 weeks ago
|
0
|
0
|
115
|
Title | Kudos | Posted |
---|---|---|
1 | 03-07-2023 06:28 AM | |
1 | yesterday | |
1 | yesterday | |
1 | a month ago | |
1 | Tuesday |
Online Status |
Online
|
Date Last Visited |
yesterday
|