NET Developer 10 Exam QuestionsBrowse all questions from this exam

NET Developer 10 Exam - Question 36


When is it possible to edit a field inline with Experience Editor if the component is developed using Sitecore MVC?

Show Answer
Correct Answer: C

When using Sitecore MVC, to make a field editable in the Experience Editor, the Field() helper method must be used to render the field. This method ensures the field is wrapped with the necessary markers that allow it to be edited inline within the Experience Editor.

Discussion

6 comments
Sign in to comment
AlexEthisysOption: C
Oct 4, 2023

The answer is C

begao
Nov 1, 2023

The answer is B. When the field is marked as inline editable in its definition. To make a field editable in the Experience Editor, you need to mark it as inline editable in its definition. This can be done by setting the InlineEditable attribute to true on the field definition item

uma_foxOption: B
Jan 20, 2024

B correct

blacky_saOption: C
Jul 14, 2024

you just use Html.Sitecore().Field() and it is editable in experience editor

PRAVF9CYOption: C
Aug 15, 2024

Main Point : Developed using Sitecore MVC. Hence @Html.Sitecore().Field("Field Name", new { DisableWebEdit = true }) Hence answer is C

ARUNKHADHRIOption: C
Sep 24, 2024

C is the answer as per the below blog. https://marcotanainsights.wordpress.com/2017/10/05/tips-on-using-html-sitecore-fields-parameters-object/