Displaying the Document Type Properties
You might have noticed that the content we've added to the homepage is not being displayed. We need to wire up the Data Type properties to the template.
Let’s look at our template and identify where the content should be displayed.
![](https://docs.umbraco.com/~gitbook/image?url=https%3A%2F%2F2945122355-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmmtM2UdX1OOMSi0CksPv%252Fuploads%252Fgit-blob-ce958c8aacdc9f8bccf7eb7091641a0af8ce2ff2%252Ffigure-17-where-our-data-fields-go-v8.png%3Falt%3Dmedia%26token%3Df6b69329-ca85-419b-b0cd-d47126b7edab&width=768&dpr=4&quality=100&sign=bcb65cb8&sv=1)
The top arrow in this image is the Page Title and the bottom arrow is the Body Text, whereas the Footer is all the way at the bottom.
Setting the Document Type Properties
To set the Document Type properties:
Go to Settings.
Select Templates in the Templating section, and open the Homepage template.
Scroll down to the
<!-- Jumbotron, w title -->
section (around line 46) and highlight the text“Welcome - UmbracoTV”
(around line 49).\Click Insert and select Value.
Select pageTitle field from the drop-down list.\
Click Submit.
Repeat the same process for the content between the
<div class="container">
tags (around line 61 to 78):Highlight the content as shown in the figure.\
Click Insert and select Value.
Select bodyText field from the drop-down list.
Click Submit.
Repeat the same process for the content in the
<div class="container-fluid footer">
tag (around line 149 to 182):Highlight the content between the
<div class="container">
tags.Click Insert and select Value.
Select footerText field from the drop-down list.
Click Submit.
Click Save.
Reload your homepage to view the content. You should see something similar like the image below:
![](https://docs.umbraco.com/~gitbook/image?url=https%3A%2F%2F2945122355-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmmtM2UdX1OOMSi0CksPv%252Fuploads%252Fgit-blob-81ca7973afb08025592804a72befae5888e94e0d%252Ffigure-22-displaying-document-type-properties.png%3Falt%3Dmedia%26token%3D6291d300-91b9-4865-86eb-fd5c09e0f6cc&width=768&dpr=4&quality=100&sign=620dfbd8&sv=1)
Now, you can go back and add additional fields or update existing fields in the Document Type, fill them out in the content node and then add them in the template to display the data in the website.
Last updated