Audit Trail

2017-07-19 Thread Jody Bevan via 4D_Tech
We have written full audit trails with previous applications. They are not 
simple to ensure everything gets audited, and everything recorded, and then be 
able to display any record at a point in time.

I like the new command LOG FILE to JSON that was added in v15R4. It seems like 
a great opportunity to get the 4D engine to do most of the work of creating a 
complete Audit Trail for us (Add did a presentation at 2016 Summit). 

From what I have investigated in doing this thus far it will be important to 
import the Journal file information several times through the ‘day’. The 
command New Log File is great for letting us control when this can occur as we 
would want to let our System Admins set up how often the Audit Trail is 
updated. The only problem I see thus far is that the command New Log File only 
works on 4D Server. Therefore this type of Audit Trail cannot work on a Stand 
alone application.

I hope that I am missing something in regard to how we can do this. 

Any suggestions? Any sage advice for me?

Thanks


Jody Bevan
ARGUS Productions Inc.
Developer

Argus Productions Inc. 



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

Re: OBJ Module Update

2017-07-19 Thread Douglas von Roeder via 4D_Tech
Cannon:

Heh, I just complained — *you* wrote the code! :-)

--
Douglas von Roeder
949-336-2902

On Wed, Jul 19, 2017 at 3:12 PM, Cannon Smith via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I had a suggestion from Douglas von Roeder to add a method that returns
> the size of an array inside an object to the OBJ Module. I’ve done this. If
> anyone is interested, the method added is named OBJ_Get_ArraySize and the
> updated module can be found here:
>
> 
>
> Thanks, Doug.
>
> --
> Cannon.Smith
> Synergy Farm Solutions Inc.
> Hill Spring, AB Canada
> 403-626-3236
> 
> 
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

OBJ Module Update

2017-07-19 Thread Cannon Smith via 4D_Tech
I had a suggestion from Douglas von Roeder to add a method that returns the 
size of an array inside an object to the OBJ Module. I’ve done this. If anyone 
is interested, the method added is named OBJ_Get_ArraySize and the updated 
module can be found here:



Thanks, Doug.

--
Cannon.Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236




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

Re: Collections in v16R4

2017-07-19 Thread Kirk Brooks via 4D_Tech
Yea!

Does SDI provide the same flexibility we have on Macs when working with
multiple monitors? It's a real pain getting multiple monitors configured to
"see" the MDI on more than one at a time.

On Wed, Jul 19, 2017 at 2:03 AM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> you can open multiple windows using SDI, each with its own menu bar.
> but many developers who requested SDI support seem to have a single window
> app in mind.
>
> SDI is only available for engined applications.
> since SDI is not (yet) available in the design environment.
> for now, you can't quickly "switch to application mode" to actually see
> the difference.
>
> there is not doubt SDI is going to offer many new possibilities.
> but of course if you like, you can leave the new checkbox deactivated.
>
> it is possible to launch multiple instances of 4D (except built
> applications, there is a blocking mechanism to prevent the same
> structure/data being opened multiple times) by just double-clicking the
> icon over and over again.
>
> where SDI or not, all instances of 4D will be grouped and minimised just
> like any Windows application.
>
> 2017/07/19 16:37、Paul Dennis via 4D_Tech <4d_tech@lists.4d.com d_t...@lists.4d.com>> のメール:
> I may sound like a Luddite but I like MDI much neater to be able to
> minimise
> a whole app in one click or is that possible with SDI ?
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 
Kirk Brooks
San Francisco, CA
===

*The only thing necessary for the triumph of evil is for good men to do
nothing.*

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

CanvasJS on Windows 8

2017-07-19 Thread Paul Lovejoy via 4D_Tech
Hi,

We’ve been using CanvasJS on a v12 and v15 app running on Mac. We just tested 
it on Windows 8 and we get an error 1010 saying “The specified module could not 
be found”. For some reason it won’t load, and is not available within the app.

Has anyone used CanvasJS on Windows? Do you have this problem?


Cheers,


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

Re: Image Export to Excel

2017-07-19 Thread Keisuke Miyako via 4D_Tech
the component was meant to be a simple demonstration of how one can call 
AppleScript and VBA from 4D.
it was never meant to be an "out of the box" kind of production tool.

if possible, you should consider writing your own script rather than using the 
component "as is".
calling those segmented commands is going to be extremely slow and inefficient.

Google "AppleScript excel insert image" or "VBA excel insert image"
you should find lots of examples.

> 2017/07/19 17:13、Douglas Cryer via 4D_Tech <4d_tech@lists.4d.com> のメール:
> I use the excel component written by Miyako to output all kinds of data to 
> excel.  I want to be able to insert images into some spreadsheets, either as 
> actual images or via URL’s which can then be transformed in some way.
> Does anyone have a method / technique of doing this that they are willing to 
> share?



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

Re: Collections in v16R4

2017-07-19 Thread Keisuke Miyako via 4D_Tech
you can open multiple windows using SDI, each with its own menu bar.
but many developers who requested SDI support seem to have a single window app 
in mind.

SDI is only available for engined applications.
since SDI is not (yet) available in the design environment.
for now, you can't quickly "switch to application mode" to actually see the 
difference.

there is not doubt SDI is going to offer many new possibilities.
but of course if you like, you can leave the new checkbox deactivated.

it is possible to launch multiple instances of 4D (except built applications, 
there is a blocking mechanism to prevent the same structure/data being opened 
multiple times) by just double-clicking the icon over and over again.

where SDI or not, all instances of 4D will be grouped and minimised just like 
any Windows application.

2017/07/19 16:37、Paul Dennis via 4D_Tech 
<4d_tech@lists.4d.com> のメール:
I may sound like a Luddite but I like MDI much neater to be able to minimise
a whole app in one click or is that possible with SDI ?



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

Image Export to Excel

2017-07-19 Thread Douglas Cryer via 4D_Tech
Hi all,

I use the excel component written by Miyako to output all kinds of data to 
excel.  I want to be able to insert images into some spreadsheets, either as 
actual images or via URL’s which can then be transformed in some way.

Does anyone have a method / technique of doing this that they are willing to 
share?

Regards,  Dougie


telekinetix Limited- J. Douglas Cryer
Phone : 01234 761759  Mobile : 07973 675 218
2nd Floor Broadway House, 4-6 The Broadway, Bedford MK40 2TE
Email : jdcr...@telekinetix.com   Web : 
http://www.telekinetix.com 

 

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

Re: Collections in v16R4

2017-07-19 Thread Paul Dennis via 4D_Tech
I may sound like a Luddite but I like MDI much neater to be able to minimise
a whole app in one click or is that possible with SDI ?



--
View this message in context: 
http://4d.1045681.n5.nabble.com/Collections-in-v16R4-tp5753225p5753229.html
Sent from the 4D Tech mailing list archive at Nabble.com.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**