PDF File

Latest Sitecore-10-NET-Developer Practice Questions BY Case

Question 1

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?

  • A. Split the renderings into smaller pieces so the Content Authors can add each field of the data source separately as desired.
  • B. Merge all three renderings into one and have the Content Author select display mode through rendering parameters.
  • C. Create a custom Experience Editor button and script the replacement.
  • D. Add each rendering definition item to the Compatible Renderings option within each of the renderings.
Question 2

Of the available options, which is a purpose of the field source in data templates?

  • A. The field source is a field property that designates where in the content tree the field obtains its data.
  • B. The field source is used to control a user's access and permissions to folders and files in the content tree.
  • C. The field source defines how a field's data appears in the Content Editor in the UI.
  • D. A field source maps a field to the underlying class representation in the API.