POST
|
I succeeded after a lot of tries using the following formula to calculate the date field (previous_date_signalement): date-time(int(${date_pulldata}) div 86400000)
... View more
02-12-2024
07:44 AM
|
0
|
0
|
166
|
POST
|
Thanks for your help @ChristopherCounsell. I try this expression : date(decimal-date-time(date(${date_pulldata}))) but same issue.
... View more
02-12-2024
01:28 AM
|
0
|
0
|
181
|
POST
|
I’m using pulldata(“layer“) to get 3 attribute values on previous record stored in the survey feature service. This works well for all 3 attribute values in Survey123 Connect and Survey123 Mobile App. But I encounter an issue with a date calculation in the Survey123 Web App: the previous date is not displayed and the calculation of the duration between it and the current day is not displayed either. These date and duration work well in Survey123 Connect and Mobile App : I understood that the Survey123 web app only supports decimal time : https://doc.arcgis.com/en/survey123/desktop/create-surveys/decimaldatetime.htm I also read @IsmaelChivite's article on this subject : https://community.esri.com/t5/arcgis-survey123-blog/dates-and-time-in-survey123/ba-p/895528 Please help me 😊
... View more
02-09-2024
09:00 AM
|
0
|
3
|
279
|
BLOG
|
Hi @IsmaelChivite, Is it planned to support geo-calculation with point-on-line/point queries in Web Designer ? For example, being able to report an incident on a hiking route by capturing the location from the map and automatically gets the name of the route.
... View more
11-30-2022
02:16 AM
|
0
|
0
|
897
|
POST
|
Hi @Anonymous User, This issue is not fixed in 2021.1.91 update.
... View more
11-25-2021
05:40 AM
|
1
|
0
|
375
|
POST
|
Hi @AnthonyLatini, The 2021.1.90 update came back but with same issue as described by @AntoineScuvee1.
... View more
09-14-2021
12:19 AM
|
0
|
0
|
1346
|
POST
|
@PhilLarkin1, I confirm, if I delete my last Outlook module, I no longer have the "BadRequest" error for the first HTTP module with a predefined JSON schema. To keep the Outlook module, I need to remove the JSON schema from the first HTTP module. But it worked before...
... View more
03-03-2021
03:04 AM
|
0
|
1
|
1542
|
POST
|
For the past few days, I have encountered an error on the first module When a HTTP request is received : BadRequest. This issue seems to come from the JSON schema of the request body predefined during my configuration. @Anonymous User, would Esri have recently modified the request sent by the webhook (e.g Content-Type header)? I solved this issue by removing the JSON schema of the request body (leave blank) in my first module.
... View more
03-01-2021
02:08 AM
|
1
|
2
|
1570
|
BLOG
|
Hi @TimLiponis, First : Does your HTTP module works ? On your screenshot, I don't see the value of the params field in your HTTP request. It should appear like this : To make sure your query works, launch your scenario and view the output of your HTTP module. Secondly : Check your generated data structure with JSON module. Integromat > Data Structures > Your Data Structure Name > Edit. It should look like this.
... View more
11-26-2020
12:42 AM
|
0
|
0
|
7370
|
BLOG
|
@MatthieuANDRE, you need to generate a data structure with the response from the Survey123 REST API. Use this example response in JSON Module > Parse JSON > Add Data structure > Generator: {
"code": "ShBmaWVsZDpjdXNUcmFja05vchRmaWVsZDpjdXNUcmFja05vPTEyMw==",
"success": true
}
... View more
11-24-2020
04:54 AM
|
0
|
0
|
7397
|
BLOG
|
@MatthieuANDRE, you can use Integromat with HTTP Module (Make a request) + JSON Module (Parse JSON) HTTP request details :
... View more
11-24-2020
01:13 AM
|
0
|
0
|
7410
|
POST
|
Hi Juliano Kersting, The process is more complicated on Power Automate compared to Integromat. Read my answer to this question : https://community.esri.com/thread/261441-esri-webhooks-for-arcgis-online-payload-schema-for-tracking-changes-in-a-hosted-feature-service
... View more
11-02-2020
05:54 AM
|
0
|
0
|
340
|
POST
|
Hi Henry Pelesh, The webhook request sent by ArcGIS Online does not appear to contain a Content-Type : application/json in the header. This is why Power Automate considers it by default as application/x-www-form-urlencoded. 1- You can use this Request Body JSON Schema for your module When a HTTP request is received or generate schema from payload sample provided by Peter Klingman : {
"type": "object",
"properties": {
"$content-type": {
"type": "string"
},
"$content": {
"type": "string"
},
"$formdata": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"key",
"value"
]
}
}
}
} After running a test, you should get this $formdata output : [
{
"key": "payload",
"value": "[{\"name\":\"Power Automate\",\"layerId\":0,\"orgId\":\"<myOrgID>\",\"serviceName\":\"demoWebhook\",\"lastUpdatedTime\":1603875450774,\"changesUrl\":\"https://services.arcgis.com/<myOrgID>/ArcGIS/rest/services/demoWebhook/FeatureServer/extractChanges?serverGens=[24014837,24187488]&async=true&returnInserts=false&returnDeletes=false&returnAttachments=false\",\"events\":[\"FeaturesUpdated\"]}]"
}
] Example : 2- To extract and parse the payload value, you can use Parse JSON module with this content as input (return the first element for the payload value in formdata) : first(json(triggerFormDataValue('payload'))) or if your prefer : first(json(triggerBody()?['$formdata'][0]?['value'])) or that json(triggerBody()?['$formdata'][0]?['value'])[0] And use this schema to parse the payload : {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"layerId": {
"type": "integer"
},
"orgId": {
"type": "string"
},
"serviceName": {
"type": "string"
},
"lastUpdatedTime": {
"type": "integer"
},
"changesUrl": {
"type": "string"
},
"events": {
"type": "array",
"items": {
"type": "string"
}
}
}
} Example : After running a test, you should get this output : {
"name": "Power Automate",
"layerId": 0,
"orgId": "<myOrgID>",
"serviceName": "demoWebhook",
"lastUpdatedTime": 1603875450774,
"changesUrl": "https://services.arcgis.com/<myOrgID>/ArcGIS/rest/services/demoWebhook/FeatureServer/extractChanges?serverGens=[24014837,24187488]&async=true&returnInserts=false&returnDeletes=false&returnAttachments=false",
"events": [
"FeaturesUpdated"
]
} Now, you can use informations contained in the payload as dynamic content to request changesUrl, ... like this blog: Create a hosted feature service webhook
... View more
10-30-2020
08:51 AM
|
2
|
9
|
2964
|
BLOG
|
Hi Ismael, Thanks for this capacity. I tried to encode my URL parameters but I get an error : Viewing is not possible because the globalId parameter was not provided. When I request my url with parameters it works : https://survey123.arcgis.com/share/************?mode=view&globalId={******************} With encoding manually, I get the error after second refresh : https://survey123.arcgis.com/share/************?mode=view&globalId={******************}&encodeUrlParams=true After first refresh : https://survey123.arcgis.com/share/************?code=OgR2aWV3 After second refresh : Viewing is not possible because the globalId parameter was not provided. With encoding via Microsoft Power Automate, I get the error in the first opening : Link in the email : https://survey123.arcgis.com/share/************?code=OgR2aWV3 Any ideas about this issue ? Thanks
... View more
10-28-2020
11:23 AM
|
0
|
0
|
7498
|
Title | Kudos | Posted |
---|---|---|
1 | 11-25-2021 05:40 AM | |
1 | 03-01-2021 02:08 AM | |
1 | 07-31-2019 02:09 AM | |
1 | 08-31-2018 08:22 AM | |
1 | 02-04-2016 04:56 AM |
Online Status |
Offline
|
Date Last Visited |
Tuesday
|