|
POST
|
Update: IT was able to make it seem like the old server still exists somehow and that solved the issue. I'm still curious why ArcGIS Pro would stall out like it did with a missing server connection for layers as it did, compared to how it treats missing layer locations that are located on the current active server. I would think ArcGIS Pro would time out after a few seconds of not finding a link to a layer and just mark it with a red ! as it does normally with missing layer connections. Not sure why it takes hours to open up a project if the link is broken and just pointed to another non-existant server?
... View more
09-29-2023
06:30 AM
|
0
|
0
|
1428
|
|
POST
|
We have moved our local servers recently to a cloud based server and finally we have taken down the old local server. We have now run into issues with some Pro Projects unable to open in a timely fashion which we believe still have links to that old server. I found an older post that has helped some with ArcGIS Online maps https://community.esri.com/t5/arcgis-online-questions/old-server-hosted-file-stuck/m-p/365663, however ours are local ArcGIS Pro projects and not online. Is there any other way to fix broken links at all without waiting for hours for these projects to open up? I was expecting if there were any old links pointing to the old server, Pro would still open these projects up normally and just show the broken link icon on the layers that are broken, but unfortunatly, it's taking 4 or so hours to open some of them. The other option would be to see if IT is even able to restore the old server if it's not too late, but that may not be an option now... Thanks
... View more
09-26-2023
08:00 AM
|
1
|
2
|
1568
|
|
POST
|
I never noticed that, it's actually stating "Pending Edits" on both of them, but the right hand one works fine. Not even sure why it would say that as the table was just imported into a new map and then I just tried to display the XY. As a note, I also tested out on another map the "Make Route Event" from the shortcut and that actually worked. So it seems it's just with the Display XY Shortcut that I and coworkers are experiencing the issue with...
... View more
08-01-2023
01:50 PM
|
0
|
0
|
1916
|
|
POST
|
Well there are not any edits as this was one a coworkers computer and then I tried out a test on an imported table into a new map with nothing else in it. It might be as you stated, just the Geoprocessing version has more information than the shortcut does and that is why it fails...
... View more
08-01-2023
10:35 AM
|
0
|
0
|
1934
|
|
POST
|
I noticed at some point that there is now an option to <Right-Click> on an imported table into a map from say Access or Excel and chose the Display XY Data. This looks exactly the same as the one in ArcToolBox called XY Table to Point. I would think they would be the same thing. However, I keep getting an error when using it. It also shows that the process is the same as the one in ArcToolBox (XY Table to Point (Data Management Tools)). The process works fine if I use the one in ArcToolBox though. So my question is, should these two be the same process and if so, why is the menu version failing, while the ArcToolBox method works fine? Menu version on the left and ArcToolBox on the right for comparrison
... View more
08-01-2023
10:03 AM
|
1
|
4
|
1952
|
|
POST
|
Good to know there are other options like this then...
... View more
03-08-2023
05:32 AM
|
0
|
0
|
1843
|
|
POST
|
@Dan I guess that's all it is then, just a simplified version. I just never realized that until now when I needed the Python code, but like you said, I notice the Environment is also only in the Geoprocessing one as well. Guess I'll have to always keep that in mind with other functions that I use on the ribbon then, that I may be missing out on some features...
... View more
03-07-2023
09:26 AM
|
0
|
0
|
1882
|
|
POST
|
Is there a specifc reason that processes such as Select by Location or Selecty by Attributes, for example, allow you to copy the Python Code from the Run button if you use them through Toolbox, but that option isn't avaliable if you access these through the Map Tab on the Ribbon? I see they do have different ID's (example: esri_geoprocessing_selectByLocationButton and esri_geoprocessing_management_SelectLayerByLocation), but I would think they should be able to have the exact same functionality as each other, unless I'm missing something internally that there is a reason they aren't?
... View more
03-07-2023
08:48 AM
|
0
|
4
|
1895
|
|
POST
|
Yes, it now seems to work. I've just made a few adjustments to only bold the NAME if needed and never the other ones and it works as I originally wanted it. Thanks for that tutorial and guess I put your mind to work a bit too...
... View more
02-07-2023
08:48 AM
|
0
|
0
|
1726
|
|
POST
|
Well that seemed to solve that issue, but creates a new one now. I can often have just the WIDTH supplied without a NAME. This code won't display it if there is no NAME given. Also, if I add in a Route and not ALT_NAME, it duplicates the NAME field. This is one interesting things you're trying to solve here ha...
... View more
02-07-2023
07:59 AM
|
0
|
0
|
1729
|
|
POST
|
Very odd. So I have tried your code and I get it to work, all except when there is only the NAME being displayed. Then it fails with the '&' and prints out the following: "TEST & TEST" will show up as "TEST &: TRUE" Now if I add an ALT_NAME with or without the '&' it displays both perfectly fine. Or if I add a ROUTE or WIDTH (other than what is in the exclusion) it works perfectly fine. So just the NAME with the '&' fails. This is getting pretty close to the fix though. On another note, being on 3.0.3 myself. I did try with the <ITA> just to see if I get the same issues you did, and I am getting it working for me the exact way you used <BOL>. So odd you aren't getting that working like I am...
... View more
02-07-2023
05:43 AM
|
0
|
0
|
2778
|
|
POST
|
Yes that works the same with the code I just posted earlier and allows the use of the "&". The issue is that it won't allow me to work with Itallics or font changes and that was the issue. I can get away using the code I had, or the one you posted just fine, but I won't have the ability to work with that functionality. Again, it's more just visually appeasing, and not something I really need, but it would be nice to see if it could work with that sort of thing. Here's the example of what I added to your code for just the Width (note I had to rename your WIDTH1 to another name as some data comes in with a Width1 as the name, and searching replacing doesn't work as well like that.) so I just renamed it to WDTH_TMP if WDTH_TMP:
if str(WDTH_TMP).strip() not in (None,"<NULL>","<Null>","","0",0):
width_str = "<ITA>Width = {}'</ITA>".format(str(WDTH_TMP))
str_list.append(width_str) Here's the full code using your example and the itallics and font size changes where having a "&" in the name, still causes that issue displaying the code for itallics, etc as the original issue had. Removing those of course works fine, but I don't get this added visual possibilities is all... (I will be out on vacation for a week so after tomorrow, I'll repond and check out any other suggestions next week.)
... View more
02-06-2023
03:50 PM
|
0
|
0
|
2787
|
|
POST
|
Well for the Width the original code had if WDTH_TMP:
if str(WDTH_TMP).strip() not in ("<NULL>","<Null>","0","Varies"):
width_str = "<ITA>Width = {}'</ITA>".format(str(WDTH_TMP))
str_list.append(width_str) as I need to exclude 0 if it was a numeric field, or exclude text values that show up as "<NULL>, "0", "<Null>" and "Varies". These have been populated in the Width field if the Width was a text field and ones with those values, I didn't want to display at all as a lable if they contained those values...
... View more
02-06-2023
12:58 PM
|
0
|
0
|
2796
|
|
POST
|
Though the problem now is I can't exclude some of the text variables that might show up if that field is a Text rather than Numeric. I have gotten this version of the code to work without any issues. The only problem of course is the labeling features such as font size and Itallics aren't included, but I can deal with that as the "&' in the NAME or ALT_NAME is more important. Thanks for your help though on this again... def FindLabel([NAME],[ALT_NAME],[ROUTE],[WIDTH]):
str_list = []
if [NAME] not in (None, "<NULL>", "", "0"):
str_list.append([NAME])
if [ALT_NAME] not in (None,"<NULL>", "", "0"):
altname_str = '({})'.format([ALT_NAME])
str_list.append(altname_str)
if [ROUTE] not in (None,"<NULL>", "", "0"):
route_str = 'RT# {}'.format([ROUTE])
str_list.append(route_str)
if [WIDTH] not in (None, "<NULL>", "", "0"):
width_str = 'Width = {}'.format([WIDTH])
str_list.append(width_str)
label_str = '\n'.join(str_list)
return(label_str)
... View more
02-06-2023
09:45 AM
|
0
|
0
|
2804
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 12-05-2025 05:54 AM | |
| 2 | 12-11-2025 10:19 AM | |
| 2 | 12-11-2025 12:39 PM | |
| 2 | 12-04-2025 01:12 PM | |
| 6 | 11-17-2025 08:42 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-12-2026
07:12 AM
|