A common use for extensions is to set a default value for a data layer variable. This requires setting the value of a variable – but only if it does not already have a value. In this step you will use the Set Data Values extension to set
page_name to the value of a built-in variable named
document title – but only if
page_name does not have a value.
Use the following steps to add this extension:
Default Page Nameto identify your extension.
That's it! Your extension is configured. This extension ensures that if your data layer does not contain a value for the
page_name variable, then the value of
document title will be used instead. This is just one example of an extension. Be sure to explore the other extensions.
You're in the homestretch. Click Next to move on to the final steps of saving and publishing your work.