Active4D & Java Web Tokens

2020-08-26 Thread Doug Hall via 4D_Tech
Anyone out there validating Java Web Tokens (JWT's) with an Active4D website? I''d like for a third party identity solution (Auth0) to feed into my website, but I see no way to validate the JWTs directly on the server side. That could be a problem. Thanks for any help you can provide. Doug **

Identity Providers

2020-05-28 Thread Doug Hall via 4D_Tech
Has anyone here ever integrated with 3rd party identity providers, like auth0.com? I am beginning an integration project with them, to tie together my Active4D website to a different commercial site, in order to provide our collective users a single sign-on between the two sites. If you've had any

Re: Select Folder Dialog won't go away

2020-05-26 Thread Doug Hall via 4D_Tech
s strictly prohibited. Delivery of this > message to any person other than the intended recipient shall not > compromise or waive such confidentiality, privilege or exemption from > disclosure as to this communication. > > > On May 26, 2020, at 11:55 AM, Doug Hall via 4D_Tech &

Select Folder Dialog won't go away

2020-05-26 Thread Doug Hall via 4D_Tech
When executing this code from a remote connection, my "Select folder" dialog won't close. $saveFolder:=*Select folder*("Select destination folder";Documents folder) *DELAY PROCESS*(*Current process*;5) I put in the delay process in case the dialog wasn't being processed synchronously. The code

Hosts, sessions, and credentials

2020-05-19 Thread Doug Hall via 4D_Tech
Suppose I want to start user interaction on one website (within the same domain) and pass that session/cookie information along to a different host on my same domain. Is that relatively easy to do? For example, If I have a login process that's fed by a json-backed virtual host at api.acme.com and w

Re: Object notation replacement for use of Self in a script

2020-05-18 Thread Doug Hall via 4D_Tech
I can't think of a single instance where iterating in reverse is even necessary. If you're deleting elements of a collection, simply build a new collection of the ones you want to delete. If you do it right, that's easier to read, anyway. Doug On Sat, May 2, 2020 at 12:10 AM Aparajita Fishman via

Bootstrap page links from Active4D

2020-04-03 Thread Doug Hall via 4D_Tech
Active4D's Batch.makeFuseboxLinks is a little limiting, if you're trying to create pagination links that are embedded within an tag, like the kind Bootstrap recommends. < https://getbootstrap.com/docs/3.3/components/#pagination>. Has anyone else here that uses Active4D run across this, and already

Re: 64-Bit Quick Report related fields

2020-03-06 Thread Doug Hall via 4D_Tech
//kb.4d.com/assetid=78424 > > I've heard it said Catalina is the Vista of MacOS. And I am a Mac guy, > btw. > > Having said that I don't see anything in the Tech Tip that relates to the > Quick Report Editor. > > On Thu, Mar 5, 2020 at 12:03 PM Doug Hall via 4D_Tech &

Re: 64-Bit Quick Report related fields

2020-03-05 Thread Doug Hall via 4D_Tech
M Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> wrote: > On Mar 5, 2020, at 2:34 PM, Doug Hall wrote: > > > A few weeks ago, we switched to 4D v17 (64-Bit) so that our users could > run > > Catalina. Today, a user showed me that you can't dig more than one table &g

64-Bit Quick Report related fields

2020-03-05 Thread Doug Hall via 4D_Tech
A few weeks ago, we switched to 4D v17 (64-Bit) so that our users could run Catalina. Today, a user showed me that you can't dig more than one table away from the current table, in the new 64-bit Quick Report Editor. Are we missing something, or is there a way around this? Thanks!

Re: Problem with component

2020-03-04 Thread Doug Hall via 4D_Tech
r! On Tue, Mar 3, 2020 at 3:00 PM Ben Kershaw <4d...@bonaire-diver.com> wrote: > Doug Hall wrote: > > >This particular component is Foundation, but unless it's corrupted > somehow, > >I don't think that's relevant to my problem. While the component structure

Problem with component

2020-03-03 Thread Doug Hall via 4D_Tech
This particular component is Foundation, but unless it's corrupted somehow, I don't think that's relevant to my problem. While the component structure itself validates with a checkmark in the Maintenance Security Center, the structure index doesn't seem to work. I can move my structure index of the

Re: Component methods not properly recognized in parent database

2020-02-13 Thread Doug Hall via 4D_Tech
Well, my component's name is "Foundation_561". (I've changed it a bunch, but I never changed the name.) On Thu, Feb 13, 2020 at 11:32 AM Justin Will wrote: > Doug, > > I recently had this and had to rename my components with sorter names with > no spaces on the server. Was it the shorter name o

Component methods not properly recognized in parent database

2020-02-13 Thread Doug Hall via 4D_Tech
While in my main database, when I use a shared method from a component, the +K shortcut (Goto Definition) directs me to an object method of one of my parent database's input forms. How do I fix this? I've tried throwing away structure indexes, with no success. I'm now using v17.3 Thanks! *

4D Write Pro User Documentation

2020-02-05 Thread Doug Hall via 4D_Tech
Is there a PDF or website where I can point my end users, that will tell them how to use 4D Write Pro and the little widget that comes with it in the Object Database? All I'm seeing is the developer documentation. Thanks! ** 4D In

4D Authentication not working as expected

2020-01-13 Thread Doug Hall via 4D_Tech
I thought I'd replace hand-written code I got from Mark Mitchenall many years ago, since 4D had since come out with two commands (since 15.4?) which theoretically, would make that code unnecessary -- blob to users and users to blob. From what I understood, the users, groups, and modifications made

Re: High Sierra or Mojave?

2019-12-13 Thread Doug Hall via 4D_Tech
Thanks for responding, Bernd! That's exactly what I'll do. Doug On Wed, Dec 11, 2019 at 8:36 AM Bernd Fröhlich via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Doug Hall: > > > I want to stay > > relatively close to the latest OS, but I'm a bit weary of the

Re: High Sierra or Mojave?

2019-12-11 Thread Doug Hall via 4D_Tech
Thanks guys! That's what I wanted to hear. On Wed, Dec 11, 2019 at 8:50 AM Jeffrey Kain via 4D_Tech < 4d_tech@lists.4d.com> wrote: > There's really no need for Catalina in my opinion. No big improvements, > lots more headaches... > > The phrase macOS's Vista is pretty appropriate... :) > > > On D

High Sierra or Mojave?

2019-12-10 Thread Doug Hall via 4D_Tech
I'm upgrading my 4D structure from 4D v15 to v17, to gain 64 bit compatibility on the client side with new Apple hardware. Question: Should I upgrade a late 2014 Mac Mini w/16GB Ram, running Sierra (10.12.6) to High Sierra or Mojave? I'm also using Homebrew on a Web Client machine I'm using, that s

Re: AP Get field infos Properties replacement

2019-12-04 Thread Doug Hall via 4D_Tech
116.en.html> // // User name (OS): Doug Hall // Date and time: 12/04/19, 08:27:43 // // Method: Fld_ForeignKeyDeleteRule // Description: Returns the deletion rule associated with foreign

AP Get field infos Properties replacement

2019-12-03 Thread Doug Hall via 4D_Tech
I use the properties parameter, returned from AP Get field infos command in 4D Pack. This command is now deprecated in v16 and replaced with similar (but not equivalent) commands in v17 itself. With the number 1 and number 2 bits returned in this parameter, I can tell the deletion control settings

Re: 4D Web Server Security

2019-11-26 Thread Doug Hall via 4D_Tech
I use Nginx as a reverse proxy, as well (running on a Mac, though.) I'm in the process of converting to 4D v17, so I can't speak to it's latest performance as a web server, but Nginx has better performance (unless I configured 4D incorrectly) at serving static files than v15. So, I have it set up t

Re: Jumpy forms in 64-bit

2019-11-26 Thread Doug Hall via 4D_Tech
will say that I could never get our > application to function properly on v16 in 64-bit mode. In contrast, on > v17, it fired right up and required minimal changes. Not sure if a v17 > upgrade is possible, but maybe you could try it and see if that just > magically fixes your issue. > >

Re: Jumpy forms in 64-bit

2019-11-22 Thread Doug Hall via 4D_Tech
e you could try it and see if that just > magically fixes your issue. > > > On Nov 22, 2019, at 3:42 PM, Doug Hall via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > > > So, why do my forms jump around in 64-bit mode when resizing th

Jumpy forms in 64-bit

2019-11-22 Thread Doug Hall via 4D_Tech
So, why do my forms jump around in 64-bit mode when resizing the window? They don't do this in the same version, 32-bit app. (v16.6) Doug ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: ht

Re: 4D Write Pro license

2019-11-21 Thread Doug Hall via 4D_Tech
shall not > compromise or waive such confidentiality, privilege or exemption from > disclosure as to this communication. > > > On Nov 5, 2019, at 9:33 AM, Doug Hall via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > > > I'm a bit confused. In converting from v15

Re: Determining if a 4D Write Object has been changed since load.

2019-11-21 Thread Doug Hall via 4D_Tech
If this is necessary to do, it's unfortunate that one has to roll this functionality themselves. Especially since one could do this with the older 4D Write: // // Method: WR_AreaWasModified // Author: dhall // Date and time: 07/19/05,

Re: Convert URL to Windows File Path

2019-11-07 Thread Doug Hall via 4D_Tech
The reason your customer hasn't responded is because this is a rather strange request. Where the document is stored on THEIR web server should make no difference to you. The URL itself is your access to that document, and ANY document they provide a link to. Like Neil suggests, use HTTP Get, to ret

Re: 4D Write Pro license

2019-11-05 Thread Doug Hall via 4D_Tech
Nevermind. I had to associate the Designer to a group that was associated to the license. Thanks! On Tue, Nov 5, 2019 at 8:33 AM Doug Hall wrote: > I'm a bit confused. In converting from v15 to v16, I've encountered a 4D > Write Pro "privilege error" when using the WP

4D Write Pro license

2019-11-05 Thread Doug Hall via 4D_Tech
I'm a bit confused. In converting from v15 to v16, I've encountered a 4D Write Pro "privilege error" when using the WP New() command, even though I have have a valid 4D Developer Professional license installed (which includes an unlimited 4D Write Pro license). I'm trying to convert my 4D Write Blo

Re: Migrating to 4D Write Pro

2019-10-29 Thread Doug Hall via 4D_Tech
n pretty easy. > > You may already be aware, though, that if you are doing any custom > configuration or formatting under program control in Write Classic, all of > that will need to be re-written in Write Pro. > > HTH, > > Tom Benedict > > > On Oct 29, 2019, at

Migrating to 4D Write Pro

2019-10-29 Thread Doug Hall via 4D_Tech
I have the very helpful Knowledge Base article and video for converting to 4D Write Pro. I'm converting from a blob field, so in my particular case, I need to create an object field. In the video, it says you need to first convert to version 7. How do I find out w

Converting PICTs to PNGs

2019-09-30 Thread Doug Hall via 4D_Tech
I'm in the process of converting our main database from v15 to v17. With the exception of a few plugins that I need (updating 4D Write to 4D Write Pro and AreaList Pro 9.9.5 to 10.x), I think I have most of what I need. I used 4D's Knowledgebase solution to "convert" PICT images into PNGs in 4D v16

Can't get to development mode!

2019-03-12 Thread Doug Hall via 4D_Tech
Desktop license installed for the current year. I currently went into Maintenance Mode to rebuild the Data file ( I needed to do this, anyway, and knew so beforehand). However, I'm not so sure I will be able to compile my structure when it gets done! Can someone please quickly throw some ideas

Re: Web Preferences Change on 15.5

2017-11-02 Thread Doug Hall via 4D_Tech
ich point the settings are lost. my > understanding is that it was never the case that the remote settings would > survive 4DC replacement on the server side. > > having said that, since v13, the preferred way to manage such > configuration is to take advantage of user settings. > >

Re: Web Preferences Change on 15.5

2017-11-01 Thread Doug Hall via 4D_Tech
I forgot to mention that it appears the settings are unchanged from the original default settings (like from a new database), on my web server. On Wed, Nov 1, 2017 at 9:17 PM, Doug Hall wrote: > I didn't notice this happening on 4D 15.4, but it seems that now, when I > replace my s

Web Preferences Change on 15.5

2017-11-01 Thread Doug Hall via 4D_Tech
I didn't notice this happening on 4D 15.4, but it seems that now, when I replace my structure on my 4D Server machine, the web preferences (in the Database Settings menu option) change on my 4D Remote (web server) machine. I used to only have to change the default web user, since my development str

Re: Database Settings Publishing Info IP Address - Tip

2017-10-27 Thread Doug Hall via 4D_Tech
I just upgraded from 15.4 to 15.5 and now all of a sudden my Web Client doesn't keep any of the web settings (at least) set on the server machine. Any time I upgrade the server structure, it resets my web settings on my web client back to their default values. HELP! Am I doing something wrong? When

Re: 15.5 The database cannot be published

2017-10-26 Thread Doug Hall via 4D_Tech
Never mind. I just saw the Active4D thread that most likely will fix this. On Thu, Oct 26, 2017 at 9:21 AM, Doug Hall wrote: > After updating to 15.5, I'm getting this error on my Mac web client: "The > database cannot be published. (:Users:: > Library:Caches:4D:<4DC

15.5 The database cannot be published

2017-10-26 Thread Doug Hall via 4D_Tech
After updating to 15.5, I'm getting this error on my Mac web client: "The database cannot be published. (:Users::Library:Caches:4D:<4DCacheFolder>)." Any idea what might be causing this? I removed the cache folder, so that it would recreate it, but it gives the same error. Thanks, Doug **

Re: NGINX Config

2017-10-02 Thread Doug Hall via 4D_Tech
RE: Note if you enable 443 and ssl for any server you must have a cert for all servers listening on 443 you cant mix them up. We only have the one physical server (running 4D in remote mode). You aren't talking about the different domains being served from that one machine are you? SSL certificate

Re: NGINX Config

2017-09-29 Thread Doug Hall via 4D_Tech
I appreciate your time to look this over, David and Jason. I'll definitely check out Nginx Plus, David, thanks. Jason, that's a great idea, to point it to another IP. I happen to have another development server that should do the trick. I'll give it a shot Monday morning. Y'all have a great weekend

Re: NGINX Config

2017-09-29 Thread Doug Hall via 4D_Tech
I am having some problems with my Nginx reverse proxy. I'm running 4Dv15, and Active4D 6.4r3, using the 4D server shell. I have successfully configured two web roots in Active4D, which run on the same 4D Web Client, on port 8010. I have two different host names which are pointed to the same IP addr

Re: Making LOG EVENT thread-safe

2017-09-25 Thread Doug Hall via 4D_Tech
Not having my server crash sounds like a very good reason to use records. At least until a better solution comes along. My 2¢ On Mon, Sep 25, 2017 at 1:03 PM, David Adams via 4D_Tech < 4d_tech@lists.4d.com> wrote: > On Mon, Sep 25, 2017 at 6:06 PM, Jeremy Roussak via 4D_Tech < > 4d_tech@lists.4d

Re: 4D dot releases versus R releases - a metaphor

2017-09-08 Thread Doug Hall via 4D_Tech
What's wrong with using semantic versioning, like the rest of the entire freaking world? On Thu, Sep 7, 2017 at 7:44 PM, Lee Hinde via 4D_Tech <4d_tech@lists.4d.com> wrote: > Not to drill too deeply, but no new features != no new changes. 16.2 for > instance updates the Xerces engine, which appar

Web License issue

2017-09-05 Thread Doug Hall via 4D_Tech
I seem to be missing something in configuring 4D (Remote) to serve web pages, and I thought I'd post here first, before bugging 4D for support. I have my Web Application Expansion license and even a Web Services Expansion for 4D Client license installed and recognized on my 4D Server (v15). I also

Re: Can't delete methods

2017-05-18 Thread Doug Hall via 4D_Tech
No, but when I went to the home tab, I couldn't find the methods -- not even in the subfolders at the bottom of the list. Then, on a whim I looked in the trash and there they were. Just to make sure I wasn't crazy, I went *back* to the methods list, and there they were also. So, I double-checked my

Re: Can't delete methods

2017-05-17 Thread Doug Hall via 4D_Tech
> > -Original Message- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Doug > Hall via 4D_Tech > Sent: Wednesday, May 17, 2017 1:46 PM > To: 4D iNug Technical > Cc: Doug Hall > Subject: Re: Can't delete methods > > I repaired my structure, as

Re: Can't delete methods

2017-05-17 Thread Doug Hall via 4D_Tech
ia 4D_Tech < 4d_tech@lists.4d.com> wrote: > Ah - sometimes the Explorer doesn't completely set itself to the 'area' you > clicked on in the left column. So if you 'think' you've selected the > "Methods" you may not have. Click it again and then try

Re: Can't delete methods

2017-05-17 Thread Doug Hall via 4D_Tech
I'm just clicking the minus sign below the project methods list. Is there another way? On Wed, May 17, 2017 at 9:39 AM, Doug Hall wrote: > Nothing but a system alert sound. > > On Wed, May 17, 2017 at 9:14 AM, Kirk Brooks via 4D_Tech < > 4d_tech@lists.4d.com> wrote: &g

Re: Can't delete methods

2017-05-17 Thread Doug Hall via 4D_Tech
Nothing but a system alert sound. On Wed, May 17, 2017 at 9:14 AM, Kirk Brooks via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Doug, > How are you trying to delete them and what happens when you do? > > On Wed, May 17, 2017 at 7:07 AM, Doug Hall via 4D_Tech < > 4d_tec

Can't delete methods

2017-05-17 Thread Doug Hall via 4D_Tech
I have a few methods that I can't delete. I looked in the method properties and can find nothing out of the ordinary, which might be preventing this. They're not used anywhere in my database, and I even emptied the methods. Can someone please point me in the right direction, here? Thanks, Doug ***

Re: Minute of Silence for the "Altura Toolbox"

2017-04-17 Thread Doug Hall via 4D_Tech
...and they lived happily ever after. The End. :-) On Mon, Apr 17, 2017 at 5:22 PM, Lee Hinde via 4D_Tech <4d_tech@lists.4d.com > wrote: > If I had young children I’d read this to them at bedtime tonight. > > > > On Apr 17, 2017, at 3:04 PM, Peter Jakobsson via 4D_Tech < > 4d_tech@lists.4d.com>

Re: ALP scrollbars appear on another form

2017-03-20 Thread Doug Hall via 4D_Tech
l AL_SetAreaLongProperty($eList; > ALP_Area_Visible;0) > to hide or AL_SetAreaLongProperty($eList;ALP_Area_Visible;1) to show the > area. > > Check the ALP docs for "ghost" scrollbars in the appendix "Troubleshooting > and FAQS". > > > > -- > Douglas

ALP scrollbars appear on another form

2017-03-20 Thread Doug Hall via 4D_Tech
I go into one form that includes a few ALP areas. I double-click on a record displayed in one of them, which leads to another form. This form still has two empty vertical scrollbars from the ALP areas on the previous form. Anyone know how to fix this? Thanks, Doug Hall

Re: Way to get chosen ID field name?

2017-03-03 Thread Doug Hall via 4D_Tech
I actually may use your method. However, does this still work if the 4D SQL server isn't running? I'm kind of new to the SQL part of 4D. On Thu, Mar 2, 2017 at 11:18 AM, Tai Bui via 4D_Tech <4d_tech@lists.4d.com> wrote: > Hi, > > Sorry I spoke too soon, I thought you wanted to find the primary ke

Way to get chosen ID field name?

2017-03-02 Thread Doug Hall via 4D_Tech
In the structure preference panel, there's a "Primary Key" subpanel which allows the designer to choose a default name and type (Longint/UUID) for their database. Is there a way to programmatically collect that name? Thanks! ** 4

Creating button icons with Photoshop

2017-02-09 Thread Doug Hall
Earlier today I ran across directions in the 4D documentation on how to use Photoshop to create the four different layers of of a rollover button picture for 4D. Now, for the life of me, I can't find it. Anyone know right where this is, and could post the link? Thanks!

How to halt execution, to avoid Quit 4D

2017-01-10 Thread Doug Hall
compiled mode. Is this the problem? If so, how do I get it to open back up in interpreted mode? Thanks, Doug Hall ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html

Re: Expunging Char (0)

2016-09-22 Thread Doug Hall
How "legacy" are we talking? Because I plan to use DataCheck on my 4D 2004 database (before conversion to v15), to do exactly this. Just wanted to make sure this old solution hadn't slipped your mind, if it's relevant. Doug On Wed, Sep 21, 2016 at 4:19 PM, Douglas von Roeder wrote: > I've hit

Re: Upgrading 2004 to v15

2016-09-06 Thread Doug Hall
Thanks so much for this. I hadn't heard about the deprecated commands yet, so that tip is sure to be helpful. I'll look up Thomas Maul's Summit session, too. Thanks. Doug On Thu, Sep 1, 2016 at 9:44 AM, Myriad List wrote: > > From: Doug Hall > > To: 4D iNug Tech

Re: Upgrading 2004 to v15

2016-08-31 Thread Doug Hall
I sure appreciate all the helpful posts. Sorry I don't have the time to reply individually, but rest assured I'm paying attention to all the comments. Something tells me I need something like Evernote to help organize all the notes I'm going to be taking. :-) Doug On Wed, Aug 31, 2016 at 3:56 PM,

Re: Upgrading 2004 to v15

2016-08-31 Thread Doug Hall
WOW! Okay, that's great. I imagine I *still* need to read the upgrade manuals for v11 through v14 too, though, right? There may be issues that still apply to me that are not repeated in more recent upgrade manuals. On Wed, Aug 31, 2016 at 9:48 AM, Wayne Stewart wrote: > Doug, > > It should just

Re: Upgrading 2004 to v15

2016-08-31 Thread Doug Hall
s for which a plug was used, are now available in native 4D. > I upgraded ALP to the latest version. There were no major problems with > the 4D code. > Good luck > -pm > > Sent from my iPad > > > On 30 Aug 2016, at 22:30, Doug Hall wrote: > > > > Oops. I acci

Re: Upgrading 2004 to v15

2016-08-30 Thread Doug Hall
> On Aug 30, 2016, at 5:03 PM, Doug Hall wrote: > > > > Thanks for the responses so far! I'm so glad I still have help here! (I'm > > gonna need it.) How wonderful to hear from some of you old-timers -- all > > the way back to the CompuServe days (Douglas von Ro

Re: Upgrading 2004 to v15

2016-08-30 Thread Doug Hall
. I appreciate the offer, though. On Tue, Aug 30, 2016 at 4:45 PM, Chip Scheide <4d_o...@pghrepository.org> wrote: > as for BASH: > list which methods in it you are using. THere are likely bits of code > out there to replace the functionality (if 4D has not already done that) > &g

Re: Upgrading 2004 to v15

2016-08-30 Thread Doug Hall
me? Many thanks ahead of time! Doug Hall On Tue, Aug 30, 2016 at 4:17 PM, Doug Hall wrote: > For various reasons, we have put off upgrading 4D. We originally intended > to just move off of 4D all at once, but that turned out to be impossible. > I've added onto our existing struct

Upgrading 2004 to v15

2016-08-30 Thread Doug Hall
For various reasons, we have put off upgrading 4D. We originally intended to just move off of 4D all at once, but that turned out to be impossible. I've added onto our existing structure in spurts, but for the most part, I've been out of active 4D development for almost a decade, now.So, now I begi