|
POST
|
On the fly projection is NEVER as accurate as using the Projection methods available within the ArcGIS Pro Data Management toolbox. If this is for a science project, consider using these more accurate methods to transform your data. Recommendation: find a BM or Survey Station on your NAD 27 map that still exists and then compare the 'projected' coordinates to the published National Geodetic Survey NAD 1983 coordinates for that same point. Note - if you are starting to look at submeter accuracy make sure to consider the transformation year in your error assessment (e.g., NAD 1983 != NAD1983(2011)).
... View more
02-21-2025
10:43 AM
|
0
|
0
|
1104
|
|
POST
|
To check Locate setting click the drop down carrot to see what you have enabled.
... View more
02-21-2025
10:37 AM
|
0
|
1
|
4081
|
|
POST
|
There are several Find and Locate tools available in ArcGIS Pro. However, if you are using the default Locate tool in the toolbox, it is dependent on a connection to ArcGIS Online. Also note there is a Locate and Layer Search option on the tool interface. If 'Layer Search' is selected it will only search the layers currently within your map If the Locate option is not working this means you do not have good network connection to the ArcGIS Online service providing the search capability.
... View more
02-21-2025
10:31 AM
|
0
|
3
|
4081
|
|
POST
|
I look forward to seeing 'how to turn on' ArcGIS for SharePoint app/web part for SharePoint 365/Online. Current Help and Installation pages do not clearly differentiation between the Add-In and Web Part options.
... View more
02-21-2025
09:41 AM
|
0
|
1
|
2014
|
|
POST
|
I had it set to false because Add-In loading can add +30 seconds to ArcGIS Pro startup. I resolved this by moving my long running code into an if block and introducing a first use check. This allowed me to set autoLoad="true" as recommended. private bool firstUse = true; protected override Task OnToolActivateAsync(bool active) { if (firstUse==true) { // do long running work only Once! firstUse = false; } return base.OnToolActivateAsync(active); }
... View more
02-20-2025
01:53 PM
|
0
|
0
|
3089
|
|
POST
|
It appears that custom developed SharePoint Add-Ins will be retired by April 2, 2026 and Microsoft is recommending migrating them to SharePoint Framework based solutions. Has/is ESRI's ArcGIS for SharePoint been updated to use the new SharePoint 365 framework for web parts?
... View more
02-20-2025
11:03 AM
|
0
|
3
|
2039
|
|
POST
|
I have an add-in that Should be enabled by default when my custom tab is open and there is an Active map. I would like to be able to programmatically disable the tool if there is an error (in my case I need to connect to a remote large feature class and want to disable the tool if the FC is unavailable or unreachable). As discussed in the documentation I've added a <conditions> tag after </AddInInfo> and a condition attributed to my <tool> but when I add the condition my tool is always disabled on first load. Here is the condition: <conditions> <insertCondition id="srview_condition"> <state id="srview_state" /> </insertCondition> </conditions> <controls> <!-- add your controls here --> <tool id="SRView4Pro_modSRView4Pro" caption="SR View for Pro" className="SRView4ProTool" keytip="T3" loadOnClick="true" smallImage="Images\SRViewButton16.png" largeImage="Images\SRViewButton32.png" condition="srview_condition"> <tooltip heading="SR View for Pro">Show SR View 3 images or Google StreetView from left mouse click.<disabledText /></tooltip> </tool> </controls> It looks like the condition is being set to Deactivated by default so the tool is never available to be run. In the Initialize event I added .Activate but I don't think this Event is actually RUN. Ideas? Code Attached.
... View more
02-20-2025
09:49 AM
|
0
|
5
|
3123
|
|
POST
|
Also, I've never seen Encrypt=Mandatory as shown in your top photo. This would imply that you have Trusted Certificates installed on all servers. Can you change that to yes or no?
... View more
02-20-2025
08:43 AM
|
0
|
0
|
2098
|
|
POST
|
Have you tried with Encrypt=no? Previous to ArcGIS Pro 3.2 and ODBC 17.09 the default for this was no or false. With the upgrade to ArcGIS Pro 3.3 and ODBC 17.10 and higher the default is now yes or true. Also if you have a connecting string stored in a config file or settings check other attributes since there names may have changed. For example, old connection string to SQL: Data Source=<server name>;Initial Catalog=<database name> Security Info=True;User ID=<user_id>;Password=<password>;TrustServerCertificate=true</Value> </Setting> New Format: Server=<server_name>;Database=<db_name>;PersistSecurityInfo=true;UID=<user_id>;Password=<password>;TrustServerCertificate=true;Encrypt=false
... View more
02-20-2025
08:37 AM
|
0
|
0
|
2098
|
|
POST
|
For filenames used with a datafactory constructor they often support wildcard characters that support the addition of incremental numbers on a filename. Other option is to add code to delete temp files before each run.
... View more
02-13-2025
11:19 PM
|
0
|
0
|
3117
|
|
POST
|
I have an add-in that is throwing an exception that then crashes the ArcGIS Pro application. I have several try catch blocks but the error still bubbles up to the application. What is the recommend place to add code to protect the Pro application from an exception?
... View more
02-13-2025
11:07 PM
|
0
|
4
|
1391
|
|
POST
|
If you are trying to do this in Code for a Add-In, to set the wait cursor for the Application while waiting for a long running process to complete use the following: FrameworkApplication.Current.MainWindow.Cursor = System.Windows.Input.Cursors.Wait; Application.UseWaitCursor = true; frmLoading.Show(); <--this is just a simple form telling the user Why they are waiting. MyrLongRunningProcess(); frmLoading.Close(); Application.UseWaitCursor = false; FrameworkApplication.Current.MainWindow.Cursor = System.Windows.Input.Cursors.Arrow;
... View more
02-06-2025
01:23 PM
|
0
|
0
|
2219
|
|
POST
|
Also, if you setup your test environment as described above, but it looks like 'the old code' keeps running, remember to CLEAR your Cache at C:\Users\<UserName>\AppData\Local\ESRI\ArcGISPro\AssemblyCache
... View more
02-05-2025
10:12 AM
|
0
|
1
|
4845
|
|
POST
|
Since you are talking about Development in Visual Studio, it sounds like you need to setup your debug environment to launch and run ArcGIS Pro. Using the debug environment gives you the ability to do 'hot reload' of code so you can edit 'most' forms and modules without restarting ArcGIS Pro, secondly recall that you need to update the config.daml <Date>02/04/2025 10:45:00 AM</Date> tag every time you rebuild and deploy your add-in. In Visual Studio you need to setup you test environment. In your .\properties folder in your project you should have a launchSettings.json file with the following: { "profiles": { "NameOfYourAddIn": { "commandName": "Executable", "executablePath": "C:\\Program Files\\ArcGIS\\Pro\\bin\\ArcGISPro.exe", "commandLineArgs": "" } } } This can be SET in Visual Studio with Project Properties -> Debug -> Open Debug Launch Profiles -> New Profile -> Executable.
... View more
02-05-2025
10:00 AM
|
0
|
0
|
4845
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 1 | a month ago | |
| 2 | 4 weeks ago | |
| 1 | 10-01-2025 09:00 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|