POST
|
So I have run into all kinds of variations of issues with Layout templates (pagx) after upgrades. it doesn't matter if you're upgrading the client (ArcGIS Pro) or ArcGIS Server. Any geoprocessing services working with the PAGX will suddenly bomb. After trying to code around this in arcpy where all the sudden things we're spitting up errors - layer types start behaving differently or no longer have certain properties, and failing to find useful, comprehensible or accurate documentation for CIM (Cartographic Information Model) to exploit , I just decided to lie and cheat. Export your PAGX from Pro, open it up as XML in any IDE and switch the version at the very top from 3.1.x or whatever you're using to 2.7.0 or whatever the last version was that you were successfully using. Then save. "type" : "CIMLayoutDocument",
"version" : "2.7.0", Chances are things will miraculously start working, begging the question why this all has to depend on some CIM version. I find it impossible to keep up with ESRI releases these days, and am resigned to the fact they usually break as much as they fix. So, staying on a somewhat stable release for as long as possible has become a means of survival for me. If that sometimes requires desperate measures, so be it.
... View more
02-09-2024
05:18 PM
|
0
|
0
|
115
|
POST
|
Hey ESRI... any update on this? I don't know how you go from working products to broken products all the time. Installed 1.12 after enrolling in one of your EB classes. Now I upgrade to 1.13, and can't even finish the install/setup...so back to 1.12. This vicious cycle Bug/Bugfix/Bug is really the most annoying aspect of my job.
... View more
02-07-2024
05:15 PM
|
0
|
0
|
251
|
POST
|
@GrantDickins_OX2 Saw this while scouring the forums for 3.1 issues before upgrading... I bet you could script that import/export for all your layouts with arcpy. Say here this functionality was added in 2.6 but of course, I can't find any examples of it. So maybe it's not possible after all.😂
... View more
03-29-2023
06:40 AM
|
0
|
0
|
1138
|
POST
|
Sorry, Mike. I moved on to 10.9 and have no insights to share for 10.8. Luckily, there is now Enterprise 11 if you're feeling adventurous.
... View more
02-14-2023
11:37 AM
|
0
|
1
|
2146
|
POST
|
@AyanPalit - thanks for the reply. I am familiar with installing silently or as packages. I was just wondering what good the info re: the BuildNumber is if 2.9.4 and 2.9.6 get logged as the same Build. There is nothing in your first screenshot that tells me that this is 2.9.6. Appreciate you chiming in.
... View more
02-01-2023
02:52 PM
|
0
|
0
|
719
|
POST
|
Is there a way to capture the version or full build number of ArcGIS Pro during install? Currently the build number does not help identify the actual version. Example: ArcGIS Pro gets upgraded from 2.9.x to 2.9.6 but in Windows (Apps/Features) it still shows up as Build 2.9.32739, without a version. Makes it really hard to monitor what versions are installed across a large number of machines with things like SCCM. Only work-around is by script and grabbing the version from arcpy.GetInstallInfo() rather than the Build Number. But why doesn't a combination of both get captured? Registry shows: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\ArcGISPro\Updates\2.9_0_6:
Name: ArcGIS Pro 2.9 Patch 6 (2.9.6)
... View more
02-01-2023
11:29 AM
|
0
|
3
|
773
|
POST
|
Sweet! Thanks, @JamesGough ! Putting all the parameters in the body was the part I was not doing. @JamesGough wrote: ....you need to ....include all of the parameters in the body instead of query string. Learned something new I should've probably already known. Have a great day!
... View more
01-09-2023
01:24 PM
|
1
|
0
|
1163
|
POST
|
Trying to do a little more with ArcGIS Server logs. So I want access them programmatically. Using FME to connect to my server/admin page for generating tokens: myserver.domain:6443/arcgis/admin/generateToken This is where I can grab a token manually in the browser. I can then plug that token as parameter in the query using FME (HTTP Caller) and - boom - I'm talking to ArcGIS Server. But when I try to hit the above endpoint with a POST in FME (HTTP Caller) directly to get a token that way, I cannot get ArcGIS Server to send me one. All I get are errors. Other parameters I use (per instructions here) are: client : requestip
f : json and headers: Content-type : application/x-www-form-urlencoded
Accept : text/plain Putting username/password in the body, it cannot be found. If I put it in the query, I get a ""POST request should not contain username and password in the query string." Am I doing this wrong, or could this be related to BUG-000129762. it's unclear to me in the bug description if it's a Portal or AGOL issue. But since I'm on 10.9 and the bug references a 10.9.1 fix, I'm wondering.
... View more
01-09-2023
10:14 AM
|
0
|
2
|
1182
|
POST
|
Thanks, guys! @ReneRubalcava - well, "search-complete" is the one I'm having trouble with. 😁 @JoelBennett - Thank you! I understood the view property... but since I have my code spread over multiple JS files and am passing view into a function that sets up the Search(), your comment had me take another look and if I pass in a document.getElementById('viewDiv')... it works! I wasn't seeing the forest for the trees! I can sleep soundly now. Thanks!
... View more
12-06-2022
06:48 PM
|
0
|
0
|
806
|
POST
|
Thanks for chiming in, Rene! I find myself in good hands then!! 😀 I'm trying to replicate what I was doing in 3.x although the events seemed to have changed. I want to display the suggestions and then when you select one (click on it), I want to grab that record from the event. From what I can tell, I was using "search-results" in 3.x with WebAppBuilder. That seems to have been dropped in favor of "search-complete"? Don't have my code in a form that I can readily copy paste into CodePen. That would take some stripping down. What I find is that I can get Search() to work in a minimal app with just a Search widget. So it's not related to the service I'm searching or browser etc. What I'm doing is putting the Search widget inside another DOM element that I'm adding to view.ui. That all works great and I get a widget and suggestions. So I see those other events triggered. (I took each documented event and tried to catch it. ) I suspect that the event handler tied to the <li> item in the <ul> of suggestions is messed up because of some CSS changes I made to arrange the Search window. Don't know what change that is specifically. But that's the only difference besides Search being wrapped in another HTML element that I can think of. So I would love to know how I can confirm this and find a work-around. Of course, the error referencing some minified code doesn't help.
... View more
12-06-2022
04:27 PM
|
0
|
1
|
821
|
POST
|
In the process of migrating an app I had built using JSAPI 3.x to 4.x. Trying to understand why my 'Search' widget shows following events for character as I enter them... "search-focus" "suggest-start" "suggest_complete" Until I hit my "minCharaters" of 3 suggestion configured in the "SearchSources" and suggestions are displayed. When I now click on one of the suggestions, I get events: "search-blur" "search-focus" "search-start" But I never see a "search-complete" that would allow me to grab the selected records and its attributes. Instead I get an error: Search.js:15 Uncaught TypeError: Cannot read properties of undefined (reading 'remove')
at N.clearGraphics (Search.js:15:492)
at N.search (Search.js:16:88)
at D.search (Search.js:147:168)
at D._handleSuggestionClick (Search.js:169:123)
at Object.handleInterceptedEvent ((index):2486:380)
at HTMLLIElement.<anonymous> ((index):2502:456) Since this looks graphics related, I made sure that I have resultGraphicEnabled: false, in my Search() configuration. I had some custom CSS to tweak where this widget lives. But I rolled that back also and it seems to not have fixed things. Any idea what might be going on here and why I'm seeing this graphics error? Thanks.
... View more
12-06-2022
02:34 PM
|
0
|
5
|
847
|
POST
|
Hey there - Sorry to hear about your issues. The only thing that worked for me was to skip 10.8.x altogether and go to 10.9. What I set up in 10.6 failed in 10.8.1. In 10.9, I could use everything, no tweaks or configuration changes needed. To me this had to be a bug in 10.8.1 but I don't have time in my life to jump through all the hoops of logging or discussing bugs with ESRI. Haha. So I just went to the next version and never had another issue. The big sleeping dragon nightmare of mine is now having to upgrade again one day. Good luck to you. I'd say just go to 10.9.
... View more
09-16-2022
03:45 PM
|
0
|
3
|
2716
|
POST
|
Will be cross-posting here and on FME community. But this may be more of an ESRIish question. I have an FME process that uses the SPROC's for versioned editing with the .evw views inside an FME SQL Executor... -- Change to the FME version
EXEC sde.set_current_version 'myFMEversion';
EXEC sde.edit_version 'myFMEversion', 1;
-- DO MY THING HERE
EXEC sde.edit_version 'myFMEversion', 2; This has been working great in one database and running in FME Server under a service account. Now, when I try and use it in another database, after creating a 'Public' version called 'myFMEversion', I can run it in FME Desktop successfully where I'm Admin on that DB. But when I run it in server which uses the service account, it fails with this error: 360 | Microsoft SQL Server Non-Spatial Reader: Query failed, possibly due to a
malformed statement. Query Text `-- Change to the FME version
361 | EXEC dbo.set_current_version 'myFMEversion''. Provider error `(-2147217900)
Version myFMEversion not found.'
362 | A fatal error has occurred. Check the logfile above for details 'Version Not Found'? -- So it looks like the service account hasn't been granted the proper SQL privileges to use the stored procedures in my new DB. But what privileges are needed? Old and new DB's both have the version as 'Public' and owned by 'DBO'. FME post - https://community.safe.com/s/question/0D54Q00009YnyOvSAJ/versioned-sde-editing-in-sql-server-using-fme-desktopserver
... View more
06-01-2022
01:29 PM
|
0
|
2
|
687
|
POST
|
There is only a filter in the ArcGIS Pro project that defines this service. But this filter applies to all features in that service. Some show up, some don't. Essentially it's a yes/no column that can be flipped in Field Maps. Once the value goes from yes => no, the feature drops off the map (filter becomes effective). But some with "yes" that should show don't show up. I see them when opening the web map in Portal and I see them in the Pro project. Must be a bug.
... View more
05-24-2022
11:06 AM
|
0
|
0
|
395
|
Title | Kudos | Posted |
---|---|---|
1 | 10-11-2019 10:59 AM | |
1 | 12-10-2019 02:49 PM | |
1 | 06-18-2020 06:24 AM | |
1 | 01-09-2023 01:24 PM | |
1 | 01-09-2020 03:26 PM |
Online Status |
Offline
|
Date Last Visited |
a week ago
|