|
POST
|
-->
I have resolved my first question: It needs to be done in the AGS admin directory. Navigate to Home → services → <Folder Name> Here, use the createService operation Provide the following service JSON: {
"serviceName": "<SERVICE NAME>",
"type": "FeatureServer",
"description": "",
"capabilities": "Query",
"provider": "CUSTOMDATA",
"clusterName": "default",
"minInstancesPerNode": 0,
"maxInstancesPerNode": 0,
"instancesPerContainer": 1,
"maxWaitTime": 60,
"maxStartupTime": 300,
"maxIdleTime": 1800,
"maxUsageTime": 600,
"loadBalancing": "ROUND_ROBIN",
"isolationLevel": "HIGH",
"configuredState": "STARTED",
"recycleInterval": 24,
"recycleStartTime": "00:00",
"keepAliveInterval": 1800,
"private": false,
"isDefault": false,
"maxUploadFileSize": 0,
"allowedUploadFileTypes": "",
"properties": {"disableCaching": "true"},
"jsonProperties": {"customDataProviderInfo": {
"forwardUserIdentity": false,
"dataProviderName": "<PROVIDER NAME>",
"dataProviderHost": "",
"dataProviderId": "",
"serviceParameters": {}
}},
"extensions": [],
"frameworkProperties": {},
"datasets": []
} Then click Create This works for me in version 11.5. Kamil
... View more
10-05-2025
05:07 AM
|
1
|
0
|
273
|
|
POST
|
Hello everyone, I would like to know if it’s possible to create a Feature service using a Custom Data Provider within a specific server folder. The documentation only describes how to create a Feature Service in the root directory (example: https://<domain_name_or_machine_name>/<webadaptor_name>/rest/services/<service_name>/FeatureServer). My second question is whether I can call my Custom Data Feeds service using the default REST parameters - particularly datumTransformation and outSR - if those are not implemented in my provider code? Thanks. Kamil
... View more
10-04-2025
12:52 PM
|
0
|
1
|
331
|
|
POST
|
We are experiencing exactly the same problem. The legend button is grayed out for all sublayers, while it remains active for the group layer. The group layer doesn’t have settings for scale-based visibility. The sublayers in this group have defined minimum scale, but their legend buttons are still grayed out even when the map is zoomed out beyond the minimum scale.
... View more
03-21-2025
12:18 AM
|
1
|
0
|
969
|
|
POST
|
Ok, I was able to resolve this with this exact code: ToUTC(Date("3000-01-01T00:00:00+00:00"))
... View more
03-03-2025
12:26 AM
|
0
|
0
|
337
|
|
POST
|
Hello, I have an attribute rule set to return Date(3000, 0, 1). When the rule runs on the desktop, it correctly returns 3000/01/01. However, when the rule runs through ArcGIS Server, it returns 2999/12/31. How can I ensure that it always returns 3000/01/01? We are using AGS 10.9.1 and MS SQL. Thanks.
... View more
02-28-2025
11:06 AM
|
0
|
1
|
369
|
|
POST
|
Hello, I need to add graphic to the map using SketchViewModel. I can do that, but the graphic appears under labels if there is another feature layer or a dynamic layer with labels in the map. It works fine with another map image layer (map image service), where the graphic appears above this layer. The GraphicLayer connected to the SketchViewModel is, of course, on top of the map. Is there way how can I do that? Thanks.
... View more
02-09-2025
02:11 AM
|
0
|
0
|
461
|
|
POST
|
Jinak minimálně u nás v Enterprise 10.9.1 v novém MapVieweru, aby se nastavení transformace projevilo, musí se refreshnout mapa. Na AOL se nastavení projeví hned.
... View more
01-03-2025
06:38 AM
|
0
|
0
|
1668
|
|
POST
|
Ahoj / dobrý den, nedalo mi to, kouknul jsem ještě do dokumentace REST API. Mělo by to jít takto: URL parametr je potřeba nastavit přímo na vrstvě (nikoliv na službě). Název URL parametru je datumTransformation, hodnota je {"geoTransforms":[{"wkid":1623,"latestWkid":1623,"transformForward":false,"name":"S_JTSK_To_WGS_1984_1"}]} Bez transformace (viz červené body): S transformací: Zároveň se v dokumentaci píše, že pokud je transformace nastavená přímo na službě, použije se pro výchozí volání služby. Pokud se volání přepíše jinou transformací, použije se ta. To znamená, že mapový server AOL a stejně tak i ArcGIS Server již předpisy těchto standardních transformací mají implementované, stačí je pouze volat (klientem). Jinak pro opačný směr JTSK -> WGS84 lze použít jako hodnotu pouze kód transformace 1623. Snad jsem váš problém pochopil správně a toto pomůže. Nakonec to možná má docela jednoduché řešení. KN
... View more
01-03-2025
06:19 AM
|
7
|
1
|
1669
|
|
POST
|
Jinak výrazy Arcade mají přístup i k aktuálnímu měřítku mapy ($view.scale), takže tímto by se možná trochu dalo simuloval referenční měřítko, pokud by se upravil výraz pro výpočet kategorií velikosti.
... View more
12-12-2024
06:52 AM
|
0
|
0
|
703
|
|
POST
|
Referenční měřítko nevím. Ale pro dynamické zobrazování velikosti na základě hodnoty pole tam styl je viz níže. Nebo to není použitelné?
... View more
12-12-2024
06:45 AM
|
1
|
0
|
705
|
|
POST
|
Hello everyone, I have noticed that this problem has been fixed in the current November 4.31 release.
... View more
12-03-2024
11:38 PM
|
1
|
0
|
1233
|
|
IDEA
|
@lah, I think this feature is now available in the ExB Developer v. 1.15 and ExB in ArcGIS Online now. You need to place Edit widget in the Widget Controller for it and then it should work exactly as you describe.
... View more
11-27-2024
12:32 AM
|
0
|
0
|
797
|
|
POST
|
We have 100% identical problem. I have tested next version of API (4.30), which is available here https://github.com/Esri/feedback-js-api-next/blob/main/CHANGELOG.md and it unfortunately seems there is the same issue.
... View more
06-16-2024
11:09 PM
|
0
|
0
|
3385
|
|
POST
|
Hello, I have created my applyEdits() method. Its logic aligns with the following: featureForSend.setAttribute("globalid", "{3b0931f2-78f6-4799-ae0f-13d26c787775}");
EditLayer.applyEdits({
addFeatures: [featureForSend],
addAttachments: [{
feature: featureForSend,
attachment: {
globalId: "{b99a53f2-3b76-4024-97d2-8ceca8b624ae}",
data: input.files[0]
}
}]
}, {gdbVersion: "",
returnEditMoment: false,
globalIdUsed: true,
rollbackOnFailureEnabled: false
}).then((result) => {... This code fires HTTP request with this data: Adds:
[{"geometry":{"spatialReference":{"latestWkid":5514,"wkid":102067},"x":-8988283.904533692,"y":4133042.200104993},"attributes":{"poznamka": "test", "globalid":"{3b0931f2-78f6-4799-ae0f-13d26c787775}"}}]
Attachments:
{"adds":[{"globalId":"{b99a53f2-3b76-4024-97d2-8ceca8b624ae}","parentGlobalId":"{3b0931f2-78f6-4799-ae0f-13d26c787775}","contentType":"image/png","name":"Image 001.png","uploadId":null,"data":"loremipsum"}],"updates":[],"deletes":[]} ... and it ends with server error "Unable to complete operation. Unable to perform applyEdits operation. An error occurred." I’ve discovered an issue related to the "uploadId":null parameter (in Attachments data). When I remove this parametr and re-run this request again (directly in REST API), the request succeeds. However I'm not able to achieve the same result using the ArcGIS Maps SDK fo JavaScript. JS API always adds this "uploadId":null param to the HTTP request. Is there a solution for this? We have federated Enterprise 10.9.1 and JS API 4.27. Thanks
... View more
05-12-2024
02:08 AM
|
0
|
0
|
657
|
|
POST
|
You can do it for example with arcpy. You need to crate PDF file, then access every single layout in your project, export it and append to the created PDF file. Your script can look like this: aprx = arcpy.mp.ArcGISProject("CURRENT")
layouts = aprx.listLayouts()
pdf = arcpy.mp.PDFDocumentCreate(r"path\test.pdf")
for layout in layouts:
page = layout.exportToPDF(layout.name + ".pdf", layers_attributes="NONE")
pdf.appendPages(page)
pdf.saveAndClose() You can run it directly in ArcGIS Pro Python Window. You need replace "path\test.pdf" string with your real path.
... View more
05-10-2024
03:47 AM
|
0
|
0
|
1327
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-05-2025 05:07 AM | |
| 1 | 03-21-2025 12:18 AM | |
| 1 | 12-12-2024 06:45 AM | |
| 7 | 01-03-2025 06:19 AM | |
| 1 | 12-03-2024 11:38 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-14-2025
05:38 AM
|