How to avoid newlines from VTL file output

11 views
Skip to first unread message

Visu

unread,
May 12, 2021, 6:35:22 AMMay 12
to dotCMS User Group
We have situation of more blank lines in the JSON output while generating a JSON out of multiple  Lucene query content pulls via a dot file. Is there any solution available for this ?


Will Ezell

unread,
May 12, 2021, 12:24:38 PMMay 12
to dot...@googlegroups.com
Two things - 

First, I would strongly suggest that you try the Scripting API - it uses Velocity/VTLs and gives you the ability to script and just add things to the $dotJSON map and have it returned as "properly" formatted json, no matter what your velocity looks like.  All you need to do is upload a get.vtl file under /application/apivtl/yourapi/get.vtl and then hit 


You can learn more about it here:

Second, if you end your line of Velocity with ## it should escape it and avoid adding new lines, e.g.

#set($content = $dotcontent.find("id")##
#set($test = "testing")##

 

On Wed, May 12, 2021 at 6:35 AM Visu <k.vi...@gmail.com> wrote:
We have situation of more blank lines in the JSON output while generating a JSON out of multiple  Lucene query content pulls via a dot file. Is there any solution available for this ?


--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/4d1f071e-e54d-48e4-a244-1cad7f98bf03n%40googlegroups.com.


--



382 NE 191st St #92150
Miami, Florida 33179-3899
Main: 
305-900-2001 | Direct: 978.294.9429

   

Nathan Keiter

unread,
May 12, 2021, 12:49:01 PMMay 12
to dot...@googlegroups.com
Quick note on velocity comments.


1. They rock and I use them all the time!

2. You can't add the end comment "##" to macro calls or it will break things. #dotParse() etc.

3. You can't have your VTL file end with a comment "##" or it will break things. I.e. last line of vtl file is "#end##"


Also I agree with Will, when building a REST API it's best to do it either via an OSGI plugin or the new Velocity REST API feature. As a plugin builder I prefer the OSGI option, but if you aren't comfortable with that the new feature works as well.

Nathan I. Keiter | Lead Network Applications Programmer | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu<https://www.gettysburg.edu/>
________________________________
From: dot...@googlegroups.com <dot...@googlegroups.com> on behalf of Will Ezell <wi...@dotcms.com>
Sent: Wednesday, May 12, 2021 12:23 PM
To: dot...@googlegroups.com
Subject: Re: [dotcms] How to avoid newlines from VTL file output

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
________________________________
Two things -

First, I would strongly suggest that you try the Scripting API - it uses Velocity/VTLs and gives you the ability to script and just add things to the $dotJSON map and have it returned as "properly" formatted json, no matter what your velocity looks like. All you need to do is upload a get.vtl file under /application/apivtl/yourapi/get.vtl and then hit

https://yoursite.com/api/vtl/yourapi<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fyoursite.com%2fapi%2fvtl%2fyourapi&c=E,1,0a4C5TDl8kzRYTSOsPF3lJMfvLcgYKX2q1bB9vae3aFWYJAydiHV9qach-kPlyASy31liQXawBk6cCzSypKPxJM3AE2auY07n4khD6Uu8DNQb_ybqpYRk6R0hw,,&typo=1>

You can learn more about it here:

https://dotcms.com/docs/latest/scripting-api<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fdotcms.com%2fdocs%2flatest%2fscripting-api&c=E,1,iOjPtCU93is3uotSOuJHvzbTE3kkPVSd-G--K3gsinKitxhxcihI_2qfDsJaXZ0aK812EJ6C86p9IBZODq2fQ70e8xxE_D5VOZ7JCy8Q&typo=1>

Second, if you end your line of Velocity with ## it should escape it and avoid adding new lines, e.g.

#set($content = $dotcontent.find("id")##
#set($test = "testing")##



On Wed, May 12, 2021 at 6:35 AM Visu <k.vi...@gmail.com<mailto:k.vi...@gmail.com>> wrote:
We have situation of more blank lines in the JSON output while generating a JSON out of multiple Lucene query content pulls via a dot file. Is there any solution available for this ?



--
http://dotcms.com<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,9CMkhHDn8VIraq5Deo31vT9OZtcPYQeVyjoyEbah6mBZScjZFuCzG1RjJvW5_BLxww8p-Pn80O0J2sya_crxKTPWN-jjeLwvLJ5EO3jQFYNuLq5yfF93yQ,,&typo=1> - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/4d1f071e-e54d-48e4-a244-1cad7f98bf03n%40googlegroups.com<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2f4d1f071e-e54d-48e4-a244-1cad7f98bf03n%2540googlegroups.com%3futm_medium%3demail%26utm_source%3dfooter&c=E,1,8VDn9aYmb90MDTM-k_VCnRMxCKpZSXDrTA2bEQW5kaq-NI9Bs0H5nxEmh-OlfrfCnw4TTAIXbp5s10FVko21LWWEbXj8y-W9Aasx_E4PE_G_oQo20Q,,&typo=1>.


--
[https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fdotcms.com%2fdA%2f99fe3769-d649%2f256w%2fdotcms.png&c=E,1,EQL03wnYo4dAdy7iVPz8Jz-ILmByj2y2IvEX6PHdr0PCJsHW0weGSqVQ0M3MdZTgcwX6RgZBT2kCvhNJAyTApzu7EuPan0A0ZTtdAxxh7g,,&typo=1]


382 NE 191st St #92150
Miami, Florida 33179-3899
Main: 305-900-2001 | Direct: 978.294.9429

wi...@dotcms.com<mailto:wi...@dotcms.com> | dotcms.com<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.dotcms.com%2f&c=E,1,JPU6JGBmJ4KybGdyCvN7xy_4i_xfr2641f3t0Dpi5Be-QzAhKk2RaXyeZtrB7GdHVmdXvTP9grwXkISoqItbC6dntGGKpw8cfJSSvuJOj1Weo7qfN2YfKSM5NpM,&typo=1>

[https://origin.ih.constantcontact.com/fs172/1109987089110/img/11.png]<https://twitter.com/dotcms> [https://origin.ih.constantcontact.com/fs172/1109987089110/img/14.png] <http://www.linkedin.com/company/dotcms> [https://origin.ih.constantcontact.com/fs172/1109987089110/img/15.png] <https://plus.google.com/+Dotcms> [https://origin.ih.constantcontact.com/fs172/1109987089110/img/13.png] <https://www.facebook.com/dotCMS>

--
http://dotcms.com<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,ECWJ4uNooB6nQXMLyPKdBzX0mGO-WN9oiYDULkChQqu3giM6JZQlxuAV2uGlYub27ss2w_eqvUcrKs0bF8CbFR-ArBXqAICzNW2Lm97dvW0PJfxr&typo=1> - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CAPL0VyHLdGu0mB73JeLX8CJBJQrwuHFqd4GDuz85T8GFgCqhQw%40mail.gmail.com<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2fCAPL0VyHLdGu0mB73JeLX8CJBJQrwuHFqd4GDuz85T8GFgCqhQw%2540mail.gmail.com%3futm_medium%3demail%26utm_source%3dfooter&c=E,1,X7VvnJskWRDbnsI1FZPFksyJ64yjrnNN_pvlYmXFr9CBT9Gpy5iDdVIsccEB8Jq0FsxpV12DHOfTs9fyeDmQpUGtkviaXtAXECyanTC8tI_5lSIDXg,,&typo=1>.

Will Ezell

unread,
May 12, 2021, 1:17:19 PMMay 12
to dot...@googlegroups.com
Thanks @nathan.  The good news is that #dotParse is no longer a macro - you could give it a shot again a see if it works.

--
http://dotcms.com - Open Source Java Content Management

---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1620838137340.41241%40gettysburg.edu.


--



382 NE 191st St #92150
Miami, Florida 33179-3899
Main: 
305-900-2001 | Direct: 978.294.9429

Nathan Keiter

unread,
May 12, 2021, 1:32:27 PMMay 12
to dot...@googlegroups.com
What version brought that change Will? Good to know.

Nathan I. Keiter | Lead Network Applications Programmer | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu<https://www.gettysburg.edu/>
________________________________
From: dot...@googlegroups.com <dot...@googlegroups.com> on behalf of Will Ezell <wi...@dotcms.com>
Sent: Wednesday, May 12, 2021 1:16 PM
To: dot...@googlegroups.com
Subject: Re: [dotcms] How to avoid newlines from VTL file output

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
________________________________
Thanks @nathan. The good news is that #dotParse is no longer a macro - you could give it a shot again a see if it works.

On Wed, May 12, 2021 at 12:49 PM 'Nathan Keiter' via dotCMS User Group <dot...@googlegroups.com<mailto:dot...@googlegroups.com>> wrote:
Quick note on velocity comments.


1. They rock and I use them all the time!

2. You can't add the end comment "##" to macro calls or it will break things. #dotParse() etc.

3. You can't have your VTL file end with a comment "##" or it will break things. I.e. last line of vtl file is "#end##"


Also I agree with Will, when building a REST API it's best to do it either via an OSGI plugin or the new Velocity REST API feature. As a plugin builder I prefer the OSGI option, but if you aren't comfortable with that the new feature works as well.

Nathan I. Keiter | Lead Network Applications Programmer | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.gettysburg.edu&c=E,1,2PyKtGZVSm7VML8hhZ1cJzZw288xghccZ_FWTGeF3jnoyShmQtu9Mhp1UtUMEHx0bWr_RjN70_DHdhG0vj2XKPglQXayOQ19eDtDjNoNTcfa_Vwev_PhHw,,&typo=1><https://www.gettysburg.edu/<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.gettysburg.edu%2f&c=E,1,0OZRVzlVVvRmf0qwA9qNzSFDdsSSyfZN5Fo1AuFCnQW779u-V6BejzFOaGvQ3tspydAnRKBVrJscamhJw_7KUoiSsk7OVbEJG2CEJFa-Ym7agUQxAkw,&typo=1>>
________________________________
From: dot...@googlegroups.com<mailto:dot...@googlegroups.com> <dot...@googlegroups.com<mailto:dot...@googlegroups.com>> on behalf of Will Ezell <wi...@dotcms.com<mailto:wi...@dotcms.com>>
Sent: Wednesday, May 12, 2021 12:23 PM
To: dot...@googlegroups.com<mailto:dot...@googlegroups.com>
Subject: Re: [dotcms] How to avoid newlines from VTL file output

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
________________________________
Two things -

First, I would strongly suggest that you try the Scripting API - it uses Velocity/VTLs and gives you the ability to script and just add things to the $dotJSON map and have it returned as "properly" formatted json, no matter what your velocity looks like. All you need to do is upload a get.vtl file under /application/apivtl/yourapi/get.vtl and then hit

https://yoursite.com/api/vtl/yourapi<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fyoursite.com%2fapi%2fvtl%2fyourapi&c=E,1,yb2dqfN93CPITdIHOaLxF2ABBb9cj7aP4qjdfD0HEIMFM8k04nxu7OO0EcQcpmpFW_Aa8jGRRdegeuboNNbQOK2VL6yX4DY39STFxn1GkfvFTg,,&typo=1><https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fyoursite.com%2fapi%2fvtl%2fyourapi&c=E,1,0a4C5TDl8kzRYTSOsPF3lJMfvLcgYKX2q1bB9vae3aFWYJAydiHV9qach-kPlyASy31liQXawBk6cCzSypKPxJM3AE2auY07n4khD6Uu8DNQb_ybqpYRk6R0hw,,&typo=1>

You can learn more about it here:

https://dotcms.com/docs/latest/scripting-api<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fdotcms.com%2fdocs%2flatest%2fscripting-api&c=E,1,A8-FM7A6vZhbl_-Ax-CrFydfXMBaz08MSQjvUMIeBiYruuB53G5WLYIzKw0eoy8XOwmvNmFoUXDVEgzvJ_COfMo9WiHoWX76cb3-iEzesKqUew,,&typo=1><https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fdotcms.com%2fdocs%2flatest%2fscripting-api&c=E,1,iOjPtCU93is3uotSOuJHvzbTE3kkPVSd-G--K3gsinKitxhxcihI_2qfDsJaXZ0aK812EJ6C86p9IBZODq2fQ70e8xxE_D5VOZ7JCy8Q&typo=1>

Second, if you end your line of Velocity with ## it should escape it and avoid adding new lines, e.g.

#set($content = $dotcontent.find("id")##
#set($test = "testing")##



On Wed, May 12, 2021 at 6:35 AM Visu <k.vi...@gmail.com<mailto:k.vi...@gmail.com><mailto:k.vi...@gmail.com<mailto:k.vi...@gmail.com>>> wrote:
We have situation of more blank lines in the JSON output while generating a JSON out of multiple Lucene query content pulls via a dot file. Is there any solution available for this ?



--
http://dotcms.com<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,XsIz7a2fEHq6f4r6obGRh_7nhetn2nKoqod_zGbXcH582bqGiMuCOeSp1uBDQlQ5QXqtPAc1mr7z4wY9eDwMZadwvbdYkD3FrJXiZkd51NBy9Wqr8vc,&typo=1><https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,9CMkhHDn8VIraq5Deo31vT9OZtcPYQeVyjoyEbah6mBZScjZFuCzG1RjJvW5_BLxww8p-Pn80O0J2sya_crxKTPWN-jjeLwvLJ5EO3jQFYNuLq5yfF93yQ,,&typo=1> - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com><mailto:dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com>>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/4d1f071e-e54d-48e4-a244-1cad7f98bf03n%40googlegroups.com<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2f4d1f071e-e54d-48e4-a244-1cad7f98bf03n%2540googlegroups.com&c=E,1,qdoESw7KpGMb6Kzgvww00Cxm9DyCWZKDQBjAN_qnW7XWbvpqG42iBrPkqh9EMT9UycUedQiUEnikrY15FpADVoYx8uSUcJnLtYJ9Lrnoevs4&typo=1><https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2f4d1f071e-e54d-48e4-a244-1cad7f98bf03n%2540googlegroups.com%3futm_medium%3demail%26utm_source%3dfooter&c=E,1,8VDn9aYmb90MDTM-k_VCnRMxCKpZSXDrTA2bEQW5kaq-NI9Bs0H5nxEmh-OlfrfCnw4TTAIXbp5s10FVko21LWWEbXj8y-W9Aasx_E4PE_G_oQo20Q,,&typo=1>.
wi...@dotcms.com<mailto:wi...@dotcms.com><mailto:wi...@dotcms.com<mailto:wi...@dotcms.com>> | dotcms.com<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,mrzxmnUU9VQ9kKYxXZ8JIiAJuaLJuFQMZ-2pLnsO8RZt5Sl1OZC0c1g7wppGSk2zOkK_Xxk-403EsMT7nsI6Ct4sDET1VyfVDwpbg71R4GqNumRfATYWesNj&typo=1><https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.dotcms.com%2f&c=E,1,JPU6JGBmJ4KybGdyCvN7xy_4i_xfr2641f3t0Dpi5Be-QzAhKk2RaXyeZtrB7GdHVmdXvTP9grwXkISoqItbC6dntGGKpw8cfJSSvuJOj1Weo7qfN2YfKSM5NpM,&typo=1>
http://dotcms.com<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,obh4cCGZprKQ0bKlcdpZYumoQy18-_ittUMjDkJbMlBkOnBR0Crtft90fv0aPz0DK0V5u7Ro0w1f3-RXxh5TvA4jsg-CqYdG-85kWXJYhxF8jKjIX_IFww,,&typo=1><https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,ECWJ4uNooB6nQXMLyPKdBzX0mGO-WN9oiYDULkChQqu3giM6JZQlxuAV2uGlYub27ss2w_eqvUcrKs0bF8CbFR-ArBXqAICzNW2Lm97dvW0PJfxr&typo=1> - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com><mailto:dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com>>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CAPL0VyHLdGu0mB73JeLX8CJBJQrwuHFqd4GDuz85T8GFgCqhQw%40mail.gmail.com<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2fCAPL0VyHLdGu0mB73JeLX8CJBJQrwuHFqd4GDuz85T8GFgCqhQw%2540mail.gmail.com&c=E,1,dDcq20Q6N7itXosQkCYSoLGZp8WrPXXjdM5Qa-Oe2yQP2tLJhTPzM9HiFTv0hIqLTIeNqQlfUR_FhTOQSrBE_UB74YHy_7KZxqey3jJUq8OHrloSIWIS&typo=1><https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2fCAPL0VyHLdGu0mB73JeLX8CJBJQrwuHFqd4GDuz85T8GFgCqhQw%2540mail.gmail.com%3futm_medium%3demail%26utm_source%3dfooter&c=E,1,X7VvnJskWRDbnsI1FZPFksyJ64yjrnNN_pvlYmXFr9CBT9Gpy5iDdVIsccEB8Jq0FsxpV12DHOfTs9fyeDmQpUGtkviaXtAXECyanTC8tI_5lSIDXg,,&typo=1>.

--
http://dotcms.com<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,bmZQxvi6ZK3vcXTJvE9ECT-oI1Sf3GNuisDuIxMXW8Us8rJWqmm_I5Xc205lc7oeyk-99ewvFcnga_zozliQfYbNxIANtIarlSI59safb4s3Kyo,&typo=1> - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1620838137340.41241%40gettysburg.edu<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2f1620838137340.41241%2540gettysburg.edu&c=E,1,ZveJJQXb-v9Ikq0Bi5AfOQAzdKt8KkBZlLF4CKCGGG5oRlIHDBb1Y1mKrqFZeCxw5Jzo3piUCgotrIWQ0yPWcvgWPGLbPBTR60IGuOfUhucIqrn2HoYo&typo=1>.


--
[https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fdotcms.com%2fdA%2f99fe3769-d649%2f256w%2fdotcms.png&c=E,1,0vqdL8dUVQHsAqyNKp045f58x59aEjRiitDK05VdyItkrZ0qM3Vt7aXX_ZdXmXMJ2DEnamYBmwAigYY-xc7g_YOBk3f36frZZZ26TrB4zLOB&typo=1]


382 NE 191st St #92150
Miami, Florida 33179-3899
Main: 305-900-2001 | Direct: 978.294.9429

wi...@dotcms.com<mailto:wi...@dotcms.com> | dotcms.com<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.dotcms.com%2f&c=E,1,z2dx0SBMmXqSyAmvQ3-DOuZQlcBgYMP__blNPtwtbGlhEmwE8My25EYzkHAaehOASVkRwoajzJGnuc7Sl4LRoMvs2tLV73IL5Lz60bhrkkyLL328pzQ,&typo=1>
http://dotcms.com<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,qKYNIFds1RTQ5req9Fd8DrK7kpsxaApgQOZiIkTHvUVjh337U6pKoBfruskpztitfO1ReEj3VwDAsHyssFthigiZQOAcR6iBYsdO2pQ3XFdjIWowAfL7PMdk&typo=1> - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CAPL0VyGYV9QAD7cZTVsyC2akVU0HZ4PonKW_try1apq5%3DXSodA%40mail.gmail.com<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2fCAPL0VyGYV9QAD7cZTVsyC2akVU0HZ4PonKW_try1apq5%253DXSodA%2540mail.gmail.com%3futm_medium%3demail%26utm_source%3dfooter&c=E,1,ZCiySFAdsGXQFoHapPZ7Mn-KPbf2b1xN_PPZqK7RI7xaG8eCa8UwzGMV-doaefxGtRGPSd8kd5b2NG19oNhxKqTbOYtjUmmtMKfC8Y1aJISXhIE,&typo=1>.

Will Ezell

unread,
May 12, 2021, 1:42:11 PMMay 12
to dot...@googlegroups.com
I believe dotParse was changed from a macro to a directive in 5.0.  Important to note - we did not change the lesser used #dotImport - that is still a macro.

Nathan Keiter

unread,
May 12, 2021, 1:59:54 PMMay 12
to dot...@googlegroups.com
Good to know thanks.

Nathan I. Keiter | Lead Network Applications Programmer | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu<https://www.gettysburg.edu/>
________________________________
From: dot...@googlegroups.com <dot...@googlegroups.com> on behalf of Will Ezell <wi...@dotcms.com>
Sent: Wednesday, May 12, 2021 1:41 PM
To: dot...@googlegroups.com
Subject: Re: [dotcms] How to avoid newlines from VTL file output

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
________________________________
I believe dotParse was changed from a macro to a directive in 5.0. Important to note - we did not change the lesser used #dotImport - that is still a macro.

--
http://dotcms.com<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,Ub8G3Nz-4jcs7MPbrq6mO3hCj3C6jfiScWQeyW7-gHN9sO0qlirQFMibA5MR1PVVHSlmraj9kBig26PFxr78rgUjLDA2pvWLvHr736Av9jMrloqKLq-RhK1bDGI,&typo=1> - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CAPL0VyFsC10DvnU%2BqSM%2B__sHFo1GxKD33gTehHQaDU6c-TVSJA%40mail.gmail.com<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2fCAPL0VyFsC10DvnU%252BqSM%252B__sHFo1GxKD33gTehHQaDU6c-TVSJA%2540mail.gmail.com%3futm_medium%3demail%26utm_source%3dfooter&c=E,1,wOIqvlEqJJIApGj-u5U3JKOLnWYUg-8wXmy65LNnf2kiPM059w2-aQJMI7pE0tmgFZds_38np3N354rXBM5MLTUzBMrvBthHe53cGvsZqkrjW7PubyLivQEZPFVY&typo=1>.
Reply all
Reply to author
Forward
0 new messages