PS - If you need help with doing that, just get in touch: mpeat at unicorninterglobal dot com, but you should be able to work it out from the Help.
Mike
Type: Posts; User: Mike Peat
PS - If you need help with doing that, just get in touch: mpeat at unicorninterglobal dot com, but you should be able to work it out from the Help.
Mike
Franco
You could do this with a WebApp containing a cWebHttpHandler object, however I think this only came in with DF19.1, so you may need to move up a version.
That would do the...
Michael
I'm just using (CurrentDateTime()) to set the property, then elsewhere getting it back. If I was only ever running under the debugger, or only ever running under the WebApp Server, I...
Thank you! That's what I was needing! :)
Mike
Samuel
DF20.1.
I think the issue might be that I set the DateTime property using (CurrentDateTime()) under either the debugger or not, then tried to access in the other.
Either way, I don't...
Looking farther, I think that this is because the account the WebApp Server is running under - the Local System Account - has different Date & Time setting from those I am using myself, which is...
OK, weird kind of problem.
In a WebApp, I have a WebProperty which is a DateTime which I'm WebGet-ing to a DateTime variable.
Under the debugger, it runs fine and I get "17/06/2022...
So, André... by most definitions in is now summer (mid-summer's day is just over a week away).
Thus "before summer" could be reasonably said to have passed. ;)
Any progress with this?
Mike
Harm - yes, the reset was the bit I didn't actually test. Thanks for putting me right on that. :)
Mike
Yup - testing it does seem to confirm all of the above. :)
Mike
I'm a little confused by the new "ClientProtected" setting for the WebProperty MetaTag.
I'm going to suggest how I think it works. (Yes, I could write a bunch of code to test this - and I still...
Samuel
I was using v20.1 and DF_Flat_Desktop.
Mike
Sam
I just did what Harm said and put a <br> in the label:
Object oID is a cWebColumn
Set psCaption to "ID<br>(Use this for getting contacts from that folder)"
...
Yes, that should work as well. :)
Yes. Basically it is just a matter of concatenating <username> ":" <password> and base64 encoding them.
So...
Function BasicAuthCreds String sUsername String sPassword Returns String
...
I could suggest that "[Found ~Found] Begin" might be replaced with "If (False) Begin" or maybe "If (True) Begin" (I can't remember just how multiple indicators are supposed to work ;)), although...
You are a bad man, Samuel! ;)
I can totally understand it - I'd be frightened to touch some of that code!
Mike
Stephen
Yes, I realise that (I've been in many of your lectures where you explained it ;)), but I thought it was interesting to note where DAW themselves relied on obsolete/deprecated syntax.
...
Just having a bit of fun (prompted by something I tripped over debugging), I did a "Find in Files" for the text "CompilerWarnings Off" in DF 20.1.
There were a few... ;)
C:\Program...
Luca
Try looking at the AddElementNS method of the cXMLDOMElement class (or indeed many other XML classes).
Mike
Ian
One problem with RESTGen is that if your sample JSON contains empty arrays it is forced to assume those are just arrays of strings (having nothing else to go on). Now I note that tagIds is...
Franco
I'd try removing the leading "/" in the sPath - it shouldn't be there.
Mike