join layers with code c#

500
1
10-04-2018 10:39 PM
ThomasMENARD1
New Contributor

hi,

i'm developing an addin with ArcGIS pro SDK.

This is what i expect my tool do (in Arcgis Pro project):

1-clic on addin button or control

2- check if layers are in project

3- make join between both layers (Primary key, foreign key is static or known parameters in code)

4- display labels building with expression of joined attributes

Step 1,2 and 4 are successfull.

For step 3, i follow instructions at : ProConcepts Geodatabase · Esri/arcgis-pro-sdk Wiki · GitHub 

But no joins is etablished. Maybe, it's not on client-side?

0 Kudos
1 Reply
Wolf
by Esri Regular Contributor
Esri Regular Contributor

There is a sample that shows how to dynamically join feature classes or tables:

https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Geodatabase/DynamicJoins

0 Kudos