You're using an outdated browser

For a better experience, keep your browser up to date. Check here for the latest version.


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

Thomas Rough

Thomas Rough Last update: May 8, 2019

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. 

We use cookies to create a secure and effective browsing experience for our website visitors and to understand how you use our site (i.e. Google Analytics). For more information: click here.