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

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

New Here ,
May 09, 2023 May 09, 2023

Copy link to clipboard

Copied

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

Views

485

Translate

Translate

Report

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.

Votes

Translate

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

Copy link to clipboard

Copied

<moved and merged from enterprise & teams>

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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