error while viewing template

Posted by mysteryminds on 03-Dec-2015 13:55

Can someone tell me when I execute the template why does it shows

even though in the template we don't have single line of code

This page contains the following errors:

error on line 1 at column 1: Document is empty

Below is a rendering of the page up to the first error.

All Replies

Posted by Sri Harsha on 04-Dec-2015 00:18

We need more details to reproduce the issue.

1. What i quickly tried is create a doc template and upload an empty file.

2. Create a "create template document' trigger that uses the above doc template.

The trigger ran fine and created an empty file. I clicked on the file field which shows a pop-up with empty content.

If you can create a sample app reproducing the issue and attach here that would help us to identify the issue quickly.

Thanks & Regards,

Harsha.

This thread is closed