Strange XML problem

2018-09-18 Thread Pat Bensky via 4D_Tech
Using v17: I'm importing an XML file that has about 250 top-level entities, which each contain a number of entities. ONE of those top-level entities only partially imports. If I open the file in an XML editor, it looks OK and validates OK. If I open it up in BBEdit, it looks perfectly OK. If I

Re: v16 - playing videos stored in the database

2018-09-18 Thread Pat Bensky via 4D_Tech
We use Wistia to manage our videos (https://wistia.com). You have lots of control over the appearance and functioning of each video, and can easily get links to embed in an email, web page, etc. You also get useful stats on who viewed each video, their level of engagement, etc. It's not free of

Re: Debugger - catch whenever a variable changes

2018-09-18 Thread Jim Hays via 4D_Tech
Wow - I completely forgot about that. (right-click and edit the break point formula) Used to use it all the time, but it stopped working in 4D 2004 (I think). It was _super_ useful. Or maybe it would lose the formula if you re-opened it. Seems to be working in v16R6 (Windows). Thanks Chip! Jim

Re: Debugger - catch whenever a variable changes

2018-09-18 Thread Jim Hays via 4D_Tech
Hmmm - replying to a 2 year old message. (But it was worth reading!) Jim On Tue, Sep 18, 2018 at 3:14 PM Jim Hays wrote: > Wow - I completely forgot about that. (right-click and edit the break > point formula) > Used to use it all the time, but it stopped working in 4D 2004 (I think). > It

Re: v16 - playing videos stored in the database

2018-09-18 Thread Jody Bevan via 4D_Tech
Thanks Janie, Tai, and Keisuke for your suggestions. We will look at these and decide which way we want to go. Sincerely Jody Bevan > On Sep 17, 2018, at 11:00 AM, Tai Bui via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi, > > Perhaps the following two Tech Tips can give you an idea on

RE: v13 - SQL alter table, what is wrong?

2018-09-18 Thread Timothy Penner via 4D_Tech
Regarding v13 docs; we have this on the Doc Center doc.4d.com: https://i.imgur.com/czSO9xs.png Hope that helps. -Tim ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options:

Re: Do I want to use SELECTION TO ARRAY instead of GOTO SELECTED RECORD server-side in V17

2018-09-18 Thread Dani Beaubien via 4D_Tech
This has been a very interesting discussion. I decided to test the various techniques using the code I pasted below. Essentially 6 different ways of building up a large text variable. 1) simplest method, add text directly to the variable 2) use a 2048 buffer, add text to a buffer, once that hits

Re: Debugger - catch whenever a variable changes

2018-09-18 Thread Chip Scheide via 4D_Tech
lol -- I had to look at the post date myself, I was thinking "...when did I post that?!?!?" what I have taken to doing is using the runtime explorer in the 'Catch' tab (stop sign) and setting a formula in there (evaluation to TRUE stops execution) I *WISH* that you could copy/paste into the

Storage + new shared collection

2018-09-18 Thread Jonathan Marohn via 4D_Tech
I'm having a problem with adding a new shared collection. when I hit the last "End use" the whole storage become and empty object. Sometimes the storage maintains what was put in but most of the time it ends up in the debugger as storage {} Any insight would be helpful. This is some sample code.

RE: Signing a MacOS Standalone Application - XCode version 9.2

2018-09-18 Thread Timothy Penner via 4D_Tech
Hi Jody, > Launched XCode - yike! the interface is very much different. So no following > the step by step instructions like I thought I would be able to do. What version of XCode and which tech note? I ask because the most recent tech note about application signing doesn’t really include

4D User Blank

2018-09-18 Thread Tom Dillon via 4D_Tech
On two 4D servers running on a Mac Mini the 4D User is occasionally blank. Most of the time they're either all there or mostly not. The Machine name, Session name, etc. columns are always populated, just not the 4D User. Any ideas on what might cause this? Thanks --

Re: Do I want to use SELECTION TO ARRAY instead of GOTO SELECTED RECORD server-side in V17

2018-09-18 Thread David Adams via 4D_Tech
Dani, Thank you, for a very large value of "thank you." I woke up this morning all excited to write some tests, and you had already done the work. It's really great that you took the time to do the tests, to share your conclusions and your test method. Thank you! In my case, I'm not so kind or

Re: Signing a MacOS Standalone Application - XCode version 9.2

2018-09-18 Thread Jim Crate via 4D_Tech
Here’s the script I built to sign a built 4D app. The xattr command will strip all resource forks, so if your app depends on those it won’t run after being signed. And you can’t sign the app if it contains resource forks. It also runs a couple code signing verification commands after signing,

Re: Signing a MacOS Standalone Application - XCode version 9.2

2018-09-18 Thread Wayne Stewart via 4D_Tech
Jody, This is stolen from someone else (but I don't recall who) In Xcode go to prefs choose accounts and add your developer account click manage certificates add a Mac development certificate Go to Keychain access Look for the certificate named Mac Developer: Build your app with 4D (ignore

Re: Signing a MacOS Standalone Application - XCode version 9.2

2018-09-18 Thread Wayne Stewart via 4D_Tech
Jim, Your explanation shows greater understanding of the issue than mine does! Regards, Wayne On Wed, 19 Sep 2018 at 09:54, Jim Crate via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Here’s the script I built to sign a built 4D app. The xattr command will > strip all resource forks, so if

Re: 4D User Blank

2018-09-18 Thread Paul Lovejoy via 4D_Tech
We have that often. However, we once had 20 plus users who were showing as Designer!!! Paul > On 18 Sep 2018, at 23:16, Tom Dillon via 4D_Tech <4d_tech@lists.4d.com> wrote: > > On two 4D servers running on a Mac Mini the 4D User is occasionally blank. > Most of the time they're either all

Signing a MacOS Standalone Application - XCode version 9.2

2018-09-18 Thread Jody Bevan via 4D_Tech
I found out a new client upgraded their Macs to a later version of the OS (High Sierra). Of course the MacOS app I sent them needs to get signed with an Apple Certificate. I researched the 4D KnowledgeBase, read the tech note on doing it and it seemed easy to use. I downloaded XCode from

Re: Do I want to use SELECTION TO ARRAY instead of GOTO SELECTED RECORD server-side in V17

2018-09-18 Thread John DeSoi via 4D_Tech
Dani, Thanks for taking the time to test this and post your results. I looked at some document generation routines where I was caching some text before writing it out with SEND PACKET (to avoid lots of calls to SEND PACKET with small amounts of text). I changed to a blob cache and it seemed to

Re: Do I want to use SELECTION TO ARRAY instead of GOTO SELECTED RECORD server-side in V17

2018-09-18 Thread David Adams via 4D_Tech
Thanks to John for adding writing to disk to Dani's test set. You make some good points about documents in the modern world. You can probably append to a document all day long and never see any change in speed. Years ago, the legend was that you didn't have to buffer before calling *SEND PACKET*

Volume Shadow Copy

2018-09-18 Thread Keith Goebel via 4D_Tech
Hi all. We are testing 4D v17 on a Winserver 2016 virtual machine. The 64bit compiled/built server application shows "Volume Shadow Copy up and running” on the first page of the server admin window. Googling "Volume Shadow Copy” shows it to be a system that allows backups while an application is

Re: v13 - SQL alter table, what is wrong?

2018-09-18 Thread Chip Scheide via 4D_Tech
I would, but could not find it... all I have/can find is in Japanese. My wife could make sense of it, but unfortunately not me :) On Mon, 17 Sep 2018 18:47:52 -0400, Charles Miller via 4D_Tech wrote: > That’s v14 look at 13 doc which is where I got it from > > Regards > Chuck > > On Mon,

Re: Understanding a Runtime Error message

2018-09-18 Thread Sandor Szatmari via 4D_Tech
Tim, Yes, very helpful and greatly appreciated. Thanks! Sandor Szatmari Senior Software Developer Bristol Capital Inc. - InfoPlus 201 746 7215 www.infoplusonline.com From: Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> To: 4D iNug Technical <4d_tech@lists.4d.com>