Mitch, I stumbled on this a few weeks ago. I think I tracked it down to a compatibility setting Use 4DVAR comments instead of Brackets
I think my database had that turned off. Randy ---------------------------------------------------------------------- Randy Jaynes Senior Programmer and Customer Support http://printpoint.com • (845) 359-0298 • PrintPoint, Inc • 57 Ludlow Lane • Palisades, NY 10964 > On Apr 28, 2017, at 9:44 AM, Mitchell Shiller via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > v14 OSX > > HTML Template: > > <!DOCTYPE html> > <html> > <body> > <p> > <!--#4DTEXT tData--> > </p> > </body> > </html> > > > Method: > > C_TEXT(tHTML;tTemplate;$tPathname;tData) > $tPathname:=Get 4D folder(Current resources folder)+"Templates"+":"+"Test > Template.html" > tTemplate:=Document to text($tPathname) > tData:="Hello There" > PROCESS 4D TAGS(tTemplate;tHTML) > > Result: > > The Template is loaded but tData is not replaced with “Hello There”. i.e. > tHTML is the same as > > > What am I missing? > > Thanks > > Mitch > > > > > > ********************************************************************** > 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 **********************************************************************