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
|
2391
|
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
|
4465
|
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
|
1773
|
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
|
1827
|
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
|
2721
|
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
|
2740
|
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
|
2163
|
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
|
2178
|
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
|
2204
|
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
|
5035
|
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
|
1333
|
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
|
1029
|
POST
|
Just getting started with Field Maps. I have a simple webmap (a handful of layers) in ArcGIS Portal (10.9) that is accessible from field maps app running on my iphone. One of the layers is based on an editable feature service running on a federated ArcGIS Server (10.9). For this layer, I am not seeing all the features/records in Field Maps that I can see in Portal and that should be visible. I can see and query them in ArcGIS Server just fine though. Since I can SOME features this isn't a permissions issue. Any ideas what might be going on here? Thanks
... View more
05-24-2022
08:58 AM
|
0
|
3
|
1066
|
POST
|
Thanks @BrianLeroux for chiming in. I've changed the default widget size before although not in opOpen(). But I meant would look more like this: I have my custom widget and via button click or whatever event, I pop open a new div - kinda like a menu that opens from a menu bar. Pretty simple, I figured.
... View more
03-31-2022
12:03 PM
|
0
|
0
|
533
|
Title | Kudos | Posted |
---|---|---|
1 | 08-16-2025 07:32 AM | |
1 | 02-09-2024 05:18 PM | |
1 | 02-04-2025 09:27 AM | |
1 | 03-22-2019 10:55 AM | |
1 | 03-05-2020 08:46 AM |
Online Status |
Offline
|
Date Last Visited |
Wednesday
|