Skip to main content
Skip table of contents

How can I prevent a placeholder error notification from being rendered in my export?

In some circumstances, you might export content using a template containing a placeholder that makes reference to something that is not included in the exported content. For instance, you may have included a $scroll.metadata.(key) placeholder in your Word template but the content you are exporting does not contain this metadata key.

As a result, the following error message will be rendered in the generated export;

Error rendering replacement: $scroll.metadata.(key): No metadata value for key. 

However, if you want to continue exporting content using this template but without the error message from being rendered in the export, you can modify the placeholder to silence the error message.

To do this, you can simply add a ! character after the $ character for the placeholder. For example, $!scroll.metadata.(key). When using the amended placeholder, the error message will not be rendered in the export if the metadata key is not included in the content. 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.