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: B,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
Apr 4, 2023

The answer is C

begaoOption: B
May 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
Jul 20, 2023

B correct

blacky_saOption: C
Jan 14, 2024

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

PRAVF9CYOption: C
Feb 15, 2024

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

ARUNKHADHRIOption: C
Mar 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/