Questions tagged [arcgis-pro-sdk]

use this tag related to ArcGIS Pro SDK 1.x for .NET, and topics relating to the ArcGIS Pro 1.x .NET SDK (C# and Visual Basic).

14 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
294 views

Programmatically fetching current Add-In version using ArcGIS Pro SDK

The version of a custom ArcGIS Pro SDK Add-In is held in the config.daml of the Add-In project: <AddInInfo id="{some guid}" version="1.0" desktopVersion="1.1.3068"> How do I programmatically ...
3
votes
0answers
160 views

Unit testing ArcGIS Pro SDK?

I am wondering, if there is a possibility to unit test own code using the ArcGIs Pro 2.0 SDK. I did not find any until now, because there are plenty of static functions, classes, etc. and no ...
2
votes
0answers
362 views

Tutorial on migrating Add-ins from ArcGIS 10.x (ArcObjects) to ArcGIS Pro for Microsoft VB.NET?

I can't seem to find any comprehensive tutorials on migrating (recreating comparable functionality) of 10.x (ArcObjects) VB.Net Add-ins to ArcGIS PRO SDK Add-ins. When migrating from Avenue, ESRI ...
1
vote
0answers
10 views

Linking a .chm or URL to the title bar help button for a ProWindow

I noticed that the ProWindow exposes a "ShowHelpButton" property which shows a "?" on the title bar, but a click navigates to the ArcGIS Pro help website. Both the ArcGIS Pro SDK repository and the ...
1
vote
0answers
24 views

Write Excel From ArcGIS Pro, Async

I am having trouble writing to an excel file from ArcGIS Pro Sdk add-in that I created, I have a basic understanding of multithread, I am using task but the main thread does not wait for the excel to ...
1
vote
0answers
31 views

Getting Esri Brushes to appear as dynamic resources in Visual Studio?

I used the ArcGIS Pro SDK to create my Add-In project and to create the DockPane but the Esri Brushes don't show up as Dynamic Resources. According to Esri (https://github.com/Esri/arcgis-pro-sdk/...
1
vote
0answers
47 views

How to find all connected edges from gas device feature using C# API call to ArcGIS Pro SDK?

I am currently using connected trace to trace all the specified gas devices (using its Asset Group and Asset Type) to get output from the trace. I want to find all the connected edge features from ...
1
vote
0answers
97 views

Async Databinding using ArcGIS Pro SDK and MVVM?

How can we bind data to datagrid (In dockpane) using Async programing in ArcGIS Pro SDk and MVVM as one of my process will take lot of time. Please let me know if you can have any ideas or samples.
1
vote
0answers
94 views

Are Layer extensions supported in ArcGIS Pro?

Can I store some custom information about layer, project, etc? For instance, featurelayer has no unique ID(I'm not 100% sure, but it seems like that) I want to add unique ID to each layer and store ...
0
votes
0answers
12 views

C# - ArcGIS Pro Add-in - Open Dialog

I am going add to add a button to show Add layer dialogue to ArcGIS pro Add-in. All works fine but my problem is although I have set the initial location of open dialog but dialog open in last open ...
0
votes
0answers
17 views

Refreshing gallery using ArcGIS Pro SDK?

I have a custom tab with an inline gallery of web maps. The items displayed in the gallery are dependent on a userid that is entered in a window on the same tab. The userid is stored as a Project ...
0
votes
0answers
24 views

Export Mapview to an image based on user drawn sketch ArcGIS Pro SDK 2.3

I am learning ArcGIS pro sdk with no prior experience in c#. Here is my code that exports the mapview to jpg, but I want it to export only the area that the user's rectangle covers. protected ...
0
votes
1answer
104 views

Click on a point and perform a geoprocessing tool?

In ArcMap, I have created a Python Add-In tool that clicks on a point anywhere on the map, then uses the coordinates as an input to a geoprocessing tool that runs a select by location and buffer of ...
0
votes
0answers
4k views

Store Database Connection String in App.config for an ArcGIS Pro SDK Add-In 2.x

I have added an app.config file to my visual studio pro SDK project and I’m trying to retrieve a connection string from it. The retrieval code always returns null. I don’t know if that’s because it is ...