Sitecore Interview
Sitecore Interview
In order to help you better understand the benefits of Sitecore, here are some of the platform key
features:
Personalized Customer Data: Everything about customers, from their interactions to behaviours to
data, is tracked and stored in order to provide insights to help the team deepen engagement and
increase revenue.
Sitecore Experience Database (xDB): By integrating all of your customer experience data
(including data from CRM and non-Sitecore-based systems), the Sitecore xDB creates a single
store for the entire experience. Finally, you can see the entire journey of every individual customer
all in one place (single repository).
Sitecore Experience Profile (xP): When xDB collects customer experience data, Sitecore XP
creates an individual profile of each customer. The information in these profiles will help you to
better understand your customers, such as what products they buy, what they click on, and how
long they spend on your website.
Multi-language and Multi-Site Content Support: Expanding globally brings many challenges, but
delivering a consistent brand experience to new customers and employees is among the most
crucial. Sitecore provides multilingual support to help you reduce your time-to-market and stay
competitive, wherever you are.
Marketing automation: Marketers can easily build automation campaigns that deliver real-time,
automated responses in response to the actions visitors take on a site. For example, when a
customer completes a purchase, an automated response email expressing appreciation for the
purchase is sent.
Sitecore Federated Experience Manager (FXM): Wouldn't it be great if you didn't have to switch
all your websites to Sitecore? Sitecore FXM lets you extend certain Sitecore features to non-
Sitecore sites, ensuring that your customers have a seamless, positive experience across all of
your websites (and ensuring accurate customer data is captured).
First, you need to deploy the Sitecore Experience Platform on your on-premises content
management system before installing the Sitecore Experience Accelerator (SXA). You can then go
to the Sitecore Downloads page and download the SXA package that corresponds with the version
of the Sitecore Experience Platform you are using.
The Sitecore Experience Accelerator (SXA) is a tool that enables web development teams to
develop websites faster and reuse components, templates, and layouts across multiple sites. SXA
basically separates structure and design, which enables frontend/backend developers, content
authors, and creative designers to work simultaneously, and you can deploy and maintain multiple
sites efficiently and cost-effectively. After the user experience plan has been developed, everyone
can get started on the platform. As an example: while the front-end developer is working on the
theme, the content author enters content into the wireframe environment. Meanwhile, the developer
sets up the data templates.
In essence, Sitecore Solr is primarily an indexing technology. Sitecore basically offers two search
engines, Lucene and Solr, that can be used to search Sitecore's content databases as well as the
operational databases used to gather analytics data, test data, and more. Solr can also be used for
the following reasons:
Solr performs better when indexing large quantities of items (50,000 and above).
Solr has more robust capabilities. Solr is recommended if the search is the primary interface for
your site.
Sitecore CMS is based on .NET technology. Comparatively, Sitecore is better than a large number
of other .NET-based platforms, such as OpenText or Sharepoint. Like any software implementation,
Sitecore implementation can also be time-consuming and expensive. However, it doesn't have to be
complex. The following are some key points as part of the implementation process.
Identify Implementation Type: A CMS implementation may involve a complete redesign or maybe
more of a re-platforming. It is beneficial to meet with your stakeholders before implementing to
determine what is best for your business.
Prepare Implementation Document: As every Sitecore implementation is unique, you should
create an architecture document that outlines your requirements and provides stakeholders with an
overview of the project. This will prevent any unpleasant surprises in the future.
Set up a timeline: If you want your Sitecore implementation to succeed, you need to set a timeline.
This will give you a rough estimate of how long the project will take and will also help you plan for
any downtime that may occur.
Outline Expectations: Together with a timeline, you can outline what to expect during the
implementation process. Using a CMS like Sitecore won't instantly solve all of your business's
problems and it also doesn't mean you can use all of its features. The most valuable thing you can
do when you start is to know what to expect and what limitations you might face.
Be aware of Costs: Costs can be high when implementing Sitecore. It is essential that you have a
clear understanding of the project costs as well as the features and functions that are most
important to your business.
Implementation Process: Finally, your implementation partner will walk you through the entire
implementation process. In addition to the timeline and costs, any additional resources and
personnel required will also be considered. In addition, it will outline the steps that will be taken by
teams working together and which project management style will be used to implement the
changes, either waterfall or agile, or any other.
Data template fields have default values known as Standard Values. In Sitecore, a standard value
is a way to specify a default value for a field, so that whenever items are created, it is possible to
specify a field value that must be used by default. The standard values associated with each data
template are stored in a child item of the data template definition item called "Standard Values".
Whenever the value of a field for an item is NULL, standard values are used.
As you can see in the above image, the "Sample item" data template basically contains the "Data"
data template section definition item. The standard value of the "Sample" data template is stored as
a child of the "Data" data template definition item named "_Standard Values."
AEM (Adobe Experience Manager) and Sitecore are two of the most popular enterprise-level CMS
(Content management systems). Below are some key differences between Sitecore and AEM that
will help you determine which is best for your business.
AEM vs Sitecore:
8. Explain Helix and Habitat.
Sitecore Helix: It is a set of guidelines and recommendations that govern the development of
Sitecore websites. Essentially, Helix describes the overall architecture of your Sitecore solution
and explains design principles that are versatile and adaptable to any Sitecore project. It mainly
focuses on reducing dependencies between software modules, how they should be structured, and
how individual sites can use them. Helix is a set of recommendations meant to make building,
testing, extending, and maintaining a Sitecore project as easy as possible.
Habitat: This is a working Sitecore project built on the Sitecore Experience Platform utilizing Helix
design principles and recommendations. The project serves as an example and shows how Helix's
principles are applied, and allows developers to experience a project that is aligned with these
principles. In addition, it saves the developer from having to create modules from scratch, as well as
provides an excellent basis for developing additional modules and extending existing ones.
10. What do you mean by templates and write different types of templates in Sitecore?
Templates essentially provide a schema for content, and schema gives definition and structure to
content. Generally, templates are items that provide structure and behaviour for other items. The
following types of templates are available in Sitecore for different purposes:
Data Templates: These are used to specify how data should be entered. Specifically, they
determine which field sections, field types, and field names should be included in each item.
Branch Templates: This allows you to create a set of items instead of just one. Each branch
template contains a branch template definition item, which can consist of a single item, a hierarchy
of items, or multiple hierarchies of items.
Command Template: You can insert items through logic rather than by using a predefined
structure. The data template and branch template use predefined structures, but command
templates refer to Sitecore UI commands that invoke wizards or logic to create new items.
Core: This database contains all Sitecore settings, such as a large configuration file for the Sitecore
UI. When customizing Sitecore, such as when adding applications to the Sitecore desktop, it can be
used.
Master: All versions of the content are stored in this database. Here, business users edit/modify the
content.
Web: Here you can find the most recent or latest version of published content that has reached the
final stages of its workflow.
13. The sea watchtower picture appears at Sitecore sign in/log in. What does it mean?
The sea watchtower picture shows up because you are logged into the Desktop (the developer tool)
rather than the Content Editor (the editor tool). Click the button labelled "Sitecore" in the
lower/bottom left corner of the screen and click "Log Off". This will take you back to the Sitecore
login screen. You can now login as usual: click the "Content Editor" button and enter your login
information. Then click the "Login" button.
All of the content on your website can be managed and edited using the Content Editor (CE). User
roles, local security settings, and any customizations on a Sitecore installation can influence the
appearance and functionality of the Content Editor. CE user interface generally consists of three
main sections or areas that can be customized according to your preferences. These are
Ribbon: The area where you can access all the features of the Content Editor.
Content Tree: An area in which all items are arranged and organized. All items within your Sitecore
installation are displayed in the Content Tree.
Content Area: This is where you can edit or make changes to your items.
In Sitecore, an item represents any kind of information that makes up a webpage, including text,
layouts, media files, and so on. Every item has a name, a unique ID (Identity), and a template
defining the fields the item contains. Additionally, items may have multiple language versions. To
edit, create, and insert items, you can use either the Content Editor (for managing and editing items
on the website) or the Experience Editor (for editing items visible on the web page). Before you can
edit an item in the Content Editor or Experience Editor, it must be in the editing state. If you want to
ensure that no other content authors work on the same item simultaneously, you can lock the item
before you begin.
A token is simply a way to assign values dynamically when creating an item. Some strings in
Sitecore begin with the $ symbol (such as $name), mainly in standard values (_Standard Values) in
templates. If we create an item using the same template, a particular field will be replaced with a
readable name (i.e. item name). The magic in this scene comes from the $name, usually referred to
as Tokens in Sitecore. In a similar vein, Sitecore offers many built-in tokens as follows:
Umbraco: Umbraco is a free and open-source CMS solution, making it perfect for small and
medium businesses that can't afford dedicated IT departments and who need a website very
quickly. Since its inception in 2000, Umbraco has undergone significant changes and
enhancements. However, it has yet to become an all-in-one solution. It remains a simple, but well-
constructed, content management solution.
Sitecore: Sitecore is a powerful enterprise-level web content management system that comes at an
enterprise price tag. It is highly extensible, offers lots of community and developer support, and is
very developer-friendly. This CMS is highly customizable, highly extensible, with a clever caching
system, powerful search capabilities, and a powerful page editor.
Episerver: Optimizely (rebranded from Episerver in 2021) is a world-class CMS renowned for its
innovative approach to using content, experimentation, and new technologies to create fantastic
digital experiences. Using EPiServer is easy and friendly for developers and users. There are a
number of features available out of the box, along with an easy-to-use UI and page editor, good
drag-and-drop functionality, and ease of customization.
Content Management: CM is the "world of content editing" in Sitecore. The feature is only
available to content editors so that they can add, edit, and update content on their websites. Editors
can access the Sitecore dashboard via the Sitecore Experience Platform. This dashboard contains
several options depending on the editor's role. It is ultimately the "content editor" that would be
accessed to manage the changes to content as shown below:
Content Delivery: It determines which content to serve and renders output in the appropriate
format for each channel, thus driving the experience for visitors across all channels. Several content
delivery servers can be configured for increased scalability and better performance.
Once a content editor has finalized and processed their piece of content, making it "live" is the next
step. For this process, they have the option of "publishing" the content. Consequently, behind the
scenes, that piece of content is moved from the "master" database to the "web" database and once
it appears in the web database, it becomes live and visible to everyone. Content delivery servers
exclusively connect to the "web" database for content, they do not access the "master" database.
The Sitecore CMS (Content Management System) is a platform that allows you to create, publish,
and manage content for your website. The CMS allows you to create, manage, and modify digital
content with ease, thus improving your customers' digital experience. A CMS is a tool for
collaborating on the creation, editing, and publishing of digital content, such as web pages and
blogs.
In Sitecore, the versioning system allows creating multiple languages or number versions of any
item. The Content Editor or Experience Editor allows you to create new versions of any item in
Sitecore, and you can create as many versions as you want. There are two types of versions:
Numbered versions: It offers versions in the same languages of an item. As an example, you can
make a different version of your products page that can be used during special promotions. You
can also create a new version of an image for the promotion, and then after the promotion, you can
change it back to the original version.
Language versions: It offers versions in the different languages of an item. For example, you can
add an English version of the item in French. To display alternative text in both languages, you
should also include additional versions of the item's images.
In Sitecore, renderings are used to display or render a page or part of a page. Some of the
renderings in Sitecore are as follows:
View Rendering: This type of rendering is used in components that involve little logic and don't
have database transactions or MVC controllers. This should be used for rendering item content that
doesn't require substantial business logic or presentation logic.
Controller Rendering: With this type of rendering, you supply the model, controller, and view. This
should be used for rendering item content that requires significant business logic or presentation
logic and relies heavily on external data.
All media content hosted on Sitecore can be managed using the Media Library. The Media Library
let you store and upload images (jpg, gif, png), non-HTML files (PDF, DOC, PPT), videos, and
audio files which can be accessed by the Content Editor later on. All your media items can be
managed from the Media Library, such as images that visitors can download or can be embedded
on your website.
In addition, all media files can be kept in a single location and arranged in a folder structure like a
Content tree.
Media items may be found quickly by using the Sitecore search engine or by navigating the content
tree.
Step1: Select an existing item in the content tree (or create one from scratch).
Step2: Add your site name to Sitecore Instance and it can be done in the following two ways:
Add the <site> element under the <sites> section of the [Link] file.
Or
Add the <site> element under the <sites> section of the [Link] file.
Adding a new site to the config file is only the first step. To access the newly added site, there are
two other steps that need to be completed outside of Sitecore.
Step4: Add the site name to the host's file of your server.
You can now access your newly added Sitecore website after completing these three steps.
Incremental Publish: It only publishes items currently present in the publishing queue. Modifying
or changing an item automatically adds it to the publishing queue. This method of publishing is
faster since Sitecore does not utilize resources to compare different versions of items in the
publishing queue before publishing them.
Smart Publish: In this publication, all items that have changed since the last publication are
published. A Smart publish compares each item in the master database with its equivalent item in
the target database, and if there have been any changes, the item gets published. This involves
comparing all items in the database, which is a time-consuming process for publishing an entire
website, particularly if there are many items in the content tree.
Republish: Everything is published there. Every item in the target database is overwritten by the
equivalent item in the Master database, even if the item has not changed. By republishing, all
obsolete versions are deleted from the target database. It can be used to bring an entirely new web
database online, restore a backup of the master database, and add new content languages,
publishing targets, and other system elements to the website.
The Sitecore pipeline has 19 processors by default, however, this can change depending on what
modules you have installed in Sitecore. If you install Sitecore DMS (Digital Marketing Systems), for
example, you will see 21 processors under the <httpRequestBegin> pipeline.
Each pipeline comprises one or more steps, also known as processors. There is a method named
Process() for each processor in a pipeline. Process() method takes a single argument and returns a
void. Processors can abort pipelines, preventing Sitecore from triggering further processors.
In Sitecore, a pipeline is a set of actions that perform a specific task in sequence. Processes in
Sitecore are typically defined or considered as pipelines. Developers can modify pipelines to alter,
add, or remove functionality from Sitecore.
15. Can text lines be prevented from being transformed into links by Sitecore?
There is another way to make an anchor in Sitecore other than transforming text lines into links. We
need to put our cursor above the anchor's destination, without highlighting the text. The next step is
to click the hyperlink button to make the anchor, and then we can proceed with the rest. In order to
prevent text from being converted into an unwanted link, follow this procedure.
16. Why XSL (Extensible Stylesheet Language) is considered better than C# in Sitecore?
XSL (Extensible Stylesheet Language) has an advantage over other programming languages in that
you can customize or reuse different structures or pages for source or other documents. This will
require a rule-based processing model, which most people dislike due to its obvious complexity
upon first use. At first, it might seem daunting, but it is a wise investment. We tend to have fewer
performance problems with XSLT until we use wrong querying, such as an XPath query. If a
website appears to experience performance issues, it may be for another reason.
With this in mind, Sitecore CMS allows content authors to edit and create items
directly on the Web page with the Page Editor. The Page Editor is the simplest
editing tool that Sitecore contains. It is designed for inexperienced content editors
who edit and write content items directly on the page. It is a WYSIWYG editor (what
you see is what you get) and limits the amount of functionality that is presented to
the user.
When you log in to the Content Editor, the items that make up your Web site are
presented to you in a very different way than they are in the Page Editor. In the Page
Editor, you see the items as they are presented on the Web site.
1. Core Database
2. Master database
3. Web database
The core database contains all Sitecore settings. It contains definitions for the
Sitecore user interface (Content Editor, Page Editor, etc.). This is where you can add
a context menu option to the Content Editor or a new ribbon button to the Page
Editor.
It contains the [Link] membership tables that drive authentication and security.
You May Also Read - What Is Sitecore? A Beginner's Guide To Learn Sitecore
1. Republish: As the name implies, it will publish every item no matter whether it is
changed or not. It is intended to be used when you are publishing a new site first
time. This is most time-consuming publishing method as it blindly publishes all items
2. Smart Publish: This method works smartly by comparing each item in the master
database with the item in a web database. Sitecore maintains a revision number for
each item which gets changed whenever the item gets updated. By comparing this
revision number with the web database, it will create a list of updated items changes
and will publish only those items changes. Even though this method is comparing
each item, it is much faster than the republish method.
3. Incremental Publish: Every time an item is changed, it is added to the publishing
queue. This applies both to changes made through the Sitecore user interface and
changes made programmatically. Doing an incremental publish will only publish the
items in the publishing queue. Therefore only items that have been changed will be
published and Sitecore does not have to do any comparisons to figure out which
items have been changed. This way of publishing is therefore by far the fastest.
Republish and smart publish do not use the publishing queue
You May Also Read - Sitecore Developer: Skills, Experience, And Salary
1. Preview Mode
2. Page-Editor mode
3. Normal mode
Standard values are a way of having default or fallback values for fields in Sitecore,
meaning that when items are created, you can specify a field value that should be
used by default. This does not only account for custom fields you build but also
standard fields in Sitecore such as presentations and insert options. This means that
you can specify a value on the standard values, and when you create a new item
that inherits from this template, it will by default use the values specified on the
standard values.
A field's raw value is how the data is stored in the underlying database - for simple
fields such as Single Line Text, there is no difference between the rendered and raw
values; it's just plain text. This is not the case for more complex field types, such as
General Link, Image, or Rich Text. Take the raw value of a General Link field, for
instance - if you enable raw values in the Content Editor (by clicking the View tab
and ticking Raw values) and look at an item with a General Link field, you will see
that the value stored in the database is custom XML:
The following table provides an example of each field type, as the value is stored in
the Sitecore database.
Q24. Which field contains item sort value? (Very Important)
Ans: The sort order field under the Appearance section contains item sort value.
Decrease sort value to move up and increase sort value to move down items in the
tree.
1. Sub layout Rendering (mostly used): This is the developer's favorite and most used
rendering method. Sub layout is nothing [Link] user control.
2. Web Control Rendering (average used): [Link] web controls are created to use
this rendering. [Link] file for this rendering.
3. XSL Rendering (rarely used): Very few programmers are using this rendering as
writing the XSLT program is a bit difficult and it has limited features. [Link] file
to use XSL rendering.
Q27. What is the difference between the droplist and drop link field
type?
Ans: By the time you reach to this question, you must know that Sitecore always
stores field values as plain text in the appropriate Sitecore database (in the Value
column of the Fields table).
Sitecore has two different types of drop-down lookup fields that are available:
Droplist and Drop link. Both of them function essentially the same way: they point to
a Sitecore data item and list its children in a drop-down list for a content editor. This
is a great tool because it allows you (as a data designer) to build a nice set of lookup
values and not worry that editors will fat-finger these values.
But why are there the two, and what's the difference between them? Droplist data
type only stores the string value of the item that was chosen by the content editor,
while Droplink stores the GUID of the item that was chosen by the content editor.
Sitecore separates the pipelines into two groups: those defined within the
/configuration/Sitecore/pipelines and /configuration/Sitecore/processors elements in
the [Link] file. In general, those defined within the
/configuration/Sitecore/processors define pipelines that operate for UI requests and
can interact with the user. Those defined with the /configuration/Sitecore/pipelines
tend to define system processes.
define system process such as initialize Sitecore application, load content editor
warning. define UI process such as copy item, delete item, drag item and so on.
If you want to add your own commands you can edit the
/App_Config/[Link] file or set up a patch file in /App_Config/Include.
Package
Serialization
If you are not seeing the “Developer” option in the menu bar, then configure it as
shown in below screen capture.
Q35. What is the difference between Package and Serialization?
Ans:
1. Sitecore Package:
There is a size limit of 2 GB for package creation in Sitecore, so you need to create
multiple packages instead of creating one package if your deployment exceeds 2 GB
size.
After installing the package, if you have changed a few items and now you want to
revert these items back to the original version then there is no way to achieve it.
For example: If your package contains 50 new items, then you will have 50 new
items in your Sitecore instance after installing this package. Now let's say you have
changed 10 of these 50 items and you want to revert these 10 items back to the
previous version (same version when you installed the package), then there is no
such mechanism in package installation which will help you to revert these specific
10 items.
2. Sitecore Serialization:
Note: Always use a firefox browser while installing items from 'package' or
'serialization' because Internet Explorer gets a time-out issue while installing a big
package.
Q36. Which are the options to move items from the master database
to the web database?
Ans: By the time you are reading this question, you may be knowing that in the real-
world there are two Sitecore environments.
1. Publish (recommended) - you should always use the publish option if you want to
move item(s) from a staging environment (master database) to a production
environment (web database).
2. Transfer (rarely used in specific scenarios) - you should refrain from the transfer
option if you want to move item(s) from a staging environment (master database) to
a production environment (web database).
On the opposite side, there is no cache clear job performed while using the transfer
option. That means when you transfer any item(s), it will simply move item(s) from
the master database to the web database. So it's your responsibility to clear the
cache manually by using the cache clear tool.
Now let's talk about circumstances in which you can use the transfer option. If you
have published tons of items which will take hours of time to get complete and
suddenly you come across a situation where you want to publish a single/few items
(s) instantly. You cannot publish this item until the publishing queue completes the
current running publishing items (tons of items).
Even if you publish that urgently required item, it will be queued and will be published
last. In such a situation, you can take advantage of the transfer option to move
instantly required items from the stage environment (master database) to the live
environment (web database).
This will push your item to the live environment instantly although you need to clear
the cache manually by using the cache clear tool. If you don't know what a cache
clear tool is, then don't worry we will discuss Sitecore cache and cache clear tool in
upcoming questions.
Q38. What is the scheduler? How can you define the scheduler in
Sitecore?
Ans: As the name implies, the scheduler is a task that gets executed at some
interval. There are three ways to schedule a process in Sitecore CMS.
Configure agent in the [Link]. This is very straightforward and the most common
way to create a scheduler in Sitecore. Using this approach will restart the [Link]
worker process, as it requires changing the [Link] file.
Create schedule tasks in the Sitecore database In this option, you can define a
scheduler in Sitecore database under /sitecore/system/Tasks/Schedules. This option
is user-friendly as you can configure the scheduling options from the CMS directly.
This approach would not restart [Link] worker process as you don't require to
change the [Link] file.
3) Create a Window Task Scheduler (window service) to call web service in Sitecore.
You can configure more than one publishing target database as per your need. It is
worth noting that the master database contains all versions items, while publishing
the target database (e.g. web) contains only a single latest version of each language
item. If you have multiple publishing targets, then you will see all of them in the
publishing window as checkbox items. In case you want to set any of these
publishing target databases as your default target database, then you can configure
it via the DefaultPublishingTargets setting in the [Link] file.
Q40. What is the workflow? How can you check the current workflow
status of an item?
Ans: Sitecore is famous for its flexible architecture. You can achieve many requirements without
doing any code and by doing some configuration only. One of its eye-catching features is its
workflow.
Workflow is a controllable way by which you can define a series of tasks to add,
review and publish content. In every CMS there are broadly three types of users:
1. Content Author/Editor - responsible for adding and updating content only. This type
of user should not be allowed to publish the content.
2. Content Reviewer - responsible for reviewing content that is submitted by the author.
This type of user should not be allowed to publish the content.
3. Content Publisher - responsible for publishing content approved by the reviewer.
In order to achieve the above series of tasks, you can take advantage of the Sitecore
Workflow feature. You can find workflow at /sitecore/system/Workflows in the
Sitecore content tree. The below figure shows an example of sample workflow.
Draft State: The draft state is the initial state and it will be assigned to the item
whenever the user creates or edits the content. Sitecore items cannot be published if
it is in draft state.
Awaiting Approval State: Once content editing is completed and the item is ready to
review, the user can submit that item to the reviewer. This submission action will
move the item from draft state to awaiting approval state. Sitecore items cannot be
published if they are awaiting approval.
Approved State: This is the last state of the item. There are two types of actions can
be executed under this state:
1. Approve: this action will move Sitecore item to the final state and the item can be
published now.
2. Reject: this action will move Sitecore item to draft state again.
At any point of the item if you want to know the current state of the item, you can
either check the workflow section fields of an item or by looking into the workbox.
If you want to check this for multiple items then it will be a time-consuming job to
select every item and check links for all those items. For that, you can download the
"Sitecore Informatics" module from Sitecore Marketplace which will show you all your
site templates and items created using those templates.
Q43. How can you add help text for a particular field in Sitecore?
Ans: Many times you want to provide some help text to users to understand the
purpose of a particular field. You want to convey a message to the user what should
be the value of that field. This can be accomplished by configuring help text for that
field. Below screen-shots will help you to configure help text for any field.
Q44. What is the display name? Why should one use it?
Ans: Whenever you create an item in Sitecore, you want to give a user-friendly name
so that the content author can easily understand the purpose of that item. But do you
know there are few restrictions in the item name, you cannot add special characters
in the Sitecore item name.
For example - if you want to create an item "What we do?" Sitecore will not allow it
as it contains a special character "?"
So how can you achieve it? The answer is - use the Display Name field. Once you
create items by following item name criteria. You can then change the display field of
that item by including characters which are not allowed while creating the item.
Display name (e.g. "Who we are?") will be shown in CMS user interface such as
content tree in place of item name (e.g. "Who we are").
Q45. Which characters are not supported by default for item name in
Sitecore?
Ans:
Q46. How can you configure the log folder path of your Sitecore site?
Ans: Sitecore uses log4net API to log all the events and information. By default,
Sitecore creates date wise logs in the log folder.
You will find this logs folder under the data folder variable path. data folder is the
variable that defines exact path of your logs folder.
Q47. Where does Sitecore store all packages? How can you configure
this package folder path?
Ans: As we have seen earlier, Sitecore stores all the packages under dataFolder
variable path. . dataFolder is the variable that defines the exact path of your logs
folder.
1. HTML Cache: It caches actual HTML output generated from rendering and
sublayout. It can be configured from the caching section of rendering controls.
Each website can be configured to enable or disable HTML cache along with allowed
HTML cache size in [Link] file under section.
2. Item Cache: Sitecore items are cached under this cache layer. This cache
contains objects of the Sitecore class [Link], which are the one
you use in your code most of the time. Whenever any sitecore item is requested, it
will be served from item cache and if it is not there then it will be served from data
cache (next layer of cache) and will populate cache in item cache layer. So that
whenever the next request for the same item is made, it will be directly served from
the item cache.
3. Data Cache: Data cache contains items of the Sitecore class ItemInformation.
Whenever any request is made, data is pulled from the data cache. But if it is not
present there it will be pulled from prefetch cache and then will be put into data
cache. So that whenever the next request for the same item is made, it will be
directly served from the data cache. Data cache can be configured in [Link] file
under [Link] setting:
4. Prefetch Cache: There is a prefetch cache for each database. The cache
contains items of Sitecore class PrefetchData which is the same as data pulled from
the database. Prefetch cache loads the cache at Sitecore start-up as per specified in
App_Config/Prefetch folder. The below diagram illustrates how all these are actually
working.
'
Q50. How does Sitecore xDB collect and use data to enable
personalization?
Ans: Sitecore xDB is the heart of Sitecore's data collection that collects every
interaction a user has with your digital properties. This includes page views, clicks,
events and form submissions, associating them with a unique contact profile. This
raw data forms a rich behavioral history for each individual.
This collected data is then used by its personalization engine. Marketers define rules
based on xDB insights such as past behavior, demographics or current context.
Sitecore then dynamically delivers tailored content, offers or experiences to the user
in real-time, optimizing engagement and conversion.
[Link]
[Link]
sitecore-rules-engine/