Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How do I add new lines inside JSON Variables into word template

New Here ,
May 09, 2023 May 09, 2023

i tried the common new line codes with and withot double slashes.
none of them work.

what is the code/char to insert a new line inside the word template ?

Input:

hbse_0-1683641696664.pngexpand image

 

 


Template:

hbse_2-1683641696661.pngexpand image

 

 

Output:

hbse_4-1683641696670.pngexpand image

 

 

 

TOPICS
Document Generation API
508
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , May 25, 2023 May 25, 2023

Hi @hbse, you can use html tags to add a new line in word template. You can either use <br> tag as separator or <p> para text </p>. The first one provides a line break, and the second way inserts a para break. You can use as per your requirement.

Translate
Community Expert ,
May 09, 2023 May 09, 2023

<moved and merged from enterprise & teams>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 25, 2023 May 25, 2023
LATEST

Hi @hbse, you can use html tags to add a new line in word template. You can either use <br> tag as separator or <p> para text </p>. The first one provides a line break, and the second way inserts a para break. You can use as per your requirement.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources