Re: How to use Process Tags with c-objects?

2016-10-31 Thread Kirk Brooks
Hi Tom, Yeah, nice summary of working with tags. And yeah I am playing with doing some processing in the tags after reading Charlie Voss' tech note from last year or so. In general I build my 4D side methods to generate c-obj/JSON as output. I was playing with the idea of being able to produce

Re: How to use Process Tags with c-objects?

2016-10-30 Thread Kirk Brooks
Hi Miyako, Yes, that's what I do now to initiate a page and then parse with js. After a little more playing around I find this works: We don't currently have any way to iterate over elements of an array within the object but this is something to work with. 2016-10-30 15:53 GMT-07:00 Keisuke

Re: How to use Process Tags with c-objects?

2016-10-30 Thread Lee Hinde
Ah, R release. Thanks! > On Oct 30, 2016, at 7:15 PM, Keisuke Miyako wrote: > > "Alternative syntax for 4DTEXT, 4DHTML, 4DEVAL" > > http://doc.4d.com/4Dv15R5/4D/15-R5/4D-Transformation-Tags.300-2936578.en.html > > since 15R4 > >> 2016/10/31 9:19、Lee Hinde

Re: How to use Process Tags with c-objects?

2016-10-30 Thread Lee Hinde
re: var obj = $4DHTML(JSON Stringify(whatever)); Say what? What's that $syntax? 2016-10-30 15:53 GMT-07:00 Keisuke Miyako : > > > var obj = $4DHTML(JSON Stringify(whatever)); > > or > > var obj = ; > > > >

Re: How to use Process Tags with c-objects?

2016-10-30 Thread Douglas von Roeder
Kirk: The code below is used to populate dynamic variables with data coming in from SAP via XML: *C_LONGINT*($index_L) *For *($index_L;1;*OT_SizeOfArray * ($orderListHandle_L;"$orderDetailObjectNames_AT")) * C_TEXT*($objectName_T) $objectName_T:=*OT_GetArrayText *

How to use Process Tags with c-objects?

2016-10-30 Thread Kirk Brooks
I haven't used Process Tabs very much but it is promising. I use javaScript and jQuery to turn JSON into web pages and web areas. I thought I'd look at doing this on the 4D side with process tags but I can't find a clean way to process data from a c-object. All my solutions are overly involved