Print pdf showing {{body}}

Hi,

On pdf generation of doc with custom print format, it is showing only {{body}} in the generated pdf.

How to solve this?

1 Like

add “hostname”:site_name in site_config.json

3 Likes

In my case, the issue comes because the duplication in the naming series of Access Log DocType,
So I had solved it by edit the naming series of Access Log from the database (the table name is tabSeries) then edit the current value of the empty name with the latest number of Access Log. __

1 Like

The post above by @alkuhlani was very helpful, and led me to write this related post:

4 Likes

would this ( Multiplication in print format returns error {{ body }} ) be related by any chance?

No, that’s an unrelated and different issue.

post your error log

This worked for me. I just added hostname in site_config.json file.

1 Like

can anyone help me, how can i navigate to site_json file
and how to modify