POST
|
Hi @SushilPradhan2 So far not yet, still just clicking refresh when it happens... If you track it down, please post. Thanks!
... View more
Thursday
|
0
|
0
|
20
|
POST
|
Hi, Thanks for posting back the 'compatibility issue' update. It helped me resolve the same error message. My issue was a tiny bit deeper, I'm including the details here incase it helps anyone else out: Publish enterprise geodatabase layers from Pro 3.1 to Portal/Server 10.9.1 failed with ERROR 001487... Installed a Pro 2.9 version per this thread, loaded the layers into a map... one of the layers failed to add to the map in this version of Pro with 'Attribute conversion error'... ah hah... Narrowed it down to a SQLServer 'date' type column in the layer which is a 'geodatabase registered view'. Oddly the table with the column will load into the map fine and the view will load into map fine if it's NOT registered with the geodatabase, but once you register the view with the geodatabase ... no good. ....That's what I get for trying to follow the rules 🙂 Apparently that column type is supported correctly at 3.x/11.x. Server 10.9x reported 'couldn't find the layer make sure it exists' but really meant 'can't load the layer b/c of the unsupported data type' I don't think it's emphasized enough that if you're a 'service publisher', it's an absolute must to maintain the matching version of Pro and Server and you should definitely turn off that auto upgrade popup. We've been running into constant issues in our publishing workflows b/c someone followed thru on the 'Would you like to upgrade?'. Even minor updates 3.1 -> 3.3 have caused issues... Again thanks for posting... this could have been an 'all day headache' if you hadn't ...
... View more
06-27-2024
11:11 AM
|
0
|
0
|
87
|
POST
|
Hi All, Got a portal issue that came up recently, not sure what we tweaked that caused the issue but ... login to the portal using a built-in account web page hangs up on the "vertical bars loading image" on the url: {host}/portal/home/accountswitcher-callback.html?{yada} edit url to the main portal home and portal loads with the account logged in So it seems like login is successful but something in the javascript running the accountswitcher-callback.html is failing to complete. No error in the dev tools console. Network requests all look good. Any thoughts on what might be hanging it up? Thanks
... View more
06-19-2024
01:20 PM
|
1
|
2
|
259
|
POST
|
Hello, Has anyone been able to embed a dashboard into another web page app and get it to successfully load without the user having to login to both the parent app and the IFRAME dashboard? Scenario: Custom JSAPI application with an IFRAME for a dashboard. All content is 'private-group shared' and the user logs in on the parent web app with standard esri oauth. Maps and layers in the parent page will load correctly so we know the auth is correct. The dashboard is using the same source service layers but the IFRAME generally fails to load at all on initial login. Sometimes I can get it to start the dashboard app but then get a 'you don't have permission' pop-up inside the IFRAME. After serval full page refreshes without a logout, the dashboard will sometime fully load.... but that's not a valid user experience: "Hey user login to our app, then refresh your page a few times until everything loads correctly :(" I found this old guide on the RESTJS v2 on how to embed content to use the parent auth with the postMessage() sequences: https://esri.github.io/arcgis-rest-js/guides/embedded-apps/ However i can't get it to work at all either. I stripped one of the auth demo examples down and added an IFRAME to a dashboard but still no luck. More details on that attempt at this github issue: https://github.com/Esri/arcgis-rest-js/issues/1156
... View more
04-24-2024
10:12 AM
|
0
|
0
|
265
|
IDEA
|
@JeffBarrette Thanks! Obviously this is not a normal type thing but now that i'm working thru it, I can see a lot of potential uses. Couple other thoughts: * It would be nice to have a similar method to ConvertLayoutFileToLayout for just the MAPX file. Seems like this function already does the work since it imports the Layout and Map... why can't I do the same with just the map? This technique is really useful for server-side geoprocessing services and the pagx/mapx files are easy to handle and keep in source control * I'm using 3.1.x right now (due to 11.1 at the Portal/Server level) and the .database and .updateDatabases isn't available until 3.2 ... took me a bit to figure out why i kept getting an error on thsoe. * I was able to update the homeFolder, default toolbox, default geodatabase using the specific properties you mentioned. However it leaves references to the original atbx and gdb in the project. Not a huge deal, someone can clean those open when they first open the project manually or otherwise not a big deal. The database one probably cleans up when you use the updateDatabases() method but I'm not seeing anything that allow you to remove the toolbox. removeItem() or a updateToolboxes method is probably needed as well?
... View more
04-16-2024
09:14 AM
|
0
|
0
|
448
|
IDEA
|
@Rhys-Donoghue I came up with about the same process... however one thing i'm noticing is that the 'projects home folder' is still mapped to the original 'folder of the blank aprx'. Did you figure out a way to remap this?
... View more
04-15-2024
01:25 PM
|
0
|
0
|
477
|
POST
|
Thanks Ben, I've probably worked out that solution as well... i have file level access to the config store so i'm able to open the item json and scrap the ids from there... not totally ideal but slightly faster than an api query and a bit easier to code.
... View more
04-10-2024
09:50 AM
|
0
|
0
|
392
|
POST
|
Thanks Ben! I was just about to write up the bug in Support.
... View more
04-10-2024
09:26 AM
|
1
|
2
|
396
|
POST
|
I'm seeing the same results ... none of the good result values are being populated according to the doc. Any chance you reported this as a bug?
... View more
04-04-2024
01:54 PM
|
0
|
0
|
437
|
POST
|
Thanks for the follow up... looks like someone else created an 'idea' for this: https://community.esri.com/t5/arcgis-pro-ideas/add-an-arcpy-mapping-analyzeforsd-equivalent-to/idc-p/1405280#M29212 but classically not getting thru ...
... View more
04-03-2024
11:00 AM
|
0
|
0
|
278
|
POST
|
It looks like the old AnalyzeForSD is still there library but is appears to fail opening the APRX ... from an ArcMap 10.8 install: mapping.py: def AnalyzeForSD(sddraft):
"""AnalyzeForSD(sddraft)
Analyzes Service Definition Draft ( .sddraft ) files to determine
suitability and sources of potential performance issues before converting
a Service Definition Draft file to a Service Definition ( .sd ) file.
sddraft(String):
A string that represents the path and file name for the Service Definition
Draft ( .sddraft ) file."""
import arcgisscripting
return convertArcObjectToPythonObject(arcgisscripting._analyzeForSD(*gp_fixargs([sddraft], True))) My attempt at running this in Pro... all the imports work and it seems to start reading the sddraft from arcpy.arcobjects.arcobjectconversion import convertArcObjectToPythonObject
import arcgisscripting
from arcpy.geoprocessing._base import gp_fixargs
sddraft = r"C:\Temp\Map.sddraft"
r = convertArcObjectToPythonObject(arcgisscripting._analyzeForSD(*gp_fixargs([sddraft], True)))
Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: C:\Temp\Map.aprx
... View more
04-03-2024
09:43 AM
|
0
|
0
|
282
|
IDEA
|
@ShilpiJain Analyze BEFORE StageService is really needed for copyDataToServer=False. In my attempts, I've set this property to false, but the StageService copies all of my data to a local geodatabase before i could get the warning about the data source not being registered. This is unacceptable workflow as it puts an extreme load on the db server that wasn't necessary if it had given us the 'not registered warning' before attempting to pull it across. I've also run out of disk space, had file too big errors and other things associated with pulling too much data from a db server. If you're not going to add an 'Analyze' function then StageService tool should immediately quit with errors when copyDataToServer=False. Just like the UI does.
... View more
04-03-2024
08:59 AM
|
0
|
0
|
428
|
POST
|
@RonnieRichards Did you figure anything out on this? I'm having about the same issue... setting sharing_draft.copyDataToServer = False and I want to be able to get the 'data source not registered' warning/error BEFORE creating the .sd file. So far it will copy all the data locally, then tell me it's not registered. Which is especially not good for large datasets. The 'analyze' button in the UI must be doing something that's not exposed to the api or gp toolset?
... View more
04-03-2024
08:47 AM
|
0
|
2
|
285
|
POST
|
Hi All, This process was working correctly just recently, only change has been the latest ArcPro update. I'm basically following the examples in this help doc. Sample of bare min code to reproduce below. My service/task list is pretty complicated so the script is a HUGE time/mistake saver. I've tried a few tweaks and modified it down to just one tool and always get the same result. I've also tried the script with just a single, simple out-of-the box tool (AddXY) rather than the custom tools/scripts -- example below. Environment: ArcPro 3.2.2 ArcGIS Server (standalone 11.1) Process Results: sddraft and sd files get created (no warnings, errors in analyze) I've opened the sd archive and extracted. Everything looks fine. The toolbox contains tools to be published as tasks as configured sd file uploads fine to arcgis server service creates without error no arcgis server manager log errors or warnings nor obvious messages at info level Two issues: service task list is empty! minor but the message level setting does not take. SOC count and other service properties get set correctly. Repro script: result = arcpy.management.AddXY(
in_features=r"D:\temp\data\scratch\Default.gdb\GPXPoints"
) ^
sd = r"D:\temp\data\scratch\xy.sd"
sddraft = r"D:\temp\data\scratch\xy.sddraft"
serverconnectionfile = r"D:\temp\data\scratch\arcgis_on_server.com.ags"
serviceName = "XYTest"
analyzeMessages = arcpy.CreateGPSDDraft(
result, sddraft, serviceName, server_type="FROM_CONNECTION_FILE",
connection_file_path= serverconnectionfile,
copy_data_to_server=True, folder_name=None,
summary="XY Service", tags="gp", executionType="Synchronous",
resultMapServer=False, showMessages="INFO", maximumRecords=5000,
minInstances=2, maxInstances=3, maxUsageTime=100, maxWaitTime=10,
maxIdleTime=180)
analyzeMessages
#{'errors': {}, 'warnings': {}, 'messages': {}}
arcpy.server.StageService(sddraft, sd)
#<Result 'D:\\temp\\data\\scratch\\xy.sd'> Attached are the output sddraft and sd files Thanks for any insights.
... View more
03-15-2024
02:29 PM
|
0
|
0
|
305
|
POST
|
No i don't think so... the layer indices definitely stayed the same but those are defined in the properties
... View more
02-15-2024
12:36 PM
|
0
|
0
|
290
|
Title | Kudos | Posted |
---|---|---|
1 | 06-19-2024 01:20 PM | |
1 | 04-10-2024 09:26 AM | |
1 | 07-26-2023 03:18 PM | |
9 | 12-01-2023 09:37 AM | |
5 | 10-23-2023 11:31 AM |
Online Status |
Offline
|
Date Last Visited |
Thursday
|