POST
|
Take a look at this... Create new field to calculate lat/lon in decimal degrees You may have to actually convert the UTM XY to LL's yourself.
... View more
3 weeks ago
|
0
|
0
|
43
|
POST
|
Doug, I've never used the OOTB Geoprocessing Widget for WAB but I've made extensive use of the JSAPI "esri/tasks/Geoprocessor" to get stuff from a web app into a custom GP or print service. If you're able to create a custom widget (pretty straight forward), you can pass in all kinds of info that way whether it's information about the current map status or user provided info via HTML inputs. Not sure what changes there are in 4.x versus 3.x as I'm just now in the process of migrating things. But if you're in WAB, you're using 3.x and that's what I used. If you already know all this, and it doesn't answer your question. then I apologize. Haha.
... View more
3 weeks ago
|
0
|
0
|
31
|
POST
|
Sorry only seeing this now. But it's been a few years and countless upgrades since. I know I got it to work eventually and suspect it must have been service account permissions or something like that. Sorry to not be of more help.
... View more
a month ago
|
0
|
0
|
120
|
POST
|
Anyone come across this lately? ExecuteError: ERROR 001426: Failed to retrieve the job status from hosted services.
Failed to execute (UploadServiceDefinition). I see some older posts (2019) but nothing more recent. Just spun up a new test environment for Enterprise 11.3. Trying to get some services published in batch via arcpy using Pro 3.3. Seems to all be working but I still end up with this error. When I check, I see it successfully created both an item in Portal and a service at REST endpoint for my federated server. So is this merely some timeout thing with status or something I need to investigate further? Weird thing is that the machine isn't actually configured as hosting machine as the error suggests.
... View more
11-19-2024
02:17 PM
|
0
|
0
|
95
|
POST
|
That's great, @ErikKjellman ! This is all completely crazy if you ask me. You can't be expected to re-publish everything when it's time to upgrade your Enterprise environment. But in fact, these freak issue with version inconsistency may end up being the sole reason for me to upgrade to Enterprise 11 at some point. Latest issue I had was that a Layout Template (PAGX) created in Pro 3.1 will not work with arcpy GP services in Enterprise 10.9.1. Unfortunately, I did not have a copy of the Pro project in an earlier version since it was a more recent effort. Simply fooling server by editing XML no longer worked either. But what did work was creating a PAGX in 3.1, then importing that in an install of Pro 2.7.4 and then exporting it as 2.7 from there. haha. Nuts, right? But it saved me hours! So, again, I ask: what is the purposes of embedding the version in the file?
... View more
08-21-2024
09:11 AM
|
0
|
0
|
405
|
POST
|
@UndralBatsukh Sorry about the late reply... how do I create the layer? @Arne_Gelfert wrote: Where does interesting_layer come from? I currently loop through webmap layers once view has loaded and assign some names to key layers I want to interact with later. var interesting_layer;
view.when(function() {
//The following is another simplified version of what's actually
//defined in another function elsewhere
webmap.layers.forEach(lyr => {
if (lyr.title == 'layer_of_interest')
{ interesting_layer = lyr }
}); So, it's actually a sublayer from the web map of type 'map-image'. I figured that would work. But maybe ESRI is throwing me another curveball. I'll take another look when I get a chance. Thanks for chiming in.
... View more
08-21-2024
09:04 AM
|
0
|
0
|
187
|
POST
|
Simple question(s) alert ! (Although some of you may find it vague or missing more detailed code. Unfortunately, I cannot paste all my code here.) Why would hitTest() only return basemap hits as a result when I have several layers in my map? Do layers from a webmap brought into your app as Portal item work differently from those that are added as layers (Featurelayer/MapImageLayer) via URL? I recently started transitioning from JSAPI 3.x (WAB-DE stuff) to 4.x (4.30) and might be stuck in some legacy way of thinking. When I do this: view.on("click", (event)=> {
view.hitTest(event).then((response) => {
// Hoping for some results from the layers in the map
// but response.results include only the basemap.
console.log(response.results.length) // = 1
});
}); When I try with options, and specifically list one of the layers in the map, I get the same result. view.on("click", (event)=> {
opts = { include: interesting_layer};
view.hitTest(event,opts).then((response) => {
//Hoping for some results from the layers in the map;
//But no!
console.log(response.results.length) // still = 1
});
}); Where does interesting_layer come from? I currently loop through webmap layers once view has loaded and assign some names to key layers I want to interact with later. var interesting_layer;
view.when(function() {
//The following is another simplified version of what's actually
//defined in another function elsewhere
webmap.layers.forEach(lyr => {
if (lyr.title == 'layer_of_interest')
{ interesting_layer = lyr }
});
... View more
08-13-2024
03:20 PM
|
0
|
2
|
274
|
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
|
821
|
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
|
854
|
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
|
1791
|
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
|
3185
|
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
|
1180
|
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
|
1234
|
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
|
1945
|
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
|
1964
|
Title | Kudos | Posted |
---|---|---|
1 | 03-05-2020 08:46 AM | |
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 |
Online Status |
Offline
|
Date Last Visited |
a week ago
|