POST
|
Hi John, I'm not familiar with the specifics on Arcade functions in Enterprise for the popup profile. But, in testing it, it appears not to be listed.
... View more
05-11-2023
01:54 PM
|
1
|
0
|
403
|
IDEA
|
Hi @JohannesLindner , Thank you for digging all these up and helping users with many of them. I have brought it to the attention of the Arcade team and they will discuss it. It sounds like there are some complexities around the feature layer specification (requiring EPOCH) and time zones (e.g., an Arcade date is in local time), but that is not to say a solution cannot be had. I'll keep you posted. For the time being, I thought I'd share a little helper function to convert dates in a feature to EPOCH. I will have to check if it is accounting for time zone correctly though. // Since a esriTypeDate can't take an Arcade Date, need to cast to EPOCH
// Pass in a feature
function CastDatesToEpoch(feat) {
var modifiedAttributes = {};
for (var att in feat) {
if(TypeOf(feat[att]) == 'Date') {
modifiedAttributes[att] = Number(feat[att])
// Console(`${feat[att]} is now ${Number(feat[att])}`)
}
else {
modifiedAttributes[att] = feat[att]
}
}
return modifiedAttributes
}
var fs = FeatureSetByPortalItem(Portal('https://www.arcgis.com'), item, sublayer, ["*"], fetchGeom);
// Define a new dictionary feature set
var sch = Schema(fs);
var dict = {
'fields': sch.fields,
'geometryType': sch.geometryType, // Can be esriGeometryNull, esriGeometryPoint, esriGeometryPolyline, esriGeometryPolygon;
'features': []
};
// Do something to each feature, like add a field, then add it to the dictionary
var index = 0;
for (var f in fs) {
// Add each feature to new dictionary and cast dates to EPOCH
dict.features[index] = {
'geometry': Geometry(f),
'attributes': CastDatesToEpoch(f)
}
index++;
}
// Convert dictionary to feature set.
return FeatureSet(Text(dict));
... View more
03-08-2023
02:12 PM
|
0
|
0
|
1953
|
IDEA
|
Hi @BritaAustin, The Number(myDate) essentially converts it to an EPOCH value. This is only necessary for in the dictionary for constructing the Feature Set. (Checking to see there are any options or plans to change this requirement, as it does trip a lot of people up). In your scenario, I don't think this is the problem -- you aren't creating any date fields in your new feature set. It looks like your looping logic might need some work starting at line 44 (you aren't incrementing the feature index).
... View more
11-30-2022
12:45 PM
|
0
|
0
|
2268
|
POST
|
Hi @Curt_H, No near-term plans to update the table element to allow for text wrapping out-of-the box. One other trick you could try is to use hover text (introduced March 2022) to display long strings in tables. Or, there may be some CSS styles you can work with to get the word wrapping you desire within the cell. All the best
... View more
11-28-2022
02:19 PM
|
1
|
0
|
1921
|
POST
|
Yep, as you mentioned below, this has been implemented, as shown here All the best
... View more
08-29-2022
05:26 PM
|
1
|
0
|
843
|
POST
|
Hi @CristinaLorenzo-Velazquez, Hope you are well. What is the context of this question? For example, is it x/y data in a pop-up or in a CSV that you are trying to convert? Dave
... View more
05-11-2022
05:04 PM
|
0
|
1
|
241
|
IDEA
|
Hi @Amanda__Huber Wondering if you might be able to share the dashboard with me. I played out that scenario and I see the "No data" message in the case when I choose an option from A that has no waterbodies to list in B. In this case, "Celil county" doesn't have any waterbodies, so it shows the "No data" message (which can be renamed).
... View more
04-21-2022
09:44 PM
|
0
|
0
|
579
|
IDEA
|
Hi @Amanda__Huber Sorry to hear about your trouble. If you save and refresh the dashboard, does the "render only when filtered" setting work as expected? Is this the scenario you are after? Dave
... View more
04-14-2022
11:41 AM
|
0
|
0
|
619
|
POST
|
@AMoyers @NeilWebber , the issue should be resolved now. Please try your workflows again.
... View more
03-22-2022
09:59 PM
|
1
|
1
|
1873
|
POST
|
Hi @AMoyers @NeilWebber , Thanks for following up. Thank you for your patience and sorry about the confusion about the classification of the issue. We have updated the API to now take the actual geometry into account when doing the spatial filter on a CSV export. So, when you apply a spatial (polygon) filter action to a list of features, then export the source data, you will get the same number of rows in your CSV. This update is planned to roll out with next week's ArcGIS Online release. Please let me know if you have any other questions or concerns with this implementation.
... View more
03-15-2022
05:43 PM
|
0
|
0
|
1281
|
POST
|
Hi @MatthewThomas1 , Thanks for the question. The product team will see if there are ways to improve the handling of long strings. Just playing with it for a little bit, I wasn't able to get word wrapping working via Arcade, but I was able to introduce a horizontal scroll that allows you to read longer strings. displayText: `<div style="overflow-x: scroll; ">${$datapoint["LongName"]}</div>`,
... View more
01-24-2022
09:54 AM
|
1
|
3
|
2173
|
POST
|
Hi @MichaelBruening, Thanks for the details. The issue is that the owner (or admin) of the data has special privileges that (at present) allow them to download all the fields, despite what the view defines as accessible/available fields. We suggest you only use the data download capability in dashboards when signed in with a different (non-owner, non-admin) account. This will ensure you get only the fields you expect. We are working to update this behavior for the next release (planned for March). We will also work to clarify this part of the documentation. When it said, "... including any fields that are not visualized." it is referring to the visualization (e.g., a list, chart, or table). So, although a list might not display/visualize every field, all of them (within the limits of the view layer) will be downloaded. Thanks, - Dave
... View more
01-21-2022
04:39 PM
|
1
|
2
|
3179
|
POST
|
Hi @Abdullah_AlFazari, Are you looking for unit prefixing? Here is a link to do it if using advanced formatting (via Arcade).
... View more
01-10-2022
03:20 PM
|
1
|
1
|
974
|
POST
|
@AMoyers, thank you for reporting this. It was found to be working as designed: when using spatial filters based on a polygon, the CSV will include features intersecting the envelope (i.e., rectangle around it). We plan to work toward improving this in the future. If exact results are required, as a workaround we suggest using attribute-based filtering. Having common identifier fields across layers will allow you to set this up. All the best, Dave
... View more
09-29-2021
04:06 PM
|
1
|
2
|
1698
|
Title | Kudos | Posted |
---|---|---|
2 | 11-01-2023 07:04 AM | |
1 | 06-15-2023 01:00 PM | |
2 | 09-15-2023 10:02 AM | |
2 | 08-09-2023 12:10 PM | |
1 | 06-15-2023 12:18 PM |
Online Status |
Offline
|
Date Last Visited |
03-04-2024
10:29 PM
|