Collection of Telemetry Data

2018-11-08 Thread Robert ListMail via 4D_Tech
I know that Jody has some expertise on this where he rolled his own remote data 
mirror. In my case, I just want my apps to phone home via the magic of the 
internet.  I’d like to collect usage data to see what areas and features are 
used. I imagine this data would be collected in local tables and synced to 
another 4D database every night. In addition, I suppose licenses for vertical 
market apps could be verified or could be extended or validated after payments 
for continued service is satisfied. So, I have a lot of ideas on what could be 
measured. I’m not sure how best to get that data over the internet to another 
database. I assume this type of data could be sent via http without special  
port forwarding on corporate routers. Thoughts? How does your app phone home? 
And do you like what it has to say? :)

Thanks,

Robert

Sent from my iPhone
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D Authentication Strategy...

2018-11-08 Thread Robert ListMail via 4D_Tech
I’ve inherited many 4D databases over the years and some have a custom password 
system and some use the built in 4D system or a hybrid approach. I know that 4D 
also allows authentication via Active Directory (single sign on) but I’ve not 
implemented that. So, I’m looking to enhance a few legacy systems and wanted to 
consider my authentication strategy... I’ll probably want to keep the users and 
groups in the data file so that the data would always be valid after structure 
changes and to store more data about each user. Also, what if users could 
register on the system and use the system to reset passwords and such just like 
a public web site, this would lighten the load for the admin... I know this was 
all the rage 20 years ago. So, have you rolled your own password system in 4D? 
What are the key benefits in your situation?

Thanks,

Robert

Sent from my iPhone
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Forms Stop Receiving Certain Events

2018-11-08 Thread Sandor Szatmari via 4D_Tech
Has this ever happened to anyone?  UI Elements on certain forms appear to have 
stopped receiving certain events.  This form and related code that have been 
functioning for many many years.  I was adding an additional page to the form 
when this started happening.  I did not edit or change the code or properties 
on any of the other pages/ui elements.  Any help in tracking down the cause 
would be helpful and greatly appreciated.  I do have backups but I don't want 
to roll back the database because it is an active database where data is added 
every day.  I am under the impression that you cannot roll back the interface 
programming separately from the actual data.  An example is below.





Platform: MacOSX (10.11.6)
4D Version: v15 R5


Here's an example…


A Popup button, has 'On Load', 'On Clicked' and 'On Unload' enabled in the 
property list (i.e. checked off').


The object method for the popup has a case statement for reacting to these 
events. (The rest of the code is removed for brevity)



 
$TheEvent:=Form event 
Case of  
 : ($TheEvent=On Load) 
 
 ALERT("Load") 
 : ($TheEvent=On Clicked) 
   ALERT("Clicked")  
 : ($TheEvent=On Unload) 
   ALERT("Unload")  
End case 


The only alert that is displayed is the unload alert.  


How can I figure out where this the events are being lost/swallowed.


Thanks in advance,
Sandor Szatmari



















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: subtables issue

2018-11-08 Thread Keisuke Miyako via 4D_Tech
the _o_ prefix is primarily telling you to stop using it in new code.

(you will no longer find it in type-ahead, for example)

it also allows you to find and remove them in existing code,
but the level of urgency varies;

some are not 64-bit ready,
some have a superior (preemptive, object based, simple...) successor,
some are just old-fashioned (require process or inter-process variables, 
pointers, etc.) and "not cool".

so you can't generalise all _o_ commands as if they were a liability.

---

as for sub-tables, ORDA completely changes how you look at related records.
they belong to a different table, or a data class, like in SQL,
but in code there are accessible as entities of the master table,
as if they were sub-fields or sub-sub-fields.

2018/11/04 6:29、Robert ListMail via 4D_Tech 
<4d_tech@lists.4d.com>のメール:
Are you suggesting that I leave the old “_o_” commands in place on a converted 
V17 database?


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: How to get a list of all user windows?

2018-11-08 Thread Pat Bensky via 4D_Tech
Aha! Yes, that'll work, thanks John.

On Thu, 8 Nov 2018 at 20:16, John DeSoi via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> You could use the Window process function find the process number. Then
> use the "origin" parameter of PROCESS PROPERTIES to determine which
> processes belong to the design process.
>
> John DeSoi, Ph.D.
>
>
> > On Nov 8, 2018, at 1:46 PM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > The WINDOW LIST function creates a list of ALL open windows, including
> > method windows. Is there any way to get a list of only the user windows?
> > (IE, ones that are open in the runtime environment).
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: How to get a list of all user windows?

2018-11-08 Thread Paul Lovejoy via 4D_Tech
It probably won’t help you... but I have a sort of toolbox through which the 
launching of all processes and the opening and closing of their respective 
windows go. I also use it for sending and receiving messages between processes. 

Paul 

> On 8 Nov 2018, at 21:16, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> wrote:
> 
> You could use the Window process function find the process number. Then use 
> the "origin" parameter of PROCESS PROPERTIES to determine which processes 
> belong to the design process.
> 
> John DeSoi, Ph.D.
> 
> 
>> On Nov 8, 2018, at 1:46 PM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> The WINDOW LIST function creates a list of ALL open windows, including
>> method windows. Is there any way to get a list of only the user windows?
>> (IE, ones that are open in the runtime environment).
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: How to get a list of all user windows?

2018-11-08 Thread John DeSoi via 4D_Tech
You could use the Window process function find the process number. Then use the 
"origin" parameter of PROCESS PROPERTIES to determine which processes belong to 
the design process.

John DeSoi, Ph.D.


> On Nov 8, 2018, at 1:46 PM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> The WINDOW LIST function creates a list of ALL open windows, including
> method windows. Is there any way to get a list of only the user windows?
> (IE, ones that are open in the runtime environment).

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: versioning in 4D

2018-11-08 Thread Charles Miller via 4D_Tech
Thanks. I fouind wha I was looking for as the developer who did compile
sent me the build xml. What I needed to know was the version not of 4D, but
of this once built and deployed.

Thanks any way

Regards

Chuck

On Thu, Nov 8, 2018 at 3:00 PM Tim Nevels via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> On Nov 8, 2018, at 1:31 PM, Charles Miller  wrote:
>
> > Does anyone know when I assign a version to a build of server, where that
> > data is stored and where that might be so I can manually modify that
> number
> > to do some testing
>
> If you are talking about the “Product Version” that is displayed in the
> “Details” tab when you open the “Properties” window for the .exe file on
> Windows, you can set that when you build the 4D Server application.
>
>
> https://www.dropbox.com/s/kcsnrk6x672oksv/Screen%20Shot%202018-11-08%20at%201.54.02%20PM.PNG?dl=0
>
> Do this with some XML build keys:
>
> $xPath_t:="/Preferences4D/BuildApp/Versioning/Common/CommonVersion"
> $value_t:=$newVersion_t
> DOM SET XML ELEMENT VALUE($buildAppXMLref_t;$xPath_t;$value_t)
>
> $xPath_t:="/Preferences4D/BuildApp/Versioning/Common/CommonCopyright"
> $value_t:=$newVersion_t+" ©1998-"+String(Year of(Current date))+"
> Innovative Solutions & The Midland Group"
> DOM SET XML ELEMENT VALUE($buildAppXMLref_t;$xPath_t;$value_t)
>
> If you are talking about the build number of 4D retrieved with the
> “Application version” command and the build number option, it always
> returns “0” for a built application. The docs tell you this. No way to
> natively know what 4D build was used when you built your merged with 4D
> Server application, or merged with 4D Volume Desktop 4D Client application.
> You have to store this info somewhere yourself and not use the “Application
> version” command.
>
> Tim
>
> *
> Tim Nevels
> Innovative Solutions
> 785-749-3444
> timnev...@mac.com
> *
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server connectivity
  http://www.informed-solutions.com
-
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is 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.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: versioning in 4D

2018-11-08 Thread Tim Nevels via 4D_Tech
On Nov 8, 2018, at 1:31 PM, Charles Miller  wrote:

> Does anyone know when I assign a version to a build of server, where that
> data is stored and where that might be so I can manually modify that number
> to do some testing

If you are talking about the “Product Version” that is displayed in the 
“Details” tab when you open the “Properties” window for the .exe file on 
Windows, you can set that when you build the 4D Server application.

https://www.dropbox.com/s/kcsnrk6x672oksv/Screen%20Shot%202018-11-08%20at%201.54.02%20PM.PNG?dl=0

Do this with some XML build keys:

$xPath_t:="/Preferences4D/BuildApp/Versioning/Common/CommonVersion"
$value_t:=$newVersion_t
DOM SET XML ELEMENT VALUE($buildAppXMLref_t;$xPath_t;$value_t)

$xPath_t:="/Preferences4D/BuildApp/Versioning/Common/CommonCopyright"
$value_t:=$newVersion_t+" ©1998-"+String(Year of(Current date))+" Innovative 
Solutions & The Midland Group"
DOM SET XML ELEMENT VALUE($buildAppXMLref_t;$xPath_t;$value_t)

If you are talking about the build number of 4D retrieved with the “Application 
version” command and the build number option, it always returns “0” for a built 
application. The docs tell you this. No way to natively know what 4D build was 
used when you built your merged with 4D Server application, or merged with 4D 
Volume Desktop 4D Client application. You have to store this info somewhere 
yourself and not use the “Application version” command.

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

How to get a list of all user windows?

2018-11-08 Thread Pat Bensky via 4D_Tech
The WINDOW LIST function creates a list of ALL open windows, including
method windows. Is there any way to get a list of only the user windows?
(IE, ones that are open in the runtime environment).

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Cannot Dismiss Form When Compiled... (Robert ListMail)

2018-11-08 Thread Robert ListMail via 4D_Tech
Tim, you nailed it. I knew the approach was rudimentary ("super legacy”) but it 
just seemed to work (and I was okay with that for now) and I couldn’t find 
anything in the docs that suggested that Modify Selection should be called with 
a preceding explicit Open Form Window and in it’s own process. 4D TS was 
thinking (first thought) that one of the objects on the form might be damaged… 
after deleting all form objects except the button the behavior continued. 
Putting that legacy code in a new process seems to have solved the problem. For 
the moment, the request has been to get this app running on v17 with minimal 
changes. It’s one of those things that the more you look at it the more work 
needs to be done. 

Thanks,

Robert

> On Nov 7, 2018, at 2:25 PM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Is there an “Open window” company anywhere to be found, or is this all 
> running in the default 4D splash screen window? That could be the issue. Need 
> to stop using that window and process and start creating new processes and 
> doing explicit “Open window” commands in the new processes. That’s the new 4D 
> way. The single-window-never-open-a-window way is super legacy and is being 
> left behind rapidly by 4D engineering. My opinion.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D/Drupal Commerce Integration - Consultant Sought

2018-11-08 Thread David Rose via 4D_Tech
I work for an organization that is considering the integration of two systems, 
one built with 4D, one with Drupal Commerce/MySQL.
We would like to engage the services of an experienced 4D developer who also 
has experience with Drupal in general and Drupal Commerce in particular.
The consultant's task will be to analyze all of the functionality in the two 
systems, and determine:
1. Whether it will be most prudent to keep the 4D system and port all of the 
existing Drupal functionality to it, or vice versa, or leave things as is.
2. If we don't leave things as is, what the estimated time required will be to 
accomplish the integration. (Two estimates will be required: one for a Drupal 
to 4D integration, one for a 4D to Drupal integration.) 

We have budgeted for approximately 50-100 hours of work to analyze our systems 
and produce a report with recommendations and cost estimates.

If you are interested in this job, please reply directly to me via email:
David Rose
drose...@gmail.com

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

versioning in 4D

2018-11-08 Thread Charles Miller via 4D_Tech
Hi All,

Does anyone know when I assign a version to a build of server, where that
data is stored and where that might be so I can manually modify that number
to do some testing

Thanks

Chuck

-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server connectivity
  http://www.informed-solutions.com
-
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is 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.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D and SafeSign Identity Client

2018-11-08 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi,

I need to use a card reader in our 4D software
The authority that provides the card, wants us to use the SafeSign Identity 
Client

Does anybody have experience using SafeSign Identity Client along with 4D?

Gr,
Piotr

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**