|
POST
|
Thanks for the info. Just included some clarification below. The screenshot I included above was a sample of a longer JSON string that I created, but I only included the problem section. When I put the entire JSON string through the JSON validator it tells me its valid. This is a look at what the JSON would be when sending to REST. [ { "attributes": { "OBJECTID": 15, "Comments": "This is a test" } } ] This push to REST continues to work for other points (in the same service) and has worked fully in the past. I am hitting the apply edits function of REST so hence the reason for updates. Would features be better option? I would like the user to have the option to enter double quotes or not enter them without causing issues to JSON syntax either way.
... View more
03-15-2019
06:25 AM
|
0
|
0
|
641
|
|
POST
|
My workflow involves Integromat which pushes to a feature service using JSON and REST. Because of JSON syntax, all of my dynamic data (which is passed in from a survey webhook) must be enclosed in double quotes. Since one of my data pieces that user enters in the survey is a textbox, there is a chance that double quotes could be entered which could throw off the JSON syntax. This is a sample JSON response of mine: [
{"attributes" :
{"OBJECTID" :268,
"Terracon_Comments" :"This is a sample comment which may include "double quotes""
}
}
]
My goal is to allow the user the enter double quotes and not throw off JSON.
Integromt doesn't seem to recognize JSON escaping (or I'm doing it wrong)
... View more
03-14-2019
01:27 PM
|
0
|
6
|
2449
|
|
POST
|
Didn't work. I'm using Integromat push this JSON. Integromat has dynamic data modules that are passed in...don't know if this is causing the issue. Also, not every time the user will enter quotes in the text box.
... View more
03-13-2019
12:22 PM
|
0
|
5
|
3871
|
|
POST
|
I want to pass a quotation mark into JSON but the escape methods I'm using don't appear to be working. How do you pass a strong into JSON with a quotation mark? [ { "attributes": { "OBJECTID": 307, "Comments": "This is a test "with quotes"" } } ]
... View more
03-13-2019
11:26 AM
|
0
|
10
|
5360
|
|
POST
|
Wanting to not let users enter any quotes, single or double and then replace that with either brackets specifying what was omitted. Ex: if user enters "My name is Joe" the output should be (dbl quote) My name is Joe (dbl quote)
... View more
03-13-2019
09:37 AM
|
0
|
8
|
2886
|
|
POST
|
Unless for some reason the global aspect isn't working? I'm just throwing things out there.
... View more
03-12-2019
01:06 PM
|
0
|
1
|
738
|
|
POST
|
Robert, That aside, is there anything else that you can suggest to try from a logic perspective? It seems to get stuck on the mezz title even though the toggle physically switches the layer back to main from mezz.
... View more
03-11-2019
07:25 AM
|
0
|
7
|
1392
|
|
POST
|
Setting the layer to null didn't solve anything. Looking at the breakpoint I can see both the if and else running at the correct times, but the layer name isn't updating
... View more
03-08-2019
02:03 PM
|
0
|
9
|
1392
|
|
POST
|
I want to add the functionality for a user to click a button and the current map view is captured and saved to a pdf. Any suggestions?
... View more
03-08-2019
01:05 PM
|
0
|
0
|
526
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-31-2018 08:24 AM | |
| 3 | 12-18-2018 09:23 AM | |
| 1 | 12-02-2019 07:53 AM | |
| 1 | 04-24-2020 11:11 AM | |
| 1 | 08-14-2019 02:25 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:25 AM
|