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
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
> verify your JavaScript code works outside of 4D in Safari when using Mojave.
>
> John DeSoi, Ph.D.
>
>
> > On Dec 20, 2018, at 11:10 AM, Noah via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > The parent form:
> > Case of
> >: (Form event=On
Good morning!
SUMMARY:
In 16.4 (interpreted mode) we have a web area which displays a web page
that is not under our control. We had devised a way to scrape the webpage
with a custom library of JavaScript files that we kept in the resources
folder. We find that in 16.4 the WA Evaluate JavaScript
We have been exporting our project and form methods to flat files that we
track in the Bitbucket GIT service. We chose Bitbucket because it has free
private repos.
What does this accomplish? It allows us to keep a record of changes (but no
smooth way to revert changes, and no way to track form
So we saw this error pop up elsewhere in our beta test of v16 under the
same circumstances:
Error:"A variable was expected"
the line of code is: SET QUERY DESTINATION(Into variable;$LQueryResult)
Looking at the Unique Values project method in the example on this page:
he error as if it was because of "scoping of variable
> initialisation and form events" is the wrong approach, in my opinion.
>
> 2018/08/01 23:34、Noah via 4D_Tech <4d_tech@lists.4d.com 4d_tech@lists.4d.com>>のメール:
>
> Is is really 'that bad' to run in interpreted mod
Thank you both for the speedy replies!
Unfortunately this inherited application IS running in interpreted mode and
has hundreds of errors that would keep it from compiling.
As time permits we will occasionally revisit the compilation errors and
work towards a compiled version (but we have not
Good afternoon,
We are in the process of converting an application from 15 to 16 and one of
the first errors that we have encountered came from a line that was setting
the query destination into a variable.
The variable was declared in the on Load form event, and this code has
worked without a
We like to make use of command line tools, and this one was perfect!
https://github.com/miyako/4d-utility-ls4d
On Wed, Jul 18, 2018 at 1:11 AM fpoeck via 4D_Tech <4d_tech@lists.4d.com>
wrote:
> Using Nagios here as well internally.
>
> Services:
> - ping for the obvious
> - 4d using:
>
>
String(Current date(*);" | Short")+Char(13)
> [Approvals];[Approvals]approved:=True
>
> SAVE RECORD([Approvals])
> NEXT RECORD([Approvals])
> End for
> Else
> ALERT("Operation canceled.")
> End if
>
>
>
>
>
Thank you all for the quick feedback!
The approvals table has all records with Approved defaulting to False.
The problem was with not including Set Channel (which is not really what I
wanted to be doing anyways). I must have taken a fork in the road (while
reading the documentation this morning)
Good morning!
I work with a large codebase that has had many developers over the years.
Consequently, when building something new, I will sometimes look to see how
something was done previously. More often it has been the case that I will
go straight to the documentation to see the currently
Good afternoon!
I need to develop a print report that I was hoping would be a as simple as
PRINT SELECTION, however what needs to be printed is not in a single table
(there are at least two tables to get the information from).
The tables are called [Projects] and [Approvals]
One project can have
14 matches
Mail list logo