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...
Type: Posts; User: Mike Peat
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...
RMDRH! A new acronym! Yey! :D
Arg! Dyslexia! Can't tell left from right! :(
Dave - do you mean (looking North) the left side of the Atlantic, where we do it right, or the right side, where they do it wrong? :confused:
"all calls that are made within one function are done within the same process": Yes.
"The main DD will be kept in synch automatically" - Yes. In fact with a normal DDO structure ALL DDs will be...
All those calls within PopulatePetCoverId will be done within the same process.
If you then store (WebSet) the returned mPetCoverId in a WebProperty (say: pmPetCoverId), a WebGet of that property...