Re: SOAP Parameter Limit (Sujit Shah)

2018-05-18 Thread Wayne Stewart via 4D_Tech
If I needed to pass that many parameters I'd pass them as a JSON string. One text parameter containing as many as you want. Regards, Wayne Wayne Stewart about.me/waynestewart On 18 May 2018 at 19:10, Bruno LEGAY via 4D_Tech <4d_tech@lists.4d.com> wrote: > Hi, > > I don't think I have

Re: SOAP Parameter Limit (Sujit Shah)

2018-05-18 Thread Bruno LEGAY via 4D_Tech
Hi, I don't think I have tried to send soap call with that many parameters. Anyway it is not that complicated to create your own soap calls (it is xml over http). Let me know if you want more infos on how to do this. HTH Bruno

Re: SOAP Parameter Limit (Sujit Shah)

2018-05-18 Thread Sujit Shah via 4D_Tech
Agree XML or JSON would be best. At this stage only providing support to an existing web service. On Fri, May 18, 2018 at 7:51 PM, Wayne Stewart via 4D_Tech < 4d_tech@lists.4d.com> wrote: > If I needed to pass that many parameters I'd pass them as a JSON string. > > One text parameter containing

Re: Pointer to field using field name

2018-05-18 Thread Arnaud de Montard via 4D_Tech
> Le 17 mai 2018 à 19:24, Alan Tilson via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > [...] > Is there something wrong with this? > > EXECUTE FORMULA("$pField:=->["+tablename+"]"+fieldname) > ​ > It seems to work and it also seems like it would be fast! Not sure, it calls the interpreter

Re: v13+ Constants (xlif) and Components, followup

2018-05-18 Thread Chip Scheide via 4D_Tech
if so.. if the host defines that same constant name (also in an xlif file) BUT the constant has a value which is different in the host vs the component which value is used? ex: Component constant 'My_Constant' ="My_Text" Host constant 'My_Constant' = "Some other text" when the host uses

v13+ Constants (xlif) and Components

2018-05-18 Thread Chip Scheide via 4D_Tech
If I have a constants defined in an xlif file in a component (in the resource folder), can the host 'see' and/or access those constants? Thanks --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

Re: Pointer to field using field name

2018-05-18 Thread Alan Tilson via 4D_Tech
Hello everyone and thank you for your thoughts on this, First I don't ever expect to compile our system since working on it live is a fundamental requirement of our approach, unless that changes of course... Secondly I'm actually using dynamic field names since I am using the field names from

procedurally delete anchored image in 4D Write Pro

2018-05-18 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, Sorry, but I don't see it: How can I procedurally delete an anchored image in a 4D Write Pro document? I know how to select the image with WP SELECT(*;"WParea";$image_object) But then what? I hope somebody knows the answer. Gr, Piotr

Re: Pointer to field using field name

2018-05-18 Thread Keisuke Miyako via 4D_Tech
won't 10K could overflow 32-bit integer? I would use 32768 as multiplier... > 2018/05/19 2:03、Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> のメール: > I can't take credit for making it up and I don't recall where I got the > idea from. If you are really worried about a table with more than 1000 >

PDFjs component - display PDFs without a plug-in

2018-05-18 Thread Jeffrey Kain via 4D_Tech
Hey everyone, I've created a component and small demo database that lets you use the open source Mozilla PDFjs framework to display PDFs in a web area without using a plug-in. The PDFs are rendered entirely in JavaScript code and does not require anything extra -- no plug-ins in 4D or your

v13+ - Picture library going forward

2018-05-18 Thread Chip Scheide via 4D_Tech
I have pictures in the picture library I have not converted to v16 or v17 but expect that the pictures are in PICT format what can I do in v13 to not have to convert the pictures when moving to v16+ Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is

RE: v13+ - Picture library going forward

2018-05-18 Thread Timothy Penner via 4D_Tech
Chip, > what can I do in v13 to not have to convert the pictures when moving to v16+ You are at the perfect version to handle this - The tech tip describing what to do was actually published for v13! Tech Tip: A utility to convert PICT images to PNG images http://kb.4d.com/assetid=76775

RE: v13+ - Picture library going forward

2018-05-18 Thread Timothy Penner via 4D_Tech
I forgot to mention, you may want to preserve your transparency during the conversion with this: TRANSFORM PICTURE($Pict_G;Transparency;0x00FF) //0x00FF is white This is discussed in the later tech tip: Tech Tip: Convert PICT images from Picture Library to PNG while preserving the

RE: v13+ - Picture library going forward

2018-05-18 Thread Chip Scheide via 4D_Tech
Thanks On Fri, 18 May 2018 17:08:11 +, Timothy Penner via 4D_Tech wrote: > I forgot to mention, you may want to preserve your transparency > during the conversion with this: > > TRANSFORM PICTURE($Pict_G;Transparency;0x00FF) //0x00FF is white > > This is discussed in the later

Re: Pointer to field using field name

2018-05-18 Thread Kirk Brooks via 4D_Tech
Alan, I'm a little late to this thread and I don't want to muddy the waters but I find working with numeric pointers to fields helpful in these instances. What's a 'numeric pointer'? I do it very simply: (table number * 1000)+field number. This yields a unique value for each field and can be

Re: Pointer to field using field name

2018-05-18 Thread Keisuke Miyako via 4D_Tech
oops you are right! 1 would overflow the max number of tables and fields but won’t have problems with long int. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

Re: Pointer to field using field name

2018-05-18 Thread Arnaud de Montard via 4D_Tech
> Le 18 mai 2018 à 22:41, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > won't 10K could overflow 32-bit integer? > I would use 32768 as multiplier... Why? 2^(32-1) > 2,000,000,000 I use more: $tableAndField:=(100,000*tableNum)+fieldNum -- Arnaud