|
POST
|
I have a custom shared add-in, it works for several users of the computer, but for one user the add-in is grayed out and shows 'missing type'. This implies the end users profile is corrupt or has an error. What folders should I delete to remove the cashed shared add-in from the users profile so it is forced to "redownload" the content? Rich
... View more
01-08-2025
04:28 PM
|
0
|
4
|
1252
|
|
POST
|
Version number only uses 3 places (3.3.2), the 4th is ignored or, perhaps, throws an error.
... View more
01-08-2025
04:22 PM
|
0
|
1
|
653
|
|
POST
|
ArcGIS Pro 3.3. requires Microsoft .Net Desktop Runtime 8.0.X to run. ArcGIS Pro 3.2 required Microsoft .Net Desktop Runtime 6.0.X (which has reached end-of-life).
... View more
12-20-2024
10:46 AM
|
0
|
0
|
1696
|
|
POST
|
On Windows 11 there is a new Efficiency Mode that lowers the priority of the ArcGISPro.exe in Task Manager. This reduces performance and may cause Pro to Hang on Exit. To fix this issue I updated the degraded performance for ArcGISPro.exe I update the ArcGIS Pro shortcut Target to: "C:\Program Files\ArcGIS\Pro\bin\ArcGISPro.exe" --disable-features=UseEcoQoSForBackgroundProcess This same pattern appears to work for a shortcut for to ANY .exe (e.g., works for your Chrome and Edge shortcuts).
... View more
12-18-2024
12:53 PM
|
3
|
0
|
693
|
|
IDEA
|
Windows 11 has initiated a default 'Efficiency' mode for all .exe tasks. This lowers the priority of the .exe in task managers and slows performance. When Closing ArcGIS Pro without a project this can result in ArcGIS Pro hanging for several minutes on Close. To avoid this recommend ESRI update the Target for the ArcGIS Pro shortcut as follows: "C:\Program Files\ArcGIS\Pro\bin\ArcGISPro.exe" --disable-features=UseEcoQoSForBackgroundProcess This same pattern appears to work for a shortcut for to ANY .exe (e.g., works for your Chrome and Edge shortcuts).
... View more
12-18-2024
12:50 PM
|
5
|
2
|
1253
|
|
POST
|
For effective licensing you would need to provide a license key file to each customer. This key file would be placed at a well known location to your add-in. On startup of the add-in the file would be read, if missing or invalid go into demonstration mode; If found read the key and validate (e.g., the most effective would be to send to a web server (as an API call) to validate the key exists and has not expired). The key would need to be encrypted. You could also place a date in the key file to allow timeout after D days, M months, or Y years. Main idea is you will need a way to validate the key exists and is valid. You can add additional verification checks by having your customer provide a user name and/or a domain name were the license will be considered valid when they make the purchase. See: System.DirectoryServices.ActiveDirectory<> for domain or string userName = Environment.UserName for user name.
... View more
08-29-2024
04:24 PM
|
0
|
0
|
1095
|
|
POST
|
You can also do something like this that would give you easy access to Query to the table. For example, there is a Select method that Searches and retrieves specific rows in this Table that satisfy the criteria set in the queryFilter. If no query filter is set, all rows will be retrieved. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Core.Data.Table) // You can open a FeatureClass as a Table which will give you a Table Reference. using (Table featureClassAsTable = geodatabase.OpenDataset<Table>("LocalGovernment.GDB.AddressPoint"))
{
// But it is really a FeatureClass object. FeatureClass featureClassOpenedAsTable = featureClassAsTable as FeatureClass;
} Also, recall that you are using CODE this means you could open the table using standard ODBC connectors (especially if the feature class is stored in SQL).
... View more
06-17-2024
09:39 AM
|
0
|
0
|
1283
|
|
POST
|
Yes. The GUID of your add-in will control the ‘order’ the tools are added to the toolbar. For example, project with GUID {8e190f33-95f2-4249-ae7d-bcfa45a44e72} will be Loaded before project {e1f4eeee-e695-4fab-b358-1f0fd8006c0b}. Your DAML would look something like this: <modules> <insertModule id="MapAnSRLocation_Module" className="MapAnSRLocationTool" autoLoad="false" caption="MapAnSRLocationTool"> <!-- uncomment to have the control hosted on a separate tab--> <tabs> <!--<tab id="MapAnSRLocation_Tab1" caption="New Tab"> <group refID="MapAnSRLocation_Group1"/> </tab>--> </tabs> <groups> <!-- comment this out if you have no controls on the Addin tab to avoid an empty group--> <group id="GISWorkbenchPro_Group3" caption="Add-In Tools" appearsOnAddInTab="false" keytip="Tool"> <!-- host controls within groups --> <tool refID="MapAnSRLocationTool_BasicMapTool" size="large" /> <button refID="MapAnSRLocation_Button1" size="large" /> </group> </groups> <controls> <!-- add your controls here --> <button id="MapAnSRLocation_Button1" caption="Map an SR" className="MapAnSRLocation" loadOnClick="true" smallImage="Images\FindRouteLocation16.png" largeImage="Images\FindRouteLocation32.png" condition="esri_mapping_mapPane" keytip="T2"> <tooltip heading="Map an SR">Find State Route Location<disabledText /></tooltip> </button> </controls> </insertModule> <!-- This adds the custom tool to an existing Tab and places it 'after' the tools already on the tab --> <updateModule refID="GISWorkbenchPro_Module"> <tabs> <updateTab refID="GISWorkbenchPro_WSDOT_Tab"> <insertGroup refID="GISWorkbenchPro_Group3" insert="after"></insertGroup> </updateTab> </tabs> </updateModule> </modules>
... View more
06-14-2024
10:18 AM
|
0
|
1
|
899
|
|
POST
|
The code shown above is designed to allow only one instance of the Form to be open at any given time. If you have a Close button on the form you could use form.hide to vs. form.close as well to ensure only one instance of the form is ever created.
... View more
05-28-2024
10:18 AM
|
0
|
1
|
1540
|
|
POST
|
In your implementation config.daml you set a className in the <button> tag. This is the class that is initiated when the button is clicked in the ArcGIS Pro tab. This class will have a OnClick() event that is fired each time you click the button on the interface. Assuming you are opening a Form you can catch the event something like this. //declare an instance of the Form you want to open public static GISWB_Main mainForm = new GISWB_Main(); protected override void OnClick() { var mapView = MapView.Active; //Only open the form if we have an map open if (mapView != null) { if (mainForm.getFormHandle() == null) { //do other things such as set the from name, version numbers, etc. that you want to dynamically update before opening the form for the 1st time. mainForm.setFormHandle(mainForm); mainForm.Show() } else { mainForm.Show(); } } } The below items would be in the class definition (not in the Form) public void setFormHandle(Form theForm) { theMainForm = theForm; } public Form getFormHandle() { return theMainForm; }
... View more
05-28-2024
10:15 AM
|
0
|
0
|
1540
|
|
POST
|
Recall there were several breaking changes between 2.8 and 3.1 versions of ArcGIS Pro. I would start by looking at your.Net dependencies in Visual Studio since Pro 3 requires .Net Desktop Runtime 6.0.9 or higher while 2.8 ran under .Net 4.8. When you say, in my Add-Ins folder, are you sure this folder is set in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\ArcGISPro\Settings\Add-in Folders with a subkey with the path to the add-in? After a successful build I copy the Add-In to a well known location to Test. The folder name of the add-in use the GUID, and inthe folder is your .\images subfolder, myaddin.esriAddinX, myaddin.deps.json, myaddin.dll, myaddin.xml, etc.
... View more
05-13-2024
10:07 AM
|
0
|
0
|
1899
|
|
POST
|
In regards to the AddInfo line: <AddInInfo id="{6b41516a-b426-4b2c-9881-fa4148328d3a}" version="3.2" desktopVersion="3.2.0.49743"> The version sets the lowest level that the add-in will run in. In your case ArcGIS Pro 3.2 or higher will be required before the Add-In can load/run. The desktopVersion should represent the version that you did your Visual Studio build against. I see you are using the <dependency> tag, did you change any GUIDs? <dependencies>
<dependency name="{9466cc69-3fce-4774-8134-d94377460abd}" />
<!-- id of "DSM_Toolbar_ArcPro" -->
</dependencies>
... View more
05-13-2024
09:33 AM
|
1
|
0
|
1909
|
|
IDEA
|
Similar issue here, after a purchase is made, I must validate that the license, subscription, etc. has been 'received' prior to authorizing payment. However, within our ArcGIS Online subscription I was removed from the Administrator role (because I only logged in once a month to check licensing). So now there is no way to see if new subscriptions are successfully provisioned to our AGOL organization.
... View more
05-09-2024
10:52 AM
|
0
|
0
|
611
|
|
POST
|
Place to start is to ensure your Visual Studio 2022 is at version 17.8 or higher and that you have .Net 8 installed.
... View more
05-08-2024
10:31 AM
|
1
|
0
|
2088
|
|
IDEA
|
Thank you for updated the documentation. I would say that our issue was not a 'one-off', we have over 1800 machines in our environment with ArcGIS Pro and ArcGIS Desktop and it took several days to track down the correct version of .Net 6 to install.
... View more
05-08-2024
08:38 AM
|
0
|
0
|
4384
|
| Title | Kudos | Posted |
|---|---|---|
| 7 | 2 weeks ago | |
| 1 | 12-17-2025 12:46 PM | |
| 1 | 11-24-2025 01:43 PM | |
| 1 | 11-25-2025 09:49 AM | |
| 1 | 07-31-2025 08:54 AM |
| Online Status |
Online
|
| Date Last Visited |
2 hours ago
|