What happens if a role denies an access right and another
one allows it?
It is denied
Placeholder
override
This means creating a different
configuration for the same placeholder for different parts of the site. In this
case, the Home page should be treated differently to the rest of the site and
not allow adding or removing components from the main placeholder.
Using Edit Frames to Edit Complex Fields in the
Experience Editor
On that edit frame, you will add a
Field Editor button that will allow authors to modify the Related item field
directly from the Experience Editor.
Go Core database and locate the
item: /sitecore/content/Applications/WebEdit/Edit Frame Buttons
Create an item based on the Edit
Frame Button Folder template and call it Related Events.
Under the Related Events folder,
create another item based on the Field Editor Button template called Edit
Related Events.
Describe some xWeb Content Management System features
that separate Sitecore from other systems.
Analytics, Insights, Decisions,
and Automation
What field type would you use to store formatted HTML?
Rich Text field
What happens if you use the same field name in a
template that is already used in a parent template?
You will get two fields with the same
name, which leads to confusion both to users and developers, It should be
avoided.
What would you use the Field source for in the following
field types: Image, Rich Text Field, Droplink?
Image: Set the
folder in the Media Library it will open when selecting an image for the field.
Rich Text:
Configuration of the toolbar and functionality of the Rich Text Editor.
Droplink: Set
the items to be displayed as options.
What happens if you don't set any insert options?
Only admins and privileged users will be
able to create content (using the Insert from template option).
Where should you set insert options as a best practice?
In
the Standard Values, so they are applied as a default to newly created items.
If you set up some publishing restrictions, will
Sitecore automatically publish that content at that exact time?
No.
The publishing restrictions only dictates when an item or its versions are
publishable or not.
Why would you need to use the data source in a
component?
The
data source allows you to build more flexible and re- usable components because
the data source is determined by users and not hardcoded by developers.
Can you use placeholders inside of placeholders?
Not directly. However, you can have components
inside a placeholder that in turn define other placeholders. This is referred
to as nested placeholders.
Why is it a good idea to avoid using Rich Text fields as
much as possible?
One of the benefits of using Sitecore is the
separation of content and presentation. The Rich text field is the only
exception to this, as it stores HTML content directly. If abused and not
configured properly, it may give users the ability to break the design of the
site.
What do you need to do to allow users to add and remove
components from a placeholder using the Experience Editor?
Create a Placeholder Settings item for that
placeholder.
Which fields are editable inline using the Experience
Editor?
Text fields (Single-Line,
Multi-Line, Rich Text),
Date/DateTime, Image, General Link.
Give an example of when you would use the DisableWebEdit
parameter when rendering a field.
Rendering a field inside the <title> tag
in the <head> of the HTML
What is the main purpose of a Web Content Management
System?
Offers a content storage system
Provides log in functionality to a
website
ü
Allows non-technical users to administer the
content of a website
Speeds up the performance of a web
server
Why does Sitecore have both a Master and Web database?
To be able to have multiple servers
delivering your live site content
To make version upgrades much
easier
ü
To allow editing content in a sandbox without
affecting the content on the live site
To separate your own configuration
from the standard one that comes with Sitecore
Which of the following best describes the purpose of the
Field Source in Sitecore?
The Field Source defines how fields
appear in the UI
The Field Source is only used to
restrict a user's access to folders and files
A Field Source maps a field to the
underlying class representation in the API
ü
The Field Source allows the configuration of
extra properties in a template's field definition
How can you populate the property of a ViewModel and
still support inline editing in the Experience Editor?
By using the appropriate field class as the
type of the property
ü
@ By using the Render() method in the
FieldRenderer class
By using an object from the
FieldsCollection
By wrapping the entire markup in a Sitecore
Edit Frame
When you use the field helper, what do you do when you
want to ensure that a field cannot be editable inline?
Choose a non-editable equivalent field type
ü
Use the DisableWebEdit option
Set the Editable parameter to False
Mark the field as non-editable in the field
definition item
What is the advantage of using components?
It allows content to be editable inline
through the Experience Editor
You can include content from Sitecore
ü
Your presentation artifacts are more reusable
You can have different output depending on
the device requesting the page
How can you define renderings as compatible?
Ensuring they have the same name prefix
Adding an attribute in their implementation
file
@ Having them in the same Allowed Controls
field of the placeholder
ü
Modifying a field in their component definition
item
Where does Sitecore store the Rendering Parameters?
Only fields that support edit
frames
Fields that contain simple values:
single-line text, checkbox or integer.
ü
Any Sitecore field
Fields that have been registered
with the component
In a view, what do you need to do so the Field()
extension method retrieves the content from the datasource?
You have to use the FieldRenderer
as the Field method can't do that.
Pass a second parameter
:Field("fieldname",Model.Rendering)
Pass an anonymous object with the
item reference: Field("fieldname", new
(Item-Datasource)
ü
Nothing, that is its default behavior
How can you retrieve the Datasource in a view rendering
with the default model?
Model. Rendering. Item
ü
@ Model. Item
Model. Datasource
Model. RenderingContext. Item
How can you get Sitecore to produce translated URLs?
By using the languageLocation
attribute of the LinkManager
By configuring the
EncodeNameReplacements
By using the GetFriendlyUrl method
ü
By setting the LinkManager to use the item's
DisplayName
When you patch in changes to the Sitecore.config file
through Include Files, in which order are your changes applied?
Using the Priority attribute when
you create the change
In App Config, create «ordep
entries in the patchOrder.config file
According to the updated date
timestamp of the Include File.
ü
@Alphabetically according to the name of the
file and subfolder
What is the raw value of a field?
The value the user typed in the
Content Editor
The binary representation of the
contents of the field
ü
The value of the field as stored in the database
The value returned by the
FieldRenderer
What is the advantage of setting StorageType-Yes in an
index field?
The tokenization process will be
more efficient
ü
There is no need to access Sitecore database to
query its value
Update index operations will be
faster
The index will take less space