I'm afraid I don't actually remember. Sorry! :(
Mike
Type: Posts; User: Mike Peat
I'm afraid I don't actually remember. Sorry! :(
Mike
Hi
You might try my cHttpTransferREST class from here on GitHub (it is part of a bigger project, but don't worry about that - it only relies on standard packages: cHttpTransfer & WinUUID). It -...
Doh! Didnt read the post properly! Ignore me! :p
Nick
Handle hoParser
Get Create (RefClass(cJsonObject)) to hoParser
Dunno why the old way doesn't work - I've been using the RefClass approach for many versions now.
Vanilla JavaScript AFAIK Nick. No 3rd-party libraries or frameworks. I'd guess you'd probably call it ECMAScript 5.1.
Mike
Chris
I think what Harm is getting at is that you should write a cWebHttpHandler component into your web app (so in the studio do: File-->New-->Web Object...-->Web Http Handler, then fill in the...
I think cWebView2Browser wasn't in the product then. It was introduced in DF 20.1 (DataFlex 2022: see here under Windows Framework).
I did once have it working with the previous old COM web...
Hmm... that's really odd. I think it worked for me in DF2019... no, it can't have. I don't think cWebView2Browser was in DF2019. :(
Mike
Umm... I'm not really understanding the problem... maybe you could explain a bit more.
Also... I said above that you didn't need a web server, but that is just b/s, because the process relies on...
Doh! Yes, I forgot that one. :(
Mike
Maybe try:
Send Find of {the grid's DDO} Index.1 // Or whetever index you are using
Mike
PS - but I do know a guy/company who has done one more recently. Contact me directly if you'd like the details. (mpeat at unicorninterglobal dot com)
Mike
Yup, but it was in DF 2.2, I think. ;)
Mike
Ah, come on Dave, you're not that senile yet! ;) Its only nine lines of extra code!
I only think that it will work - I'd like to know if it actually does. :)
Mike
Dave
OK, here is (IMHO) what you need to do. (Somebody else may have already said this. ;))
After you have moved your struct data into a Json Object with DataTypeToJson (but before you...
Maybe not - I'm about to go home, but I'll maybe post some code tomorrow morning for you.
Mike
Deleted - Dave, I think you'll have to do it by hand. :(
I think that is a fair point. In a future revision DA might make such a thing global and just call it from cClientWebService... or somerthing.
Mike
Ah! OK... I missunderstook indeed! :D
I kinda think I've either written, or come across, code to do that as well... I'll look.
<looks...>
John T's code in Procedure CrackUrl in...
OK, just looking at some of my code, the following seem to help here:
Get ServerVariable "SERVER_NAME" to sHost
Get ServerVariable "SERVER_PORT" ...
Dave
Those don't look like mine (maybe I've forgotten ;)), but I have certainly written stuff that does it. If somwbody wants that I'll dig it out and post it.
Mike
Yes, apologies - I missed that bit (doh! - read the whole post before responding! :p), but it would still be my go-to place to start.
Mike
Peter
How about AppSynching?
Mike
PMFJI (and also pardon me for posting here in English :p): a long time ago now (~2015) I wrote an OAuth2 package (it isn't just in DataFlex, but also JavaScript) which these days works for both Web...