SC10 Questions Flashcards
What is the purpose of the “extranet” security domain?
The official definition from Sitecore is “it is the default domain and most user accounts will be extranet\anonymous when they visit the website”
You have a placeholder included in the code of a rendering, however, when the rendering is placed on the site in Experience Editor, the authors do not have the ability to add controls to the placeholder, what could cause this?
placeholder settings item
How do you debug a container?
Attach to the w3wp process associated with the container
Some developers wish to use the Sitecore CLI and others Sitecore for Visual Studio.
This is totally fine, the two can be used together.
A user was recently assigned a new role and now they cannot access a portion of the tree that was previously accessible, what happened?
The new role has an explicit deny-read permission.
What does the <includes> element define with regards to serialization</includes>
The content path of the items to serialize.
What if a module is not included in sitecore.json?
It will not be serialized during a push or pull.
How do you push file changes to a web root that is outside of Visual Studio?
You use VS Publish to move files.
How does the rendering host interact with the CD role?
The CD role is a web service endpoint that returns json object data via the layout service to the rendering host.
You need to change the homepage for only a few days for a sale, how do you do it in the easiest way possible
Rely on Final layout to push a new version.
Users are complaining about having to copy and paste data source queries from one component type to another. is there a way to resolve this?
Yes, edit the compatible renderings for each rendering definition
How do you target a specific placeholder when editing presentation details?
Placeholder key
How do you mark a field as read-only via Sitecore MVC helpers?
@Html.Sitecore().Field(“Field Name”, new { DisableWebEdit = true })
Why do we use startup.cs in the rendering host?
To link a component name with its implementation
If we use a view rendering, what property do we need to fill in?
The path to the cshtml file