POST
|
The Survey123 connector is not part of the new Enterprise connectors (this is why you don't see it mentioned). You can see the high level "buckets" in Power Automate where S123 is it's own entity. I'm not on the Survey123, nor the team developing the Enterprise connectors (I come from core webhooks in Enterprise), so at the risk of saying something incorrect, my understanding is the S123 connector is hardwired to connect to ArcGIS Online and will only find surveys in there, thus they cannot use this connector for Enterprise. Looking at your guide - you have specific instructions on an Enterprise connection to S123: I've never seen this before, and I don't see it now while looking through PA. Perhaps my knowledge is out of date, or my subscription doesn't have the correct access. Apologies if I've posted some incorrect information. Please do correct me if I'm wrong.
... View more
a month ago
|
0
|
3
|
172
|
POST
|
This is a difficult question to answer, but simply, you shouldn't see any impact on the feature layer because of the webhook traffic. After the edit is performed, the information for the webhook is processed in a separate process from the feature layer. The feature layer doesn't become locked, or wait for the webhook to finish. Is it possible this many edits could cause the webhook process to degrade? Maybe? Probably not? Again, a very difficult question to answer without actually benchmarking it (I do not have metrics like these). You can't control the ArcGIS Online processes that do this. What you do have control over is where the webhook is being sent to, which is either a commercial vendor or your own custom service -- does this process scale and handle a lot of webhooks? You might want to try and reduce the number of webhooks being dispatch which would reduce load everywhere. Take a look at the scheduleInfo parameter when you create your webhook. By increasing the frequency, more edits will be grouped into a single webhook. However, as-is, you shouldn't really expect more than 2 webhooks dispatched every minute (based on the 30 second default). That means you could have 3 edits or 10,000 edits in a single 30 second time period, it'll only ever be 1 webhook. {
"name":"Every-30seconds",
"startAt":"1478280677536", //Integer
"state":"enabled",
"recurrenceInfo": {
"frequency":"second",
"interval":30
}
}
... View more
a month ago
|
1
|
1
|
78
|
POST
|
Unfortunately feature service webhooks are not available in ArcGIS Enterprise 10.8.1. They were added in 11.1 The suggestion to use the Survey 123 webhook could possibly work if that made sense for your workflow: using a survey to submit a record. Otherwise, you don't really have any options in 10.8.1 Enterprise to listen for new features short of deploying a custom server object interceptor (SOI) Edit -- I missed the fact this was posted to the Survey 123 community, so I'll guess that you are indeed using Survey123. Without testing myself, I believe this should be possible. The connectors in Power Automate are great: they make it really easy to setup connections, but almost everything those connectors provide could be manually setup. Inside Power Automate, if you start your Flow with When a HTTP request is received -- this listens for incoming webhook payloads. Save your flow, you'll get a webhook URL, copy that, and then manually add it into the Survey123 webhook payload URL. After that you'll need to build out the logic in Power Automate to parse the respond and get the information you're after.
... View more
a month ago
|
1
|
5
|
184
|
POST
|
Hi - Unfortunately at this time, only the Organization webhooks can be sent directly to Notebook Server. Enhancing Enterprise Feature Service webhooks so they can direct payloads to Notebook Server is on our roadmap, however I cannot predict when we'll implement this functionality. You've identified the middle-ware workaround of sending to Power Automate or Make and having them send off the request to the notebook. Alternatively, if you've exposed your Notebook as a WebTool, you might be able to direct the webhook to this endpoint. I'm mostly confident that the webhook would trigger the tool (notebook), the problem becomes getting the payload contents which I don't believe can be handled. So if the notebook could go and do something without information from the payload, this might be a solution for you?
... View more
01-30-2024
10:13 AM
|
1
|
0
|
95
|
POST
|
What type of Feature Service are you using? If you're using ArcGIS Enterprise with a referenced feature service (your data is coming from an Enterprise Geodatabase): yes, the server generation numbers are time based as you mention. If you're using a hosted feature service (same for both Online and Enterprise), the server generation numbers are incremented through transactions, but have no relationship to actual time values. To the best of my knowledge, the values for a hosted feature service are only "refreshed" (incremented) any time an edit happens. Assume your feature service had 0 edits over a 12 hour period: the values should not increase. Contrary, if you had hundreds of edits in the same time period, you would see a large jump between numbers.
... View more
12-11-2023
12:02 PM
|
0
|
1
|
270
|
POST
|
A few questions? What version of ArcGIS Enterprise are you using? Are you using Organization or Feature Service webhooks? Some background information: Organization webhooks do not use the challenge/hash method as referenced in the help link. They use a straight keyword which is included in the payload that the receiver can use to decide if the payload is trustworthy. Enterprise Feature Service webhooks made use of the same pattern as the Org webhooks in 11.0 (Beta) and 11.1. That is, the keyword sent in the payload. Beginning at 11.2 (just released), the Enterprise Feature Service webhooks were updated to match Online Feature Service security model, sending a signature hash in the header based on a given keyword/payload itself. This update matches the security model your referenced in the doc. For Enterprise Feature Service webhooks, you can see the doc note here indicating this change happened in 11.2: https://developers.arcgis.com/rest/enterprise-administration/server/create-webhook.htm As you said you're using Flask (Python), if you want some code that does the CRC/Hash/Signature workflow, you can see the code I have here: https://github.com/Esri/webhooks-samples/blob/master/Developer/azure/function.python/Hook/__init__.py and https://github.com/Esri/webhooks-samples/blob/master/Developer/azure/function.python/Hook/hash_check.py - This code was developed for Online Feature Service webhooks, but you pull the functions out, putting them into Flask and applying them to Enterprise 11.2 Feature Service webhooks
... View more
11-14-2023
06:56 AM
|
0
|
0
|
249
|
POST
|
Today, ArcGIS Online does not support Organization webhooks (as found in Enterprise). Online supports webhooks on Feature Services and Survey123. I know they have this request officially logged (I cannot find the tracking reference right now). As far as I know, there is no planned date date to implement Organization webhooks in Online; it's still in the research phase.
... View more
11-14-2023
06:43 AM
|
0
|
0
|
123
|
POST
|
Hi @bogdanpalade2 - You're attempting to get to updateDefinition from the Server Admin - updateDefinition is in the REST Services Admin, its a very subtle difference. Your URL will look something like SERVER.COM/server/rest/admin/services/Hosted/MyFeatureServiceName/FeatureServer/updateDefinition
... View more
09-20-2023
06:37 AM
|
0
|
1
|
532
|
POST
|
Unfortunately in ArcGIS Enterprise 11.0 when you check the "Keep track of who edited the data" option there, it does not actually update the FeatureService with the required setting. You'll need to manually go into the Rest Admin for the service and update the capabilities to include ChangeTracking using the UpdateDefinition endpoint. eg. https://server.com/rest/admin/services/Hosted/MyFS/FeatureServer/updateDefinition {'capabilities':'Query, Editing, Create, Update, Delete, ChangeTracking'}}
... View more
09-14-2023
09:17 AM
|
1
|
3
|
550
|
POST
|
Matthew, Do you have ArcGIS Monitor installed? I'd like to understand why you're seeing the message on a 15minute interval. I wouldn't have expected to see this logged more often than every 30minutes. For reference, this is the tracking issue number: BUG-000159271
... View more
08-01-2023
01:17 PM
|
0
|
0
|
555
|
POST
|
Sorry, I sometimes take for granted I use the Primary Site Administrator account which allows me to do anything, anywhere (generally speaking). You can use the Portal Gen Token to request a server token, although that becomes a 2nd call trading portal for server. Or you should just be able to use a server token generation call: https://developers.arcgis.com/rest/enterprise-administration/server/generatetoken.htm To answer your question, yes, I believe you should be able to request a token through your web adaptor without any issues.
... View more
07-20-2023
12:46 PM
|
0
|
1
|
800
|
POST
|
Zach, My Generate Token looks like the following. This is a bit different from yours. You'll notice I've hard coded a username/password in. I'm not real sure about the errors you're getting. I'll point out 2 things -- 1) If you make your feature service public, you can probably skip the token. 2) I see you pointing to port :6080 -- this makes use of a self-signed cert that will cause security warnings. PA might not like communicating with something that is not "Secure". Can you point at your fully qualified web adaptor URL? I've extract my test flow and attached it here as a zip. You can try importing it into your environment. The places you'll need to update: On import you'll need to connect it to your 365 account Generate token: url, username, password Inside "check status until ready", you'll need to update the URI in the Check Status (Click the "concat" and update the URL in the expression) Apply to each > Email. You'll need to update the send email address
... View more
07-19-2023
01:21 PM
|
0
|
3
|
826
|
POST
|
Good to hear. I forgot, I actually have this documented at https://github.com/Esri/webhooks-samples/tree/master/3rdParty/PowerAutomate (I just updated the JSON schema, removing required from all of them). This link would be a good place to start if someone happens upon this thread in the future. I'll try to get a blog out that builds on the initial one, more focused on Enterprise. thanks for working through this, Zach.
... View more
07-19-2023
11:03 AM
|
0
|
6
|
836
|
POST
|
That's good news Zach! The blog you have is in invaluable walk-through if you're wanting to extract changes out of the extract changes API. There are some small differences between Online and Enterprise, but that blog for the most part should hold up. Looking at that sample JSON, that "required" section concerns me. I wonder if that is Power Automate's way of saying "if the incoming payload does NOT have those fields, send an error response back", and in turn, the webhook cannot create. The benefit to supply a JSON schema into the HTTP request is received sets up the next connectors with what comes previously, basically making it easier to build up the flow. If you want, try this JSON schema. This is specific to Enterprise Feature Service webhooks, without the required parameters. { "type": "object", "properties": { "serviceType": { "type": "string" }, "changesUrl": { "type": "string" }, "name": { "type": "string" }, "id": { "type": "string" }, "folderName": { "type": "string" }, "serviceName": { "type": "string" }, "events": { "type": "array", "items": { "type": "object", "properties": { "eventType": { "type": "string" }, "when": { "type": "integer" } } } } } }
... View more
07-19-2023
08:57 AM
|
0
|
8
|
2265
|
POST
|
Interesting. If I use your URL, I get the same error. I did a little debugging/comparing to a PA url I have and outside of the webhooks, they function exactly the same, so I'm not sure what is different between the URL you have and the one I have. Inside PA, what does your request body JSON schema look like? Can you set it to something very basic, like: { "type": "object", "properties": {} } And ensure the method is either blank or set to POST?
... View more
07-19-2023
07:52 AM
|
0
|
11
|
1439
|
Title | Kudos | Posted |
---|---|---|
1 | 01-30-2024 10:13 AM | |
1 | a month ago | |
1 | a month ago | |
1 | 01-03-2013 10:44 AM | |
1 | 09-14-2023 09:17 AM |
Online Status |
Offline
|
Date Last Visited |
4 weeks ago
|