RE: 4D 15.3HF1 OSX 10.12.4 - is 4D v15.4 the best answer.

2017-03-29 Thread David Ringsmuth via 4D_Tech
Timothy, Great answer. A little more difficult to implement. Thanks! David Ringsmuth From: Timothy Penner via 4D_Tech Sent: Wednesday, March 29, 2017 4:32 PM To: Timothy Penner via 4D_Tech Cc: Timothy Penner Subject: RE: 4D 15.3HF1 OSX 10.12.4 - is 4D v15.4 the best answer. Hi David,

Re: XML or rest services

2017-03-29 Thread Tom DeMeo via 4D_Tech
Chuck, 4D Tags will help you compose, but they won’t help you parse. If you get an response from a request, whether XML or JSON, you will start with text. If you use XML, see the XML DOM commands. You would use DOM Parse XML source. You can then use commands in the XML DOM theme to inspect

Re: v13 - Converting a v12 data file - missing records

2017-03-29 Thread Chip Scheide via 4D_Tech
that is where I am on this, there is only 1 data file to convert... I have the missing records exported to text, and they import correctly. I'll run MSC just to be sure, then check whether I have to import... Thanks On Wed, 29 Mar 2017 14:27:08 -0700, Kirk Brooks via 4D_Tech wrote: > > If you

RE: 4D 15.3HF1 OSX 10.12.4 - is 4D v15.4 the best answer.

2017-03-29 Thread Timothy Penner via 4D_Tech
Hi David, Honestly I focused on the v15.3HF1 vs 15.4 on macOS 10.12.x part of the question and completely missed that mention DDOS at all… Sorry. To be clear though, there is no v15.5 (yet) - there is a v15.4HF2 released a few days ago. The DDOS thread was solved by using v15R5 however this

Re: v13 - Converting a v12 data file - missing records

2017-03-29 Thread Kirk Brooks via 4D_Tech
Chip, I'm going to guess the issue was with the Parent records. What is it? It could be a number of things especially if this is a mature project that's already been through several previous upgrades. My first hunch is that there's something in the data of a few fields that's causing some esoteric

Re: v13 - Converting a v12 data file - missing records

2017-03-29 Thread Chip Scheide via 4D_Tech
relation is 'direct', manual relation [requistion] <-- [Req_Items] MCS - I'll do that before the final conversion On Wed, 29 Mar 2017 16:40:18 -0400, Charles Miller via 4D_Tech wrote: > On Wed, Mar 29, 2017 at 4:37 PM, Chip Scheide via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> So... my

Re: XML or rest services

2017-03-29 Thread Tom DeMeo via 4D_Tech
Chuck, REST can return JSON or XML. JSON is always easier to work with than XML. You just parse the response into an object variable, then work with that. C_LONGINT($vl_ResponseStatusCode) C_BLOB($vx_Response) C_OBJECT($vo_Response) C_TEXT($vt_URL) C_TEXT($vt_JSONText) $vt_URL:= “Build Your

Re: v13 - Converting a v12 data file - missing records

2017-03-29 Thread Charles Miller via 4D_Tech
On Wed, Mar 29, 2017 at 4:37 PM, Chip Scheide via 4D_Tech < 4d_tech@lists.4d.com> wrote: > So... my question is: > What is going on?? > Why are the parent and child records missing? > Ideas? > > Thanks > No idea but - how are they related? Also I might want to run MSC on v12 before convert on a

v13 - Converting a v12 data file - missing records

2017-03-29 Thread Chip Scheide via 4D_Tech
So - I m moving a v12 application to v13 (I'm getting closer to current version : ) ) I am testing the conversion of the data file. There are structural changes between the versions. I took a copy of the live (v12) data file, and opened it in the new structure (v13) 4D converted the datafile,

RE: 4D 15.3HF1 OSX 10.12.4 - is 4D v15.4 the best answer.

2017-03-29 Thread David Ringsmuth via 4D_Tech
Tim, Thanks for responding! We went to v15.3HF1 as a stop gap, because 15.2 was crashing on OSX 10.12.4. Why did you not recommend 4D v15.5? In a DOS attack posted here it performed without crashing, whereas 4D v15.4 crashed. David Ringsmuth From: Timothy Penner via 4D_Tech Sent: Wednesday,

RE: 4D 15.3HF1 OSX 10.12.4 - is 4D v15.4 the best answer.

2017-03-29 Thread Timothy Penner via 4D_Tech
Hi David, Regarding macOS Sierra 10.12.x and comparing v15.3 to v15.4 I would say that 15.4 is the only answer (not just best). v15.3 is not certified for Sierra and a compatability note exists in the release notes:

Re: 4D Write Pro using expressions with XML merge file (or JSON)

2017-03-29 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Bruno, Because it is easy to use xpath in 4D and easy to generate XML in Oracle this is exactly why I think this is a nice solution. I am glad you think the same:-) I assume one can also use attributes in xpath in 4D. Gr, Piotr Op 29 mrt. 2017 21:37 schreef Bruno LEGAY

Re: XML or rest services

2017-03-29 Thread Charles Miller via 4D_Tech
On Wed, Mar 29, 2017 at 3:23 PM, Ortwin Zillgen via 4D_Tech < 4d_tech@lists.4d.com> wrote: > > 4D tags work just fine for creating XML I know that what I need to know is how to get data from XML into 4D without having access to source. I would have thought I could use 4D tags. That is question

Re: How to collapse/expand all panes in Property List (v16)

2017-03-29 Thread Kirk Brooks via 4D_Tech
Keith, Bear in mind I'm only talking about the Properties List that's available in development mode. I haven't seen anything on the end-use side involving this. So it's probably not too big a deal. I think if it were more folks would have seen it and said something. On Wed, Mar 29, 2017 at 11:35

Re: XML or rest services

2017-03-29 Thread Ortwin Zillgen via 4D_Tech
> Thanks that's kind of what I thought you would then use 4d tags to get data > into table and fields. Is that correct? Sorry for being dense but I do not do > any of this type of coding. 4D tags work just fine for creating XML Grüße/regards Ortwin Zillgen >

Re: How to collapse/expand all panes in Property List (v16)

2017-03-29 Thread Keith Goebel via 4D_Tech
If this disparity between 32 bit 4D and 64 bit 4D exists for other than the developer interface stuff, !hat’s quite scary thought! With testing done in standalone and deployed on server = server could have bugs not there in test version. That also means 2 complete sets of testing is required -

RE: 4D Write Pro using expressions with XML merge file (or JSON)

2017-03-29 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Koen, The reason I tend to XML is that I am planning to generate the merge data in Oracle Only since Oracle 12c plus there are some JSON functions So as I see it XML is kind of the standard in Oracle Have you done something like I am planning to do in 4D Write? I am hoping for someone having

Re: XML or rest services

2017-03-29 Thread Chuck Miller via 4D_Tech
Thanks that's kind of what I thought you would then use 4d tags to get data into table and fields. Is that correct? Sorry for being dense but I do not do any of this type of coding. Regards Chuck Sent from my iPhone > On Mar 29, 2017, at 12:39 PM, Bruno LEGAY via 4D_Tech

XML or rest services

2017-03-29 Thread Bruno LEGAY via 4D_Tech
Hi, Since v13, you have a native http client, so it is easy to POST or GET some xml data over HTTP. So in essence : post : 1. create dom 2. set values in dom 3. export dom to xml blob 4. free dom 5 HTTP POST xml blob get 1. HTTP Get into a blob 2. Parse blob into a dom 3. read data in

4D 15.3HF1 OSX 10.12.4 - is 4D v15.4 the best answer.

2017-03-29 Thread David Ringsmuth via 4D_Tech
We’ve had 2 crashes on 4D Server with the HTTP thread. For us this is a rather higher-volume site. I’ve seen here 4D v15.4 seems to perform well in this area in particular – it survived DOS attack simulation. We are looking for suggestions and insight. Are there issues with 4D v15.4 that

Re: y2038 -- is 4D ready?

2017-03-29 Thread Alan Chan via 4D_Tech
I agree. Longint for sequence number would definitely outlast me:-( Alan Chan 4D iNug Technical <4d_tech@lists.4d.com> writes: >last I knew (this could easily have changed) >Sequence number range is +/- MAX LONGINT (so ~2.1 x 10^9) > > >On Wed, 29 Mar 2017 18:38:56 +0800, Alan Chan via 4D_Tech

Re: How to digitally sign an XML document

2017-03-29 Thread Bruno LEGAY via 4D_Tech
Hi, > How to digitally sign an XML document The signature of xml document is pretty well standardized by the xmldisg which is a W3C spec. We have written a v15 component to sign a soap request with xmldsig. To do this I used 4D php fastcgi for openssl commands and xml canonicalization. The

Re: y2038 -- is 4D ready?

2017-03-29 Thread Chip Scheide via 4D_Tech
last I knew (this could easily have changed) Sequence number range is +/- MAX LONGINT (so ~2.1 x 10^9) On Wed, 29 Mar 2017 18:38:56 +0800, Alan Chan via 4D_Tech wrote: > 4D would support 64bit integer by then. If not, sequence number (or > auto-increment) would be the first one to get in

Re: y2038 -- is 4D ready?

2017-03-29 Thread Alan Chan via 4D_Tech
4D would support 64bit integer by then. If not, sequence number (or auto-increment) would be the first one to get in trouble. Alan Chan 4D iNug Technical <4d_tech@lists.4d.com> writes: >so code to convert date to epoch time like that one just recently discussed >(Re: [4DTidbits Blog] Epoch &

Re: 4D Write Pro using expressions with XML merge file (or JSON)

2017-03-29 Thread Koen Van Hooreweghe via 4D_Tech
Hi Piotr, I would advise JSON or rather 4D objects. 4D objects and JSON are not exactly the same, but very closely related. JSON is actually a text representation of a 4D object. The 4D debugger handles objects nicely too. You can store your data into a 4D object and then retrieve the values

4D Write Pro using expressions with XML merge file (or JSON)

2017-03-29 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi All, We are using 4D Write for about 20 years now. With 4D v16R2 we think it is time to migrate to 4D Write Pro. One thing we use a lot is expressions to merge data with document templates. We don't use 4D records but we use 4D for OCI to connect to an Oracle database. 20 years ago we didn't