|
POST
|
some doc: https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Map-Authoring#working-with-elevation-surface-layers there are some examples here - https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-MapAuthoring#create-a-new-elevation-surface https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-MapAuthoring#add-an-elevation-source-to-an-existing-elevation-surface-layer
... View more
08-02-2023
10:03 AM
|
1
|
3
|
1997
|
|
POST
|
i was more thinking one of Pro's dockpanes. One that might hv a context related to one of your layers...but it's a guess.
... View more
08-02-2023
06:43 AM
|
0
|
1
|
3227
|
|
POST
|
try this: - Your utility method is likely causing a deadlock. u dont need the extra Task wrapper around the QueuedTask. Also, using Task.Result should be avoided (as it can cause deadlocks). public Task<bool> TestConnectionAsync(string url)
{
return QueuedTask.Run(() =>
{
try
{
var service = new ServiceConnectionProperties(new Uri(url));
using (var gdb = new Geodatabase(service))
return true;
}
catch
{
return false;
}
});
}
//usage
var connect_ok = await TestConnectionAsync("connection_string");
... View more
08-01-2023
05:50 PM
|
1
|
2
|
1769
|
|
POST
|
at this juncture u need tech support to help u debug your code
... View more
08-01-2023
08:25 AM
|
0
|
0
|
2705
|
|
POST
|
yes, i agree, looks like that particular enum value is not part of the GDB at 3.0.
... View more
08-01-2023
07:53 AM
|
0
|
0
|
2981
|
|
POST
|
fully qualify SpatialRelationship. Something in your code is conflicting with it
... View more
08-01-2023
07:31 AM
|
0
|
1
|
2987
|
|
POST
|
first, identify the source. that is trial and error. i suspect that something on the UI, like a dockpane, was showing information about the layer/table when the project was closed and is attempting to "re" initialize on the open.
... View more
08-01-2023
07:25 AM
|
0
|
3
|
3242
|
|
POST
|
Maps are persisted in the project. Use the project instead of the view. take a look at: https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Content#get-all-mapprojectitems-for-a-project and https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Content#get-a-specific-mapprojectitem Alternatively, u could delete the layers on the open of the project when the first view containing the map in question is opened.
... View more
07-29-2023
08:52 AM
|
1
|
1
|
3256
|
|
POST
|
yes. that is because the results and the search box are part of the same control. unless u write your own control that is how it will look
... View more
07-26-2023
10:52 AM
|
1
|
1
|
3175
|
|
POST
|
Move your scroll viewer to be around the locator control and set its Max Height to whatever is your max - eg 400. The Row height for the row containing your control _must be_ Auto not "*". last, I added an extra row with height="*" that is not used to force the dockpane view to "shrink" when the locator control has no content. <Grid.RowDefinitions>
<RowDefinition Height="Auto"/><!-- must be Auto -->
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" /><!-- extra row with "*" -->
</Grid.RowDefinitions>
<!-- move the scroll viewer. set its max height -->
<ScrollViewer Grid.Row="0" Margin="3" VerticalScrollBarVisibility="Auto" MaxHeight="400">
<mappingControls:LocatorControl>
<!-- etc, etc -->
</mappingControls:LocatorControl>
</ScrollViewer>
<Label Grid.Row="1" Margin="3" Content="" />
<StackPanel Grid.Row="2" Margin="6,2">
<RadioButton Margin="3,3" Content="" />
<RadioButton Margin="3,3" Content="" />
<RadioButton Margin="3,3" Content="" />
<Button Margin="0,20,3,3" HorizontalAlignment="Right" Command="{Binding SearchCommand}" Content="Search" Style="{DynamicResource Esri_Button}" />
</StackPanel>
</Grid>
... View more
07-26-2023
10:24 AM
|
0
|
1
|
3183
|
|
POST
|
usually, by default, Portal isnt shown - at least in my case on v3.1: OpenItemDialog itemDlg = new OpenItemDialog {
Title = "Open Files",
InitialLocation = @"E:\Data\Test",
MultiSelect = false
};
bool? ok = itemDlg.ShowDialog(); if u do _not_ set a filter on the dialog then, by default, on construction, the itemDlg.Filters property shld be set to "esri_browseDialogFilters_gp_all" which excludes the portal "Node" by default.... However, if u need to force the Portal node to not show (because it is showing for some reason) then u can add an explicit "Exclude" to a browse filter: BrowseProjectFilter bdf = new BrowseProjectFilter();
bdf.Name = "All files (*.*)";
bdf.BrowsingFilesMode = true;
bdf.FileExtension = "*.*";
bdf.Includes.Add(@"FolderConnection");
//Does not display Online places in the browse dialog
bdf.Excludes.Add(@"esri_browsePlaces_Online");
bdf.BrowsingFilesMode = true;
OpenItemDialog itemDlg = new OpenItemDialog {
Title = "Open Files",
InitialLocation = @"E:\Data\Test",
MultiSelect = false,
BrowseFilter = bdf
};
bool? ok = itemDlg.ShowDialog(); As the default filters usually exclude the Portal node, if you need to _add_ the portal Node, then construct a browse filter that does _not_ exclude it like so: BrowseProjectFilter bdf = new BrowseProjectFilter();
bdf.Name = "All files (*.*)";
bdf.BrowsingFilesMode = true;
bdf.FileExtension = "*.*";
bdf.Includes.Add(@"FolderConnection");
bdf.BrowsingFilesMode = true;
//Do not exclude online places
//"Exclude" of Online places has been removed...
OpenItemDialog itemDlg = new OpenItemDialog {
Title = "Open Files",
InitialLocation = @"E:\Data\Test",
MultiSelect = false,
BrowseFilter = bdf
};
bool? ok = itemDlg.ShowDialog();
... View more
07-25-2023
04:37 PM
|
1
|
1
|
1340
|
|
POST
|
if Host.Initialize is successful (no exception) then the issue is with your code. place a try catch around your code to capture the exception. that is where i would start.
... View more
07-24-2023
09:23 AM
|
2
|
1
|
2748
|
|
POST
|
LayoutView.Active.Layout.RefreshMapSeries(); https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic22447.html
... View more
07-18-2023
11:51 AM
|
0
|
0
|
1195
|
|
POST
|
Consult https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Editing#customizing-the-attributes-dockpane example: https://esri.github.io/arcgis-pro-sdk/techsessions/2023/PalmSprings/Plenary/ParcelFrabricMisclosures.zip
... View more
07-18-2023
11:42 AM
|
1
|
2
|
1639
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-19-2026 10:29 AM | |
| 1 | 04-29-2026 02:06 PM | |
| 1 | 01-08-2026 02:03 PM | |
| 1 | 01-08-2026 02:15 PM | |
| 3 | 12-17-2025 11:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
4 weeks ago
|