NET Developer 10 Exam QuestionsBrowse all questions from this exam

NET Developer 10 Exam - Question 19


As you create templates and add standard values, you know items created from the templates should automatically have the Title field populated with the name of the item. What should you do to ensure this occurs?

Show Answer
Correct Answer: A,D

To ensure that the Title field is automatically populated with the name of the item when created from the templates, you should add the $name token to the template's standard values Title field. This way, Sitecore can replace the $name token with the item's name during the creation process. This functionality is specifically designed for use in templates and standard values, not in individual item fields.

Discussion

6 comments
Sign in to comment
alex1112Option: A
Jan 31, 2023

Sitecore supports the $name token in standard values. Sitecore replaces the $name token with the name of the item during creation. This replacement, however, only takes place during item creation. The item name then becomes the field contents, which replaces the token $name in standard values. https://doc.sitecore.com/xp/en/developers/92/sitecore-experience-manager/standard-values.html#

VMUNOption: A
Feb 2, 2023

A is correct Answer.

SureshRayarakulaOption: A
Jun 27, 2023

A is the correct answer.

SiteToTheCoreOption: A
Jul 27, 2023

A is correct

massimdcOption: A
Nov 29, 2023

A is correct

blacky_saOption: A
Jan 11, 2024

From my experience all (or the most part) of tokens started with "$" and are used in templates but not in certain items - so if you have such question that can help you