|
POST
|
Hi Andres The two things to watch for while adding a custom image to a button is: The direction of the folder slash you specify for the png in the daml. The png file's BuildAction property specified in Visual Studio should be "AddInContent" and not Resource. There is a ProGuide Diagnosing ArcGIS Pro Add ins that discusses this. Check out the Image does not load on a Button control topic on this guide. Thanks Uma Harano ArcGIS Desktop SDK team
... View more
12-09-2016
12:07 PM
|
2
|
1
|
3465
|
|
POST
|
Hi Benoit The Layer Pop up sample does exactly what you mention - you will be able to customize the default pop-up displayed by the explore tool. Additionally, the pdf I listed in the previous post explains Layer pop-ups in Pro. Thanks - Uma
... View more
11-29-2016
01:39 PM
|
0
|
1
|
1638
|
|
POST
|
Hi Benoit Additionally, I have listed a video and a powerpoint from Dev Summit 2016 and User Conference 2016 that covered these topics: http://www.esri.com/videos/watch?videoid=5045&channelid=LegacyVideo&isLegacy=true&title=arcgis-pro-sdk-for-.net:-animation-and-map-exploration http://proceedings.esri.com/library/userconf/proc16/tech-workshops/tw_1853-255.pdf We will probably be covering these topics in the Esri Developer Summit 2017 at Palm Springs also Thanks! Uma Harano
... View more
11-29-2016
11:24 AM
|
1
|
0
|
1638
|
|
POST
|
Hi Benoit You can check out the following two samples in the arcgis-pro-sdk-community-samples repository to see how you can make Custom pop ups and Layer pop ups: arcgis-pro-sdk-community-samples/Map-Exploration/CustomPopup at master · Esri/arcgis-pro-sdk-community-samples · GitHub arcgis-pro-sdk-community-samples/Map-Exploration/LayerPopups at master · Esri/arcgis-pro-sdk-community-samples · GitHub Thanks Uma Harano ArcGIS Desktop SDK Team
... View more
11-29-2016
11:21 AM
|
0
|
3
|
1638
|
|
POST
|
Hi Issa, Here is the link: arcgis-pro-sdk-community-samples/Map-Exploration/CustomIdentify at master · Esri/arcgis-pro-sdk-community-samples · GitH…
... View more
10-30-2016
04:21 PM
|
1
|
0
|
1330
|
|
POST
|
Hi Rich You can see a list of all these commands on this page: Button DAML ID Reference · Esri/arcgis-pro-sdk Wiki · GitHub Thanks Uma Harano ArcGIS Desktop SDK team
... View more
10-20-2016
02:14 PM
|
1
|
0
|
2311
|
|
POST
|
Hi Collin Here is a sample that contains three different examples of working with Pro's graphic overlay: https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Exploration/OverlayExamples There are also some code snippets available here: https://github.com/ArcGIS/arcgis-pro-sdk/wiki/ProSnippets-MapExploration#graphic-overlay Thanks Uma Harano ArcGIS Desktop SDK Team.
... View more
10-14-2016
01:37 PM
|
2
|
0
|
698
|
|
POST
|
Hi JB, Creations\Modifications of a geodatabase are supported through the Geoprocessing API by using the Data Management tools. The FAQ section has more information on this. Thanks Uma Harano ArcGIS Desktop SDK Team.
... View more
10-10-2016
08:58 AM
|
0
|
0
|
1890
|
|
POST
|
Hi Karl, At 1.3 you can control the order by which your add-in is loaded by ArcGIS Pro using the "id" attribute of your Add-in (from the config.daml). For Example: "Add-In#1" has an id attribute declared in the config.daml as {c1a60c8f-2f6f-4198-a5d6-ea964ebf678c}. Add-In#2 has an id of {0d9f5aca-097b-4e49-9e44-505a61b99308}. Snippet from config.daml given below: <AddInInfo id="{c1a60c8f-2f6f-4198-a5d6-ea964ebf678c}" version="1.0" desktopVersion ... and <AddInInfo id="{0d9f5aca-097b-4e49-9e44-505a61b99308}" version="1.0" desktopVersion ... Pro will load Add-In#2 with GUID 0d9f5aca.. first followed by Add-In#1 with GUID c1a60c8f.. (Alphabetically sequenced). So Add-In# 1 can modify UI elements declared in Add-In#2. At 1.4, you will be able to control this better with a "Dependency" tag in the config.daml. Thanks Uma Harano ArcGIS Desktop SDK Team
... View more
09-26-2016
06:17 PM
|
0
|
0
|
1086
|
|
POST
|
Hi Horia You can use existing ArcGIS Pro commands in your own add-in by using the FrameworkApplication class' GetPlugInWrapper method. There are a few samples that shows you how to do this: Hook Pro Commands sample. Identify Window sample Thanks Uma
... View more
07-05-2016
11:10 AM
|
1
|
0
|
1101
|
|
POST
|
Hi Luke The "condition" attribute of the dockpane element in the config.daml is deprecated. It cannot be used to control the visibility of the controls inside the dockpane. Thanks Uma Harano
... View more
07-05-2016
09:36 AM
|
0
|
3
|
1979
|
|
POST
|
Hi Luke I have passed on your findings to the Framework team - I don't have estimate as to when it will be fixed. I will keep you posted. Thanks Uma
... View more
06-29-2016
02:40 PM
|
0
|
1
|
802
|
|
POST
|
Hi Luke To hide the controls in your dockpane, you can bind them in the xaml to a Visibility property in your dockpane. Toggle the visibility property based on your state activation\deactivation code. Here is a sample: dockpaneViewModel vm = FrameworkApplication.DockPaneManager.Find("viewmodel_id") as dockpaneViewModel ;
if (criteria)
{
//activate state
FrameworkApplication.State.Activate(StateId); //Activates the custom state when the context is set.
if (vm != null)
{
vm.DockpaneVisible = Visibility.Visible;
.....
}
}
else
{
FrameworkApplication.State.Deactivate(StateId);
if (vm != null)
vm.DockpaneVisible = Visibility.Collapsed;
} Thanks Uma Harano ArcGIS Desktop SDK Team
... View more
06-27-2016
09:14 AM
|
0
|
2
|
1979
|
|
POST
|
Hi Ted You can read and write the Project's settings using these two overrides on the module class - OnWriteSettingsAsync and OnReadSettingAsync. There is a sample in the arcgis-pro-sdk-community-samples repository that demonstrates this. Thanks Uma Harano
... View more
06-15-2016
09:09 AM
|
0
|
0
|
550
|
|
POST
|
Hi Ted, Here is a way to customize the disabedText property of a button\tool: * Set the tool's loadOnClick attribute to "false" in the config.daml. This will allow the tool to be created when Pro launches. This way the disabledText property can display customized text at startup. * Remove the "condition" attribute from the tool. You will be using the OnUpdate method to set the enable\disable state of the tool. * Add the OnUpdate method to the tool. The code for it will be something like this: protected override void OnUpdate()
{
bool enableSate = true; //TODO: Code your enabled state
bool criteria1 = true; //TODO: Evaluate criteria for disabledText
bool criteria2 = false; //TODO: Evaluate criteria
bool criteria3 = true; //TODO: Evaluate criteria
if (enableSate)
{
this.Enabled = true; //tool is enabled
}
else
{
this.Enabled = false; //tool is disabled
//customize your disabledText here
if (criteria1)
this.DisabledTooltip = "Missing criteria 1";
else if (criteria2)
this.DisabledTooltip = "Missing criteria 2";
else if (criteria3)
this.DisabledTooltip = "Missing criteria 3";
}
} Note: since OnUpdate is called very frequently, you should avoid lengthy operations in this method as this would reduce the responsiveness of the application user interface. Thanks Uma Harano ArcGIS Desktop SDK Team
... View more
04-29-2016
02:01 PM
|
0
|
0
|
667
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-18-2025 03:09 PM | |
| 1 | 11-04-2025 08:25 AM | |
| 1 | 09-23-2025 09:31 AM | |
| 1 | 11-20-2024 10:50 AM | |
| 1 | 04-28-2025 03:06 PM |
| Online Status |
Online
|
| Date Last Visited |
35m ago
|