Sitecore 10 .NET Developer Certification — Question 30
When is it possible to edit a field inline with Experience Editor if the component is developed using Sitecore MVC?
Answer options
- A. When the field is rendered on a page with existing content
- B. When the field is marked as inline editable in its definition
- C. When a Field() helper method is used to render the field
- D. When the field is marked as versioned rather than unversioned
Correct answer: C
Explanation
The correct answer is C because the Field() helper method is specifically designed to allow inline editing in the Experience Editor. Option A is incorrect as the presence of content alone does not determine inline editing capability. Option B refers to the field's configuration but does not guarantee inline editing without the helper method. Option D is irrelevant to inline editing as versioning relates to content management rather than editing functionality.