|
POST
|
Hi, As @Wolf wrote, "You cannot control which row is hightlighted in the Attribute tree view (the highlighted row is used for detail display)". So you need to create your own Attribute dockpane and then you can control your tree items as you want.
... View more
05-12-2023
05:57 AM
|
1
|
0
|
977
|
|
POST
|
Hi, I think this link would be useful for your case: https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Custom-settings
... View more
05-12-2023
03:10 AM
|
2
|
0
|
1161
|
|
POST
|
Hi, Most properties default to OneWay binding, but some dependency properties (typically properties of user-editable controls such as the TextBox.Text and CheckBox.IsChecked default to TwoWay binding. So try to set TwoWay binding: <frameworkControls:MessageLabel
Content="{Binding MessageLabelContent}"
Visibility="{Binding MessageLabelVisible, Converter={StaticResource BoolToVisibility}, Mode=TwoWay}" />
... View more
05-12-2023
03:05 AM
|
2
|
0
|
1561
|
|
POST
|
Hi, I would recommend to use grid rows and columns instead of alignment inside grid and do not use stackpanels. UI would be more responsible. Below my vision: <controls:ProWindow x:Class="Pro_AddIn_Testing_2023.ProWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:controls="clr-namespace:ArcGIS.Desktop.Framework.Controls;assembly=ArcGIS.Desktop.Framework"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:extensions="clr-namespace:ArcGIS.Desktop.Extensions;assembly=ArcGIS.Desktop.Extensions"
mc:Ignorable="d"
Title="ProWindow" Height="650" Width="1100"
WindowStartupLocation="CenterOwner"
>
<controls:ProWindow.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<extensions:DesignOnlyResourceDictionary Source="pack://application:,,,/ArcGIS.Desktop.Framework;component\Themes\Default.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</controls:ProWindow.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TabControl x:Name="tabControl" TabStripPlacement="Left" BorderThickness="0,0,0,0" Margin="5">
<TabItem x:Name="tabReplicaInformation" Header="Replica Information" Width="175">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<ComboBox x:Name="comboBox" HorizontalAlignment="Left" Margin="86,30,0,0" VerticalAlignment="Top" Width="120" IsReadOnly="True" SelectedIndex="0"/>
<DatePicker x:Name="datePicker" Grid.Column="1" HorizontalAlignment="Right" Margin="0,52,0,20" VerticalAlignment="Top" />
<ListBox x:Name="listBox1" Grid.Row="1" d:ItemsSource="{d:SampleData ItemCount=5}" Margin="0,0,50,25"/>
<ListBox x:Name="listBox2" Grid.Row="1" Grid.Column="2" d:ItemsSource="{d:SampleData ItemCount=5}" Width="200" Margin="0,0,0,25"/>
</Grid>
</TabItem>
<TabItem x:Name="tabFeatureCounts" Header="Feature Counts">
<Grid/>
</TabItem>
</TabControl>
<Separator Grid.Row="1" Margin="0,0,0,0"/>
<Grid Grid.Row="2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="8*"/>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<ProgressBar x:Name="progressBar" Height="25" Margin="15,5,0,5" />
<Button x:Name="buttonRun" Grid.Column="2" Content="Run" Width="100" Height="25" Margin="0,5,25,5"/>
</Grid>
</Grid>
</controls:ProWindow>
... View more
05-11-2023
12:04 AM
|
0
|
0
|
2416
|
|
POST
|
Do you see your new row in standalone table? If yes, is this row selected?
... View more
05-04-2023
11:17 AM
|
0
|
0
|
3107
|
|
POST
|
Hi, I have written small executable which changes date and version of add-in. Argument of executable is project path. Executable searches catalog for daml file and makes changes. You can set in project settings Pre-build event: "..\UpdateAddInDate\bin\Release\UpdateAddInDate.exe" $(ProjectPath) UpdateAddInDate.exe is my executable. Project of executable is located in the same solution with add-in
... View more
05-04-2023
07:10 AM
|
1
|
0
|
1382
|
|
POST
|
Hi, At first I suggest you to use selection of EditOperation itself. EditOperation has property SelectNewFeatures. Set it to true and your new feature/row will be selected automatically. And comment your selection.
... View more
05-04-2023
05:16 AM
|
0
|
2
|
3129
|
|
POST
|
Hi, I would like to add default offline map from my application Data folder. I copy vtpk and mapinfos.json file from application Data folder to .../ArcGIS/AppStudio/Cache/applicationid/offlinecache folder. Data exists in folder but then I try to create object with ArcGISRuntimeEnvironment (code below), it throws message that my vtpk file was not found. var vectorTiledLayer = ArcGISRuntimeEnvironment.createObject("ArcGISVectorTiledLayer", {url: vtpkUrl}); When I close application and start it second time. Then ArcGISRuntimeEnvironment creates vector tiled layer object. I have similar behavior like in that thread: https://community.esri.com/t5/qt-maps-sdk-questions/relative-path-of-geodatabase-qml/td-p/295112 How can I refresh ArcGISRuntimeEnvironment singleton?
... View more
05-02-2023
06:59 AM
|
0
|
1
|
1057
|
|
POST
|
Hi, Look at the Esri ArcGIS Pro SDK community sample Symbology . To create point symbol from picture you can use sample below: //The following file formats can be used to create the marker: DAE, 3DS, FLT, EMF, JPG, PNG, BMP, GIF
CIMMarker markerFromFile = await QueuedTask.Run(() => SymbolFactory.Instance.ConstructMarkerFromFile(@"C:\Temp\fileName.dae"));
CIMPointSymbol pointSymbolFromFile = SymbolFactory.Instance.ConstructPointSymbol(markerFromFile); More info in API reference https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic4098.html
... View more
05-02-2023
06:13 AM
|
1
|
1
|
2243
|
|
POST
|
Hi, I understand that this thread is too old, but have you succeeded to start work on first run. I have similar situation with copying app data to local cache. It starts work on second run.
... View more
04-26-2023
06:00 AM
|
0
|
0
|
1356
|
|
POST
|
Hi, Customer wants to update offline routing network located in mmpk when using the app. I load RouteTask in my application on map loading completed. RouteTask loading from mmpk locks offline cached mmpk file. How can I "unload" RouteTask before starting offline data updating? I saw cancelLoad method, but I am not sure, what for is that method.
... View more
04-20-2023
04:19 AM
|
1
|
1
|
1094
|
|
POST
|
For stand-alone CoreHost applications, calls to editing methods should be enclosed within a call to Geodatabase.ApplyEdits. Sample here: CreateInsertCursor Method—ArcGIS Pro
... View more
04-18-2023
02:04 AM
|
0
|
0
|
2102
|
|
POST
|
Hi, You need to use EditOperation to work with enterprise geodatabase. Sample here: https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Editing-Annotation#creating-annotation-features
... View more
04-17-2023
05:28 AM
|
1
|
2
|
2139
|
|
POST
|
Hi, Check your _networkDataProvider.PipelineFeatureClass properties for having Z and M values. If _networkDataProvider.PipelineFeatureClass doesn't have one of values, edit polylineJson to match. P.s. M value of second point could be invalid: -23728156529555.527
... View more
04-14-2023
06:08 AM
|
1
|
0
|
1344
|
|
POST
|
Hi, I think problem with line: var Agg_para = Geoprocessing.MakeValueArray(intersectFC, intersectSortFC, GPRun("management.Sort", Agg_para, null,null,outputOnMapNone); You use Agg_para parameter without initialization in running management.Sort tool
... View more
04-12-2023
11:29 PM
|
1
|
0
|
1602
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | yesterday | |
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 2 | 04-24-2026 08:33 AM | |
| 1 | 03-23-2026 11:44 AM |
| Online Status |
Online
|
| Date Last Visited |
yesterday
|