|
POST
|
Hi, I can't think of a way to do this with simple Actions and Filters. You could create a data expression that includes a record for each day. This would not require you to actually create extra records in your data but depending on the amount of records it can really slow your dashboard down. Jill
... View more
04-26-2024
02:07 PM
|
0
|
0
|
812
|
|
POST
|
Hello! I have a standalone ArcGIS Server service, added to an ArcGIS Online Web Map. In my Dashboard, I can view this layer in the map widget or use it as the source of a table or chart. However, when I try to use it as source of an Indicator, I get a "Cannot access data" error. You can see in the sample data table that the data is accessible but that "Loading data" indicator just continues to spin. I'm not having the same issue with other layers on that server. Any ideas? Thanks! Jill
... View more
04-26-2024
01:54 PM
|
0
|
7
|
2798
|
|
POST
|
Hi there @chapmunnhsc , I cobbled something together and posted it here - Custom Widget Output Datasource Not sure if it's the most elegant solution but I'm relieved to have something working after months of frustration!
... View more
03-07-2024
11:25 AM
|
1
|
2
|
4418
|
|
POST
|
Set the source of your embedded content widget to your Bike Pathways layer with the URL property set to the field that contains the link. On the properties page for your Map widget, on the "Layer actions" tab, turn on the "Select feature" option under the "When map is clicked" heading. Then under the "Layer actions" for your Bike Pathways layer, configure a filter action on the embedded content widget when the selection changes. That seems to work for me.
... View more
02-27-2024
11:29 AM
|
0
|
0
|
2602
|
|
POST
|
Are the URLs to the images stored as an attribute in your Bicycle Paths layer?
... View more
02-27-2024
10:39 AM
|
0
|
1
|
2606
|
|
POST
|
Hi, I haven't worked with it but would a combination of the Filter and GroupBy functions be helpful? This sample has an example of the kind of output you're looking for - Aggregate by Day of Week
... View more
02-27-2024
09:13 AM
|
1
|
0
|
1655
|
|
POST
|
Hi, I'm not totally clear on what you want to do but you can set the source of the embedded content widget to the layer, pulling the URL of the image from a field in the layer. Then configure an action that filters the embedded content widget when the layer selection changes. The example below filters the widget from a list but I think applying the filter from the map would be similar. Jill
... View more
02-27-2024
08:57 AM
|
0
|
0
|
2614
|
|
POST
|
Ah yes, now I see how those tools are meant to be used. Thanks!
... View more
02-27-2024
08:48 AM
|
0
|
0
|
3389
|
|
POST
|
Hi Calling the _hydrate method didn't seem to do the trick. The code block still took 24 minutes. I inspected the network traffic and I didn't realize that certain properties weren't returned by a search and that a subsequent request was required to retrieve them. It makes sense to me now why it takes so long and I can't think of a workaround. Even if I was accessing the REST endpoint directly, there is an "exclude" fields parameter but not an "include" fields parameter. Thanks for your help! Jill
... View more
02-21-2024
11:29 AM
|
0
|
0
|
2851
|
|
POST
|
@EarlMedina- A follow up question... I integrated your syntax for creating the dataframe from query results into my script and it kind of works but accessing the size property takes forever. In this example, I'm querying ArcGIS Online content and dumping it into a dataframe. If I leave out size, it takes 3 seconds. If I include size, it takes 24 minutes. I ran this against an ArcGIS Enterprise org and I finally had to kill the script after 4 hours. It never finished and never generated an error. Any ideas for a workaround? Thanks!
... View more
02-20-2024
01:28 PM
|
0
|
0
|
2859
|
|
POST
|
That syntax works! Thank you, really appreciate the help.
... View more
02-15-2024
02:51 PM
|
0
|
0
|
2959
|
|
POST
|
Hi, Thank you so much for your reply. When I use this method of populating the dataframe, I don't get the size populated at all, not even in the first row. I will look more at accessing the dictionary, instead of the object. Thanks!
... View more
02-15-2024
12:49 PM
|
0
|
1
|
2964
|
|
POST
|
I am stuck on a weird issue. I am searching for some items, adding them to a pandas dataframe and saving them to a csv. This is all working except that the size value is only populated for the first item. I can inspect the size property for each item and see that it has a value. In fact, once I access the size property, it shows up in the dataframe. Why does this happen and what is the workaround? Thanks!
... View more
02-15-2024
09:46 AM
|
0
|
7
|
3037
|
|
POST
|
I finally got this working and am leaving my solution here in case it helps someone else. I added the following to the constructor of the settings page of my custom widget. const outputDsJsons: DataSourceJson[] = [{
id: `${props.id}-output`,
type: DataSourceTypes.FeatureLayer,
label: "QlikView Layer",
originDataSources: [],
schema: {
idField: "__OBJECTID",
fields: {
__OBJECTID: {
jimuName: "__OBJECTID",
name: "__OBJECTID",
alias: "__OBJECTID",
type: JimuFieldType.Number,
esriType: EsriFieldType.OID
},
Route: {
jimuName: "Route",
name: "Route",
alias: "Route",
type: JimuFieldType.Number,
esriType: EsriFieldType.Integer
},
.....
}
},
isDataInDataSourceInstance: true
}]
this.props.onSettingChange({
id: this.props.id,
useDataSources: []
}, outputDsJsons); Then I added the output datasource as a new sheet in my attribute table widget. In my widget source I used the following to populate the records: const dataRecords = [];
const dataSourceManager = DataSourceManager.getInstance();
const outputDsId = this.props.outputDataSources[0]
dataSourceManager.createDataSource(outputDsId).then(ods => {
csvLayer.queryFeatures().then((results) => {
results.features.forEach((f) => {
const rec = ods.buildRecord(f)
dataRecords.push(rec);
});
ods.setSourceRecords(dataRecords)
ods.setStatus(DataSourceStatus.Unloaded)
ods.setCountStatus(DataSourceStatus.Unloaded)
})
}); No idea if this is the proper way to do this. I found it incredibly frustrating trying to implement this with the available documentation. I managed to piece something together from samples and community posts. Jill
... View more
02-13-2024
01:57 PM
|
3
|
1
|
3435
|
|
POST
|
Hi, I am trying to add a feature layer in a geodatabase on a network share to a map. Using the following tool works without issue: The layer is added to the current map. If I attempt to do this using Python, I get the following error about credentials. Any ideas on how to resolve this? Thanks! Jill
... View more
02-12-2024
12:21 PM
|
0
|
4
|
3660
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-11-2018 10:05 AM | |
| 1 | 04-21-2023 11:03 AM | |
| 1 | 08-22-2024 12:12 PM | |
| 1 | 06-17-2022 08:38 AM | |
| 2 | 05-23-2023 07:45 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|