






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A comprehensive overview of best practices for sitecore development, covering a wide range of topics such as visual studio project setup, content management, component creation, url management, security, workflow, and sitecore documentation resources. It addresses common questions and challenges faced by sitecore developers, offering practical solutions and recommended approaches to ensure efficient and effective sitecore implementation. The document delves into the various features and capabilities of the sitecore platform, guiding developers on how to leverage them to create rich user experiences, maintain content integrity, and streamline the development and deployment processes. By following the insights and recommendations presented in this document, sitecore developers can enhance their skills, improve project outcomes, and deliver high-quality sitecore-powered solutions.
Typology: Exams
1 / 10
This page cannot be seen from the preview
Don't miss anything!







What is the recommended version of Visual Studio for Sitecore development? - Answers -Any version that supports the .NET framework 4.0 will work for Sitecore development. What tools can you use to install Sitecore? - Answers -Manual or zip file, EXE, Sitecore Rocks, SIM What additional databases are required when running xDB? - Answers -Collection Database (MongoDB), Reporting, Session State How do you patch in changes to the
What do you need in addition to the Experience Management to take full advantage of the Sitecore Experience Platform? - Answers -You need the Experience Database to take full advantage of the available features. It supports the Analytics and Marketing features. Are all items pages in a Sitecore project? - Answers -No, items that are pages have their presentation details set To provide a rich user experience, what are some recommended practices you should use when you create templates? - Answers -Provide default values, use user friendly names and icons, limit the use of Rich Text Editors Where are default field values defined? - Answers -On the Template Standard Values item Why is storing media in the Sitecore database an advantage? - Answers -It makes publishing easier because the item and the media are both published so you do not have to keep files in sync. What item setting needs to be specified for authors to be able to add content? - Answers -Insert options What is the recommended practice for setting insert options? - Answers -Insert options are set on the Template Standard Values item Describe the anatomy of a Sitecore Layout? - Answers -A code file on the file system and definition item in the content tree How is the layout file linked to the definition item? - Answers -By the Path field on the definition item. How do you display the contents of a field in code? - Answers - @Html.Sitecore().Field("
What should you keep in mind when configuring Compatible Renderings? - Answers - They should be set on both components so you can exchange them. Both need to be in the Allowed Controls for any placeholders they will appear in. They may need to share data source and parameters. You have a component you would like cached anywhere it is used. Where would you define its cache settings? - Answers -On the component definition item in the Sitecore tree. You have a component that you want cached on every Event Details page. Where would you define its cache settings? - Answers -On the component on the Event Details Template Standard Values item. Why would you want to have the languageEmbedding option set to never? - Answers - The site is not multilingual. How would an author cause a broken link when renaming an item? - Answers -The URL is usually made using the item names. If the page was bookmarked in the browser, it will no longer work. You will need to implement 301 redirect logic. How would you disable .aspx being added to all URLs that are generated from Sitecore? - Answers -By changing the addAspxExtension attribute of the LinkManager Why is it important to have friendly folder structures within your content tree? - Answers -Because they dictate the segments that are within your URL How would you display the direct children of the Home item? - Answers -By retrieving the Home item using the Sitecore.Context.Site.StartPath. l By invoking the GetChildren() method What is the danger of using a method like Axes.GetDescendants() - Answers -It retrieves recursively all the children of all the children of the item. If invoked in an item near the root, it would load the entire tree in memory, with the corresponding performance penalty How can you skip certain items when you build the navigation? - Answers -Use LINQ to filter by template or the value of a particular field. How can you make sure content authors do not modify or remove certain components in the Experience Editor? - Answers -By disabling the Editable field in the definition item of the component.
How would you render the content of an Image field on the website? - Answers - @Html.Sitecore().Field() l FieldRenderer.Render() What happens if you use one of those methods to render a Multilist field - Answers -It would render the raw value of the field: pipe-delimited GUIDs. How would you render a Multilist field? - Answers -By retrieving its value in code and using it to create some output What class would you use to retrieve the contents of a Treelist field? - Answers - Sitecore.Data.Fields.MultilistField How do you get the children of an item? - Answers -Children l .GetChildren() In what order do child items appear by default? - Answers -Alphabetically Why would you preferably avoid sorting items in code, for example, using LINQ? - Answers -It might confuse authors to see items appear in a different order to the order shown in the Content Editor. What is the name of the pop-up window in the Experience Editor that can be used to edit fields that are not editable inline? - Answers -A Field Editor How would you enable the use of a Field Editor? - Answers -By adding a Field Editor Button to a toolbar How would you show a toolbar in a particular part of the page? - Answers -Using an Edit Frame How would configure the buttons shown in an Edit Frame? - Answers -By creating some definition items in the Core database l By adding the Buttons property to the Field Editor What is the biggest challenge when you post forms with Sitecore MVC - Answers - Having multiple controllers invoked in the same page request. Only one of them should handle the post How do you bind a controller to deal with the post of a View Rendering? - Answers -By filling the Form Controller Name and Form Controller Action fields in the definition item of the View Rendering
How does Sitecore initially identify a contact? - Answers -By using the Identify() method invoked with a suitable identifier Why is Engagement Value so important? - Answers -It is a better metric than simply measuring traffic to evaluate the success of the site. Most Sitecore reporting provides engagement value/visit information. How does Sitecore calculate the engagement value? - Answers -By adding up the points assigned to all the goals triggered by the visitor Why would you choose Solr over Lucene.net? - Answers -SOLR is a multiserver implementation of Lucene, which allows easier scaling, better language support and allows there to be a dedicated endpoint for Search. When should you use a Computed field? - Answers -When you need to use field data to calculate a different value to be stored in the index itself. Why do you use an Item Bucket? - Answers -If you have a large amount of content within the content tree and need a scalable solution for authors to work with. How do you use Search facets? - Answers -To filter results after an initial search has been run. What is Sitecore's security based on? - Answers -asp.net providers What are the two types of accounts? - Answers -Users Roles Where are access rights stored? - Answers -Standard field on items What happens if an access right is unspecified? - Answers -Sitecore will inherit the value from the parent item unless inheritance is disabled (denied) What are the effective permissions of a user? - Answers -Those defined on the user, plus those defined on any role it belongs to What role can you give access rights so that they apply to all accounts in Sitecore? - Answers -Everyone What happens if a role denies an access right and another one allows it? - Answers -It is denied How can you check the effective permission of an account? - Answers -Using the Access Viewer
What are the two main security best practices? - Answers -Don't set security on users Avoid using explicit denies Which user is bound to unauthenticated requests to the front-end website? - Answers - extranet\Anonymous What role does a user need to be able to log in to the Sitecore back end? - Answers - Sitecore Client Users Can you assign a user to a role from a different domain? - Answers -Yes What are workflows made of? - Answers -States Commands Actions How are workflows defined? - Answers -Through definition items under /sitecore/settings/workflow How do you bind a particular workflow with a certain type of items? - Answers -Setting the initial workflow in the template's standard values What is a workflow action? - Answers -An automatic side effect of invoking a command or entering a state What are the two consequences of making a state Final? - Answers -Items in it can be published Sitecore creates a new version when a (non-admin) user tries to edit it What is the point of the workflow stateWrite accessright? - Answers -To override the Write Permission for an item while it is in a particular workflow state Name the five official Sitecore Documentation Resources and their purpose - Answers - Sitecore Developer Network Contains downloads and documentation of supported Sitecore products and modules prior to the 8. versions. Sitecore Developer Portal Download the Sitecore Experience Platform and all associated products and modules for 8.0 and beyond - including Print Experience Manager and Sitecore Commerce. =Sitecore Documentation Contains all relevant documentation for the Sitecore Experience Platform and all associated products and modules for 8.0 and beyond. =Sitecore Knowledge Base
Why is it a good to work outside the webroot when it comes to deployment? - Answers - It is easier to manage files that need to be deployed and configure deployments to multiple Sitecore installations Why is it a good idea to secure Sitecore before it is deployed? - Answers -The default Sitecore installation is set up for development not production, so it is set up to optimize convenience not security Why would you use the zip version of Sitecore to drive your scripts? - Answers -It is easier to create scripts working from a compressed version of all the necessary files to run Sitecore than a executable wizard. How should you persist your items in source control? - Answers -By serializing them. How they get serialized will depend on the tools you have at your disposal. What elements should be committed to source control? - Answers -All the assets that can't be re-generated from other sources. This will include mostly your code and items. What are the main steps involved in deploying your application? - Answers -Install Sitecore