POST
|
Sorry for the confusion - the subfields property is an empty string, when arcgis pro queries our plugin datasource for the sake of color coding. So for example, if we set up symbology type of Graduated colors around a field in our plugin datasource "Population", it would make sense that the QueryFilter.Subfields property would refer to the "Population" attribute so we aren't getting more data than we need to for this, or similar use cases. Is this possible? Hope this is more clear, thanks for the quick reply. Ben
... View more
07-13-2020
05:44 PM
|
0
|
0
|
1256
|
POST
|
We are implementing a plugin datasource that pulls in data from a local sqlite database. Some of these datasets can be quite large (100K’s of elements for some layers) and it is possible for there to be quite a few Fields (e.g. a dozen or more). We have the "IsQueryLanguageSupported" flag on the datasource template set to true, and we leverage the "whereclaue" property on the queryfilter to improve performance on data reads for the higher-volume cases. Symbology is one of the most demanding/important cases, where data for many/all elements is frequently requested as the display renders. These Query requests tend to come in chunks of about 500 rows; we are extracting the ids (from the IN statement) to populate only the appropriate subset of rows. We’re getting reasonable performance with a few Fields, but degrades when there are more Fields. Symbology tends to only be applied to 1 or 2 fields, so we’re hoping for a way to optimize display performance by only getting the data that is needed. SubFields looks to be exactly what we want: https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-Plugin-Datasources If a SubFields clause is specified then only those values for fields listed in the QueryFilter.SubFields should be populated into the returned rows … values not specified in the SubFields clause should be set to null. However, when a query on the datasource is triggered on rendering symbology set up around a single field, the "Subfields" property on the QueryFilter does not seem to ever provide additional context. Questions: It seems like SubFields should be populated for the symbology cases. Is that an oversight (or are we missing something/misunderstanding)? If SubFields is not something we can take advantage of, do you have other thoughts on ways we can optimize for the Symbology case?
... View more
07-13-2020
07:25 AM
|
0
|
8
|
1365
|
POST
|
no worries - just didn't want to bang my head against the wall trying to get it to work. thanks for the fast reply
... View more
07-08-2020
04:18 PM
|
0
|
0
|
385
|
POST
|
We have created a plugin datastore around our data model. I wanted to be able test various configurations in a corehost app. However, when trying to load it in the app I get: Could not open ... the plugin datasource with identifier '...'. Please make sure it has been deployed in the form of an Addin first. I have deployed it as an add-in - and it does work in ArcGISPro context. Is this even possible? Is there someway to detect the add-in from within a corehost app? Thanks for your help, Ben
... View more
07-08-2020
12:49 PM
|
0
|
2
|
414
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|