Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
BarryStevens
About
- Username
- BarryStevens
- Joined
- Visits
- 1,960
- Last Active
- Roles
- Member
Comments
-
>>the [] characters were on the first line of the value. only one line so no LineFeed >>Do you think this was a red herring on your part? No, definately \0A\ in the string when multilined
-
Yes, it does have a linefeed \0A\ this fixed the issue: jsonbody = HTTP_Services('DecodePercentString', jsonbody) swap \0D0A\ with '\r\n' in jsonbody swap \0A\ with '\r\n' in jsonbody
-
A web developer is creating the json and I am getting it via a POST api (httpFrameworks)
-
I will do swap \0A\ with '\r\n' in MyJsonString Then I assume I will have to convert it back or will the parse do that?
-
Ah, so the json should not have been returned to me like that. So, I will have to convert at my end. Can you tell me what the swap/convert command should look like please. I assume I can apply it to the full HTTPPostString
-
From the HTTP log: <29> HTTPPostString : {"new_job_details":["swwws wswsssws swwss[222] swsws"],"long":"150.8278272","lat":"-34.4915968","date":"15/09/2022","end_time":"09:00AM","employee":[184],"job_completed_response":"No"}
-
yes
-
Great, and I just posted in the beta forum re backup from 10.1 restore to 10.2 causes the issue with my app.
-
I take it you are referring to a form you designed? Yes Do you perchance have any OLE controls on this form? No. Still run_event
-
FYI. If I do an app backup and then restore into a fresh copy of 10.2 and then start my menu form I get the object code is invalid message. Resave the form. Start again ok until I select a from from the menu!!!
-
@donbakke my events for forms appear to be working ex 10.1 upgrade to 10.2
-
It runs but after selecting tools->options, then issues
-
Cool, no rush
-
I think, if you add the following to the %PROCESS% record it might do the trick. Files are checked with @tables and will be created if dont exist. [CREATE TABLES] volume/filename/dbid . . volume/filename/dbid
-
@opto_will Does this work for you. HyperLink = '{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang3081{\fonttbl{\f0\fnil\fcharset0 Calibri;}}' HyperLink :='{\colortbl ;\red0\green0\blue255;}' HyperLink :='{\*\generator Riched20 10.0.19041}\viewk…
-
rv = Set_Printer("TEXTXY", "Click here to pay-> www.this_is_my_link.com", Dims, "", 0) 😜
-
Web developer says he is not doing Asynchronous - call wait, then call 2nd one. We have all the html and JavaScript code. Are there any gotchas he needs to be aware of? attached is the code section that calls 2 API EndpointSegments /datelistSISJ …
-
I will wait for Don's response before I go any further with this.
-
Sorry, Mark, Looking at memoryservices I am going to have to disagree with you on NotExpired=0 (gets from memory each time)
-
Thanks Mark, I must have misinterpreted what I read.
-
Thank you. Yes synchronous calls would fit the bill. I will pass that on.
-
>>web app making multiple asynchronous calls. So, they should be doing What!!! - synchronous I assume. >> My patience only goes so far...;-) Agree!!
-
If i run each api via postman only one engine spins up. The app, at the web developer requires 2 api 'methods'(sorry, forgot the proper term) to be called to service the final request. This is where he must be doing something strange, maybe not wait…
-
The HTTP logs only show 1 request. The oengine DOS desktop window shows 2 requests
-
Thanks. Ok, I found this: and, affter a bit of sluething, then did this in my code after attaching the dbtables , which appears to work!! //validate the user if the EnableAuthenticationFlag on the FrameWorks setup is unset// KeyID = 'Ge…
-
Ok, Start this again. The gotcha for this environment setting is that I now see that the first thing that frameworks does is using the current OI Account (with the default tables that are attached) is to validate the user. Now, the users' are in th…
-
If i have a url-rewrite that does not use the value in API Url in the frameworks setup, is there a ramification down the line, so that I can then point to the separate virtual dirs in IIS
-
Ok, found it and maybe i can work with this. ecgiapiID =field(HTTP_Services('GetOECGIRequest')<18>,'/',2) UserDBId =OecgiapiID[1,'-']
-
Thanks for the prior post
-
Now I am not sure if I am going to have an issuue with the API Url setting in the HTTP Frameworks settup as I can only have one copy as it is saved with the OIAccount suffix. Cant remember now how all this ties in with the registry and IIS. I would …