4D Developer Available

2019-07-17 Thread Kenneth Geiger via 4D_Tech
Hi All, Need an additional 4D Development resource? I’ve got 25-years experience in both Mac & Windows environments. I’m presently supporting a 4D C/S Installation in NJ. By September, I will be wrapping-up a 4D C/S Development Project for a client on the west coast. Support efforts will be

Re: HTTP Basic Auth for a REST request

2019-07-17 Thread the 4Dmd via 4D_Tech
That didn't work... for #2 so let me try again: TEXT TO BLOB($username+":"+$password;$myBlob;Mac text without length) ENCODE BLOB($myBlob) $base64ToPutInHeader:= Blob to Text($myBlob;Mac text without length) PS: If you use #1 with HTTP AUTHENTICATE, 4D will automatically add the header so you

Re: HTTP Basic Auth for a REST request

2019-07-17 Thread the 4Dmd via 4D_Tech
Hi Noah, Two ways: #1) Use "HTTP AUTHENTICATE($username;$password;1)" BEFORE you call the HTTP Get and it will do what you want. #2) Keep doing what you just figured out but you can use a blob temporarily and do Whichever way does roughly the same thing. - Matt -- Sent from:

Re: HTTP Basic Auth for a REST request

2019-07-17 Thread Noah via 4D_Tech
Ha! Moments after sending, I tried one more thing: HeaderNames_at{1}:="Authorization" HeaderValues_at{1}:="Basic TGFuZ2xvOlBhc3R1cml6ZWQ=" That worked! So I guess my question is much simpler. How would I manually base64 encode the needed string? Many thanks! On Wed, Jul 17, 2019 at 11:16 AM

HTTP Basic Auth for a REST request

2019-07-17 Thread Noah via 4D_Tech
We have used Basic Auth in other parts of our infrastructure with Great success, but have not had the need to pass authentication from 4D, until now. We are trying to replace a SOAP service with a REST based 'pass through' service. Using HTTPS to protect a basic auth header meets the minimum

Re: MacOS Character Viewer (emojis) and 4D

2019-07-17 Thread Jeffrey Kain via 4D_Tech
Getting the Input Sources menu into the menu bar from the Keyboard system pref got this working for our user that wanted it. Thanks all - > On Jul 17, 2019, at 12:44 PM, Jim Crate via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I use the emoji viewer in Messages, which includes a search

Re: Dynamic listbox variables

2019-07-17 Thread Jeremy French via 4D_Tech
Hi Jeremy, I believe the restriction you are talking about -- for dynamic list box variables -- pertains **only** to the listbox column, **not** its headers and footers. In other words, with the LISTBOX INSERT COLUMN command you can always use dynamic variables (think nil pointer) for the

Re: MacOS Character Viewer (emojis) and 4D

2019-07-17 Thread Jim Crate via 4D_Tech
I use the emoji viewer in Messages, which includes a search function. Jim Crate > On Jul 16, 2019, at 4:00 PM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > It seems like 4D doesn't allow the macOS character viewer to open with > cmd+ctrl+space. > > Has anyone found a

Dynamic listbox variables

2019-07-17 Thread Jeremy Roussak via 4D_Tech
The documentation for LISTBOX INSERT COLUMN indicates that if a nil pointer is supplied for the header variable, the variable will be created dynamically, but that this works only for array type listboxes. The documentation for LISTBOX INSERT COLUMN FORMULA doesn’t indicate any such