Download SITECORE 9 CERTIFICATION EXAM 2024/2025 WITH 100% ACCURATE SOLUTIONS and more Exams Nursing in PDF only on Docsity! SITECORE 9 CERTIFICATION EXAM 2024/2025 WITH 100% ACCURATE SOLUTIONS What is a WCMS? - Precise Answer ✔✔A web content management system is a platform that provides: - Website authoring - Collaboration - Administration tools What are the pillars of a WCMS - Precise Answer ✔✔1. Data Definition: Basic data infrastructure for website content 2. Content: The actual data required to show the website 3. Presentation: The content in a format to be consumed (look and feel of the web pages) How are the WCMS pillars apply to Sitecore? - Precise Answer ✔✔1. Data Definition: Templates = data schema 2. Content: Items, defined by templates and info in stored fields (in a tree structure) 3. Presentation: Layout & Components to transform content into desired format (HTML, JSON, XML, ...) What marketing functionalities are offered by Sitecore eXperience WCMS? - Precise Answer ✔✔1. Analytics: Track visitors activity 2. Insights: Analyze the collected info 3. Decisions: targeted and personalized content 4. Automation: Individual conversation according to the visitor's online and offline behavior What are the technologies the Sitecore is based on? - Precise Answer ✔✔Sitecore is an ASP.net, you build your app wit VS and deploy it to IIS. It supports WebForms and MVC paradigms. How do you access the login screen? - Precise Answer ✔✔Add /sitecore to the base URL You will access the Launcepad which is the main screen to access Sitecore applications base on your access level. What are the main editing applications? - Precise Answer ✔✔1. Experience editor: an authoring tool for non-technical users. Shows the content as live website visitors see it. 2. Content Editor: Provides more command and more functionality compared to experience editor and displays the content in the stored format. What are Insert Options? - Precise Answer ✔✔The options of templates users have for inserting content. It is a property of an item and defines the types of items that user can create as the child of that item. Insert Options can be also calculated automatically or based on user access. How to lock and unlock an item as a non-admin user? - Precise Answer ✔✔Click on Edit button, do the editing and then click Edit again to unlock it. What is a Standard Value? - Precise Answer ✔✔- An item named __Standard Values - Placed as the child of the template it is based on - Used to define default values and settings for all items based on that template - It is a value to use when the field value is null Regarding __Standard Values and template inheritance - Precise Answer ✔✔how the value of a field is calculated?,1. If the field has a value, it will be set 2. If not, then the value of the same field in __Standard Values of the Template is used if it is not null. 3. If not, then the value of the base template will be check and this scalation continuous a value is found 4. If not, then it is set to null What is an Initial Value? - Precise Answer ✔✔Both default values and initial values are defined by Standard Values but: 1. Initial values are only set when the field is created (if you set a Standard Value field to an initial value, it will not affect created fields) 2. They defined by these $ token: $Name, $Date, and $Now What are $Name - Precise Answer ✔✔$Date, and $Now?,$Name: name of the content item $Date: current date $Now: date and time at the moment How to set the value of a field to null? - Precise Answer ✔✔Use the Reset button. Null and empty are not the same in the Sitecore. In Content Editor - Precise Answer ✔✔How do you set Insert Options?,Configuration/Assign button when the item is selected What are the field versioning options? - Precise Answer ✔✔Versioned: default, the field is capable of having different data for each version and each language Unversioned: Only one single copy of data exists for each language. Shared: One single version in all languages. How do you set the value of an item to null? - Precise Answer ✔✔Configuration/Reset What are the 3 main Sitecore DBs and what are for? - Precise Answer ✔✔1. Core: User UI definition and membership configuration 2. Master: All lang. and versions data is stored here 3. Web: Content used for live website All of these DBs use items to store data. What is Publishing? - Precise Answer ✔✔The process of copying from Master to Web DB. The response to a web request is made from the content on the Web database and unless a publishing operation takes place, whatever changes you make on the Master DB will not affect the website. - Date / Datetime - General Link How do you refer an Item.field in a layout? - Precise Answer ✔✔@Html.Sitecore().Field(fieldname) How to refer a field in another item in a layout? - Precise Answer ✔✔@Html.Sitecore().Field(fieldname, anItemObject) What are the extra parameters you can provide in @Html.Sitecore().Field()? - Precise Answer ✔✔They should be provided through an anonymous object and they are: @Html.Sitecore().Field(fieldname, new { DisableWebEdit = true, EnclosingTag=, Format=, @class=}) What is a View Rendering Component? - Precise Answer ✔✔It is a Razor .cshtml file equivalent of MVC view. Sitecore creates a Controler and Model for it. How to refer to a component in layout statically? - Precise Answer ✔✔@Html.Sitecore().Rendering(path or id) What is the Layout? - Precise Answer ✔✔It is the scaffolding of the page What is a Component? - Precise Answer ✔✔Part of the page that can be reused in other pages too. (:|) What are the Presentation Details? - Precise Answer ✔✔The property of each item that stores the information Sitecore requires to make up a page response. Are statically bind components editable in Content Editor mode? - Precise Answer ✔✔No What is dynamic binding? - Precise Answer ✔✔Sitecore assigning components onto the page at request time. What are the benefits of dynamic binding? - Precise Answer ✔✔- It gives editors the ability to change the presentation of the page - It also powers advanced marketing features like personalization on content testing - and permits a much better component reuse in comparison with statically binding (in code) What are the elements required for dynamic binding? - Precise Answer ✔✔1. Add a placeholder markup where you want to be able to add something dynamically @Html.Sitecore().Placeholder(Key) 2. Add a mapping between component and placeholder on the Presentation Details Just remember that placeholder key must be unique as it is used in Presentation Detail for binding to a component (Controls Tab) - Precise Answer ✔✔OK. I will. How do you let normal users change the component of a placeholder? - Precise Answer ✔✔By creating a Placeholder Setting Item What are the 2 key fields of a Placeholder Setting? - Precise Answer ✔✔1. Placeholder Key 2. Allowed Controls: if not set, users can set any component What is the difference between the Final and Shared options of Context Editor>Presentation>Layout - Precise Answer ✔✔Final overrides the layout of that version and Shared overrides all versions in all languages. How do you loop through all item children of the item X? - Precise Answer ✔✔@foreach (Sitecore.Data.Items.Item item in Model.Item.Children[X]){ } extranet\anonymous — a user who is viewing the free to access parts of a website. What are the benefits of using the standalone publishing service (Starting with Sitecore 8.2) - Precise Answer ✔✔The majority of this service code runs on ASP.NET Core. If you expect a large number of items in your production env. or your servers are geo-distributed, setting up this service will give you noticeable performance improvements. What is a session state? - Precise Answer ✔✔The information collected from user behavior visited pages, submitted data, ect, is collected in session state. When the session is expired, the info is pushed through xConnect to the collection service to be stored. Processing server aggregates and reduces and index the data. This info can be queried through xConnect from the Reporting Server. How can you copy the application files in VS project to an existing Sitecore installation webroot? - Precise Answer ✔✔1. Batch script 2. MSDeploy 3. VS Publish/Deploy (easiest): Build Menu / Context Menu on the project . . How do you publish a single file? - Precise Answer ✔✔It is used for files that do not need compilation such as java script or css files. Use Context Menu of the file or Keyboard Shortcut: (Alt+ Alt+P) Right Click on the file or folder -> Start Folder Sync -> Sync Now (this is available if Sitecore Rocks extension is installed) - Precise Answer ✔✔ Remember to check Helix documentation and sample Habitat project. - Precise Answer ✔✔Sure. How do you render a field of an item that is not part of the Context of the current URL? - Precise Answer ✔✔1. get the database object: var database = Sitecore.Context.Database 2. get the item: var item = database.GetItem(new Sitecore.Data.ID(Item ID)) - Precise Answer ✔✔ 3. get the value of the field: var output = FieldRenderer.Render(item - Precise Answer ✔✔Field Name, params) What is the difference between the ContextItem and DataSourceItem? - Precise Answer ✔✔The ContextItem mapped to the URL and contains the Presentation Details. The DataSourceItem is a property, developers and editors can assign to any component. How do you get DataSourceItem in code? - Precise Answer ✔✔RenderingContext.Current.Rendering.Item What is the default value of RenderingContext.Current.Rendering.Item? - Precise Answer ✔✔The same as: RenderingContext.Current.ContextItem What are the benefits of using Rendering Parameter Template for your component? - Precise Answer ✔✔1. Authors do not have to remember parameters name and values 2. They restricted to those values 3. Authors with limited access can not see additional parameters * if your field is not storing the raw text of values, you have to code to retrieve the values by ID it those items Drop list stores the name of the items while Droplinks store their IDs What are Compatible Components? - Precise Answer ✔✔Components that can be replace with another component (without removing one and adding another one) because: They are presenting the same data {robbish from the course} 1. They have a similar but slightly different presentation 2. Sharing data source and parameters 3. Have page location in common What are the configuration limits of Compatible Components? - Precise Answer ✔✔Are configured on Component Definition item. It is not a two-way setting. They should be in Allowed Controls field on the placeholder setting. [Just in case you see this in exam] Where does Sitecore store the rendering parameters? - Precise Answer ✔✔Any Sitecore field What is canonical URL? - Precise Answer ✔✔A canonical link element is an HTML element that helps webmasters prevent duplicate content issues in search engine optimization by specifying the canonical or preferred version of a web page. How to handle redirect with Sitecore? - Precise Answer ✔✔1. Third Party Module 2. Custom code by overriding the LinkManager and ItemResolver 3. IIS Redirect A Canonical Link needs to be absolute - Precise Answer ✔✔OK Mention 3 methods to filter items for navigation? - Precise Answer ✔✔1. Set exclude from navigation to 1 and use that in LINQ query to filter them out: var items = RenderingContext.Current.ContextItem.GetChildern().Where(item = item[exclude from navigation]) != 1) 2. Filter all items that inherit from a particular template 3. Have fields storing all the items that should be shown - Precise Answer ✔✔ How do you make Sitecore to translate URLs? - Precise Answer ✔✔By setting the LinkManager to use the item's DisplayName Where Sitecore's config is stored? - Precise Answer ✔✔web.config + a cumulative effect of files in App_Config folder. 2. Content Delivery 3. Processing 4. Reporting What is a package? - Precise Answer ✔✔Created by developers through package designer or Sitecore Rocks. Zip file used by Sitecore installation wizard. Contains serialized Sitecore items Can contain both code and configuration files Used to transfer items and files between Sitecore instances What is a Module? - Precise Answer ✔✔Most modules are packages. Used to extend functionality. Found on the Marketplace Update package? - Precise Answer ✔✔Contains changes to your Sitecore instance, item, and files. How do you create an anti-package? - Precise Answer ✔✔Using Site Rocks. It must be done before the package is installed What is the difference between installing packages using Sitecore Rocks and Sitecore Client Interface? - Precise Answer ✔✔Sitecore Rocks does not prompt about any conflict. Make a backup before installing a package. 1. Sitecore.Context.User 2. Sitecore.Context.Database 3. Sitecore.Context.Language 4. Sitecore.Context.Device 5. Sitecore.Context.Site - Precise Answer ✔✔1. Defaulted as Anonymous 2. Web / Core / Master 3. 4. 5. EditFrame? - Precise Answer ✔✔Allows developers to define a region of the page that will react to clicking by showing a toolbar. EditFrames in the Experience Editor is a feature that you can use to give users front-end access to fields that are not directly accessible, either because they are not visible or they are of a type that is not directly front-end editable. Where do you need to add a button definition item to add a new edit frame button? - Precise Answer ✔✔Core\Content\Applications\ WebEdit\Edit Frame Buttons In what namespace Html.EditFrame is? - Precise Answer ✔✔Sitecore.MVC.Extentions What is the raw value of a field? - Precise Answer ✔✔The value that is stored in the DB When do you render the row value of a field to the website? - Precise Answer ✔✔Never Non-Editable Field? - Precise Answer ✔✔A complex field that cannot be rendered directly to the Experience Editor and cannot be editable inline. Field Editor? - Precise Answer ✔✔Pop-up window available in the Experienced Editor that allows authors to edit complex field. Edit frame button? - Precise Answer ✔✔A button type that can be added to any toolbar in Experience Editor. It displays a Field Editor. What does this do: What is the unit of content in Sitecore? - Precise Answer ✔✔item What is the unit of content in indexes? - Precise Answer ✔✔document What is the responsibility of the index analyzer? - Precise Answer ✔✔Is responsible for looking at the content to be indexed (field value) an splitting into smaller bits called token, discarding unnecessary tokens and transforming them appropriately. What is the responsibility of the vectorizer? - Precise Answer ✔✔Store position of tokens in context StorageType = True - Precise Answer ✔✔A copy of the content is stored with the index IComputedIndexField - Precise Answer ✔✔Is used to provide a value for the field to be indexed. Ex. MultiList stores GUID and there is no use indexing IDs. This interface is used to convert those values to the content text of each item. Where do you go to view indexes info and choose indexes to rebuild? - Precise Answer ✔✔Launch pad > Control Panel > Indexing Manager What are the 3 default content indexes? - Precise Answer ✔✔Sitecore_core_index Sitecore_master_index Sitecore_web_index How do you show developers tab in the Content Editor? - Precise Answer ✔✔Right-click on the ribbon and select developer from the list What is the recommended number of children for each item? - Precise Answer ✔✔100 What are the 2 solutions for handling a large number of children? - Precise Answer ✔✔1. Use hierarchical folders 2. Use Sitecore Buckets Any item can become a bucket - Precise Answer ✔✔OK What are the 3 things that the item bucket does? - Precise Answer ✔✔1. Ensures that the folder structure is created to reduce the number of children per item 2. Hides the folder structure and the content from the author view 3. Bring the search interface to the forefront to allow authors to locate their content Why it is better to identify and create buckets from the start? - Precise Answer ✔✔Because if you first have the content as just plain children, when you make it into a bucket, those children will get moved into folders. The paths and potentially the URL will change. Also, authors cannot create buckets, they must be provided with them. When a standard value should be changed to a bucket? - Precise Answer ✔✔When you expect any item of that type to be a bucket. Bucketable - Precise Answer ✔✔An item needs to be bucketable to be in a bucket. It helps creating a hybrid of hierarchical content and hidden content. Set standard value as bucketable so new items become bucketable - Precise Answer ✔✔OK How do you create a saved search result? - Precise Answer ✔✔Create Saved Search children items with predefined queries How do you make an item Bucketable - Precise Answer ✔✔In Content Editor select the item, on CONFIGURE tab, in Bucketable settings section, click on checkbox Current Item