Exam NET Developer 10 All QuestionsBrowse all questions from this exam
Question 31

Currently, a Content Author has three rendering options with a complex datasource query. However, in order to swap the existing rendering for a new one, the author has to copy the datasource query, remove the old rendering, insert the new rendering, and paste the datasource query into the datasource field. According to Sitecore best practices, what should you do to reduce the chance of user error when an author needs to change out the rendering?

    Correct Answer: D

    To reduce the chance of user error when an author needs to change out the rendering, you should add each rendering definition item to the Compatible Renderings option within each of the renderings. This approach allows authors to easily swap renderings without having to manually copy and paste datasource queries, thus minimizing the potential for mistakes and ensuring the process is more seamless and user-friendly.

Discussion
samuellealbOption: D

D is the correct answer

a3codeOption: D

D should be correct. https://mattneil.co.uk/2017/01/17/compatible-renderings-in-sitecore/

blacky_saOption: B

As for me it's the best answers, like authors only need to interact with a single rendering, the datasource query is managed within the single rendering, authors can easily change the display mode using a rendering parameter, Developers only need to maintain a single rendering, simplifying code updates and reducing potential for errors.