Skip to main content
ZenHub houses documentation to support you if you’re using Contensis Classic. Contensis Classic includes our WYSIWYG and templating features. If you’re working with a newer version of Contensis, is your go-to place to find anything Contensis-related when building with content types.

Access placeholder data

In order to allow better access to data within Contensis, you can quickly and easily set and retrieve the content of placeholders.

The following example protects against a null reference error if our contact does not have a name. To test the sample it should be used on a page that has a placeholder called ‘greeting’.