|
POST
|
Instead of using the payload option, just copy/paste directly into the Request Body JSON Schema window. An Example:
... View more
02-23-2021
11:11 AM
|
0
|
3
|
2866
|
|
POST
|
Hi @Danielle_Journey Your Request Body JSON Schema appears to be incorrect. I struggled with this piece of the puzzle for quite some time! Copy the example @hgaignard gave in the first code window of his post into the Request Body window you show in your screenshot. Notice the '$content-type' key in his example.
... View more
02-23-2021
08:05 AM
|
1
|
5
|
4974
|
|
POST
|
Were you able to resolve this issue? When Posting the extractChanges via Power Automate, the job ID returned always leads to the Invalid Sync error. When I submit via the Services Directory the job ID leads to a successful status and I get the edits back via JSON.
... View more
02-18-2021
10:53 AM
|
0
|
17
|
4693
|
|
POST
|
@RexRobichaux Thank you for your excellent post. I appreciate the level of detail you've used to describe this issue. I am experiencing everything you've mentioned and would also love to see API access. This is maybe the 3rd or 4th major site change since 2018 that negatively impacts performance in one way or another. While I appreciate frequent updates to the Hub framework it gets frustrating to update maintenance scripts once a year. Stability on this platform would be a pleasant surprise. API documentation would go a long way to help users navigate framework updates. Keeping AGOL Items and the Open Data page in sync shouldn't be this difficult/prone to issues.
... View more
01-12-2021
10:08 AM
|
1
|
0
|
3187
|
|
POST
|
This has since broken at AGS 10.7.1 in a shared site configuration. Using API 1.8.1 AttributeError: 'Server' object has no attribute 'services'
... View more
12-09-2020
04:43 PM
|
0
|
0
|
3985
|
|
POST
|
I am also seeing this at 1.8.1 We recently upgraded our servers to 10.7.1 from arcgis.gis import server
url = r"https://<root>.<host>.org:<port>/arcgis/admin/"
site = server.Server(url,username=<user>,password=<pw>)
site.services
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
In [99]:
Line 1: admin = site.services
File C:\<...>\arcgispro-py3-clone\Lib\site-packages\arcgis\gis\server\_common\_base.py, in __getattr__:
Line 86: raise AttributeError("'%s' object has no attribute '%s'" % (type(self).__name__, name))
AttributeError: 'Server' object has no attribute 'services'
... View more
12-08-2020
03:56 PM
|
0
|
0
|
5955
|
|
POST
|
ArcGIS Monitor requests have an empty value in IIS logs for cs(User-Agent). It would be helpful if this was used.
... View more
11-04-2020
10:14 AM
|
0
|
3
|
1668
|
|
POST
|
Hi David, Thank you for your reply. I suppose if a fix doesn't come by next release I could give your suggestion a try.
... View more
10-05-2020
03:43 PM
|
1
|
2
|
4343
|
|
POST
|
Thanks for your reply. I can confirm that the token is updated after login. The user prop is not.
... View more
10-05-2020
03:42 PM
|
0
|
0
|
540
|
|
POST
|
Hi David, Thanks for your reply. I gave getAppStore a try but encountered the same problem as when I tried to retrieve props as shown in the earlier comment. Here is a way you can validate my workflow: Add a secured map to your editor sample. In widget.tsx add this function, and call that function in return() checkUserStatus() {
let test = getAppStore().getState().user
console.log(test)
}
return (
{this.checkUserStatus()} ) 3. On the initial load of the app a user will be prompted to log in. After the map loads click on the widget, open up Dev Tools: Console will show null. 4. Load app again. Credentials are grabbed from the cache and both methods successfully return the user details. My wild hypothesis is that the framework is not updating props after credentials are verified. Really struggling to find a way to make this work for secured content.
... View more
09-30-2020
02:02 PM
|
0
|
6
|
4343
|
|
POST
|
It seems as if post-login props.user is not refreshed. This is problematic for widgets that are in a Widget Controller and are set to open by default. Since the widget is rendered before the login prompt is displayed it only has access to props rendered at that time. props.user is effectively worthless to a widget in this scenario. Or, am I wrong? Is there a way I can force a refresh of props? Thanks for any help you can provide. Gavin Rehkemper , David Martinez , Mingyang HanMingyang Han
... View more
09-30-2020
10:33 AM
|
0
|
0
|
4343
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-06-2022 02:52 PM | |
| 1 | 07-27-2023 10:51 AM | |
| 2 | 11-14-2023 08:48 AM | |
| 1 | 10-27-2021 11:50 AM | |
| 2 | 12-11-2023 04:10 PM |
| Online Status |
Offline
|
| Date Last Visited |
04-29-2024
11:30 AM
|