POST
|
Unfortunately, the guidance I received was to use a database view to fit the data that was broken up into one of the existing definitions. This article describes the process.
... View more
08-01-2022
05:29 AM
|
0
|
0
|
942
|
POST
|
Is there any up-to-date guidance in customizing ArcGIS Pro locator definitions similar to how ArcGIS 10 had the attached technical paper for customizing locator definitions?
... View more
08-16-2021
08:34 AM
|
2
|
15
|
1703
|
POST
|
It was our process of merging tables, there was a single thread of logic that generated schema where the columns were different (text vs guid). It didn't cause any errors in the relationship class construction, which confused me until I started pulling data together for a response. Thanks.
... View more
04-15-2020
02:17 PM
|
1
|
0
|
563
|
POST
|
If a relationship class works as expected on two data sets (call them A and B), where it shows the related rows between the two, why would it not work establishing a relationship on tables A and D, where D is the merging of the original table B and a new table C? All tables B, C, and D have a column that has a key that matches to a primary key column in table A, but sometimes they do not have a corresponding match. I have verified that if I do that with the original table B (where the joined column is null) the establishment of the relationship is successful and rows that have the keyed relationship are returned. To create table D, we create the table via the geoprocessing tools, iterate and add the rows in table B to D, then do the same with table C. Is there another step that has to happen? Table D appears to have all of the relevant data, and if I try to then create a relationship class, it does not error, but nothing is returned.
... View more
04-15-2020
07:00 AM
|
0
|
2
|
603
|
POST
|
When you either delete a relationship class manually (through right-clicking and deleting it in the project Catalog pane), or if you do it programmatically (through use of managment.Delete operation by way of the Geoprocessing tools in the sdk), the origin table remains in the Contents pane, but the destination table is removed. It still exists in the geodatabase, since I can navigate to it in the Catalog pane and re-add it by right clicking and selecting "Add to Current Map" or by dragging it over to the Contents pane from the Catalog pane. Is this intended behavior? If so, why? How does one get around that? How can I delete a relationship class and still preserve both tables in the Contents pane?
... View more
04-08-2020
11:55 AM
|
1
|
1
|
777
|
POST
|
After contacting ESRI Support, there is no way to actually achieve this through a singular event, but you can do them in tandem. The suggested approach was: private SubscriptionToken eventToken = null; private void SetupPaneEvent() { eventToken = ActivePaneChangedEvent.Subscribe(OnActivePaneChangedEvent); } private void OnActivePaneChangedEvent(PaneEventArgs args) { //The window that is selected is a table, so then register an event that handles selections if (FrameworkApplication.Panes.ActivePane is ITablePane) { eventToken = MapSelectionChangedEvent.Subscribe(OnMapSelectionChangedEvent); } else { // not a table? Unsubscribe. MapSelectionChangedEvent.Unsubscribe(eventToken); } } private void OnMapSelectionChangedEvent(MapSelectionChangedEventArgs args) { //Do work that detects which source and how you need to filter out different actions between feature classes //and stand alone tables }
... View more
04-06-2020
08:45 AM
|
0
|
0
|
1105
|
POST
|
With ArcGIS Pro SDK 2.5, you can detect that the map selection has changed with the MapSelectionChangedEvent, which also includes selecting one or many rows in the attribute table of a geodatabase that is loaded in a MapView. I know that I can wire it up like: private SubscriptionToken eventToken = null; private void SetupEvents() { eventToken = MapSelectionChangedEvent.Subscribe(OnMapSelectionChangedEvent); } private void OnMapSelectionChangedEvent(MapSelectionChangedEventArgs obj) { //do work on the selection } I would prefer to isolate the work in the handler to only happen when the geodatabase's attribute table row selection changes, not on all map selections. I haven't been able to find an event that fits this qualification in the sdk. Does one exist? EDIT 3/19/2020: Since it may be unclear what I'm attempting to achieve, the below image has the MapView and the open attribute table. I would like for the selection of a row in that table to trigger an event in my add-in. The MapSelectionChangedEvent is far too broad for this purpose, so if there is a SelectionChanged event or the like on the attribute table that I can hook into, that would work. I cannot seem to find one, though. I can select something from the add-in and have it show on the map, but I wanted to know if something existed on this built in control.
... View more
03-16-2020
11:27 AM
|
0
|
1
|
1356
|
POST
|
Thank you. It seemed to start out the same way as the one I was following, but the extending part was much more helpful.
... View more
08-01-2019
02:24 PM
|
0
|
0
|
1102
|
POST
|
We have need of extending the sketch widget to allow for some custom behaviors and buttons. I followed the steps given in https://github.com/jcfranco/dev-summit-2017-customizing-widgets We started by installing the types of both arcgis and dojo: npm init --yes npm install --save @types/arcgis-js-api npm install dojo-typings --save-dev packages.json Set up the typscript config as such: When I copy over the widget and compile, I get the following. Errors: I attempted to resolve the paths, but I can't find these references. When I look in the project on git hub, some of these paths do not exist. I must have something set up incorrectly. Any help putting me #in the right direction would be wonderful.
... View more
07-30-2019
12:25 PM
|
0
|
2
|
1468
|
POST
|
I, too, have this issue. The weird thing is that the type script will transpile into workable javascript artifacts, but this causes build failures due to the type script compiling errors. I added the typings and api through npm as per the instructions. Any ideas? ts.config { "compilerOptions": { "module": "amd", "noImplicitAny": true, "sourceMap": true, "jsx": "react", "jsxFactory": "tsx", "target": "es5", "experimentalDecorators": true, "preserveConstEnums": true, "suppressImplicitAnyIndexErrors": true }, "include": [ "./scripts/esri-widgets/*" ], "exclude": [ "node_modules", "wwwroot" ] } typescript compile output:
... View more
07-29-2019
02:06 PM
|
0
|
0
|
780
|
Title | Kudos | Posted |
---|---|---|
1 | 04-08-2020 11:55 AM | |
2 | 08-16-2021 08:34 AM | |
1 | 04-15-2020 02:17 PM |
Online Status |
Offline
|
Date Last Visited |
08-01-2022
07:04 AM
|