• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/186

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

186 Cards in this Set

  • Front
  • Back

What are your roles as a sitecore developer?

- Build and scaleaccording to recommended practices




- Support Sitecores marketing and analytics features




- Build for the experience editor

Where can you find more information?

- Knowledgebase (support articles)


- Marketplace (modules)




- Developer network (forum, downloads)

Before contacting support you should...

- Refer to help desk best practices

Name 2 key components of Sitecore XP

- Experience CMS




-Marketing Platform

Name 3 Sitecore interfaces

- Desktop




- Content Editor




- Experience Editor

Everything in sitecore is an...

Item

An item is not a ...

File

An items URL is determined by...

Its position in the Content Tree

Name the process by which items are synchronized between the master and the web DB

Publishing

Which Experience Editor mode would you use to add a new component?

Designing Mode

Which Experience Editor mode would you use to ass an image or edit text

Editing mode

When a request comes in Sitecore...

Maps URL to an item in the content tree and dynamically assembles presentation.

Name three databases that are installed by default

- Master




- Web




- core

Name some foundation features that Sitecore provides out of the box

- Content versioning




- multi-language support




- Devices (adaptive design) support

What is the name of the digital marketing management part of the experience Platform that collects and aggregates contact information

- xDB (or Experience Database)

An item's type is determined by the _________ used to create it.

Data Template

What is an item composed of?

Field sections and fields

What do you need to specify when creating a new field?

- Field name




- Type

In the Content Editor where can you find out which data template an item is based on?

Quick Info section on that item

Some examples of field types are...

- Single-Line




- Rich Text




- Image




- Date

In which scenario would you use data template inheritance?

When fields are repeated in multiple data templates.

Why is it important to think of your data template creation and inheritance structure from the beginning?

Refactoring template inheritance may cause data loss.

By default, all data templates eventually inherit from which Sitecore data template?

Standard Template

What happens if the same field section name is used in multiple templates in a data template's inheritance tree?

- The field section will merge




- Field will be listed under this single section

What happens if the same field name is used in two separate inherited data templates?

- Fields do not merge




- Both fields will appear




- Best to avoid reusing the same field names

Describe the standard values item

- Always named __StandardValues




- Child item of owning data template




- Is a special instance of an item - contains all inherited fields

What type of settings can be applied to standard values?

- Default field values




- Default Insert Options




- Default presentation




- Default Workflow

What are the two types of default field values?

-Dynamic (uses tokens)




-Static

How do tokens work?

Tokens are replaced when an item is created.For e.x. there are tokens for the name of the item or the ID of the parent item.

Name three tokens:

- $name


- $date


- $id


- $parentid


- $parentname


- $time


- $now

What are Insert Options?

A list of item types (data templates) that can be created under specific item

Where should Insert Options be configured?

On the data template's standard values which can be overridden at the item level.

Why is it a good idea to configure Insert Options on standard values?

All items using that data template will have the same Insert Options

What are presentation details?

Configuration that determines what an item looks like when requested by the browser

Describe how Sitecore resolves a page in comparison to a static HTML site.

Normally, a URL points to an HTML file. In Sitecore, a request maps to an item and the age is dynamically assembled from smaller pieces.

What is the name of the main Sitecore .dll?

Sitecore.Kernel.dll

What happens if you do not set Copy Local to false for your Sitecore.Kernel reference?

Some dll's in bin folder will be delete and you will need to get the full set from another installation to continue working.

In a Sitecore context, what is the name given to an .aspx file?

A Layout

How is a Layout definition item connected to a Layout file?

The Path field on the Layout definition item points to the location of the .aspx file

How do you configure an item's presentation details in Sitecore Rocks?

Right-click->Tasks->Design Layout or CTRL+U. You can also use Commandy

How many Layouts can you assign to single item?

One- per device

Name three different types of Sitecore components.

- Sublayouts




- XSLT rendering




- Wen control

What type of file is a Sitecore Sublayout?

.ascx

A component consists of a file on the system and...

A definition item in Sitecore

How does a component definition item know where to find the associated file?

By a Path field on the definition item

What is the Sitecore control that allows you to dynamically bind components to a page?

sc:Placeholder

What is the Sitecore control to statically include Sublayouts on a page?

sc:Sublayout

Describe the process by which a component is bound to a plaecholder

Open presentation details->Add->Rendering->select rendering->Edit PlaceholderKey property

Name the property that you must set on a placeholder to identify it.

Key

If all items of a articular type require a particulat component, where should these presentation details be configured?

On the standard values of the data template

What type of components might be good candidates for static binding?

Page scaffolding, like headers and footers

Namethree specialized Sitecore field controls



How can Sitecore help you resize images dynamically?

Set MaxWidth and/or MaxHeight on the sc:Image tag

Name the one mandatory property that must be specified on the Sitecore web controls

Field


(note* on , the equivalent is FieldName)

In which .dll can you find the majority of the API?

Sitecore.Kernel

When Sitecore makes a request, what is the name of the static classthat is assembled

Sitecore.Context

Name four properties thatyou might get from Sitecore.Context

-Context user




- Language




- Database




- Item

When you are looking at a pagein Experience Editor mode, what is the context database?

Master

Name the method used to retrieve items?

GetItem()

Items can be retrieved by path or ...

By ID

What does the sitecore.Context.Item.Database property return in the context of a live website visitor?

Web

How should you compare two items in code?

Using their IDs

What method do you use to retrieve an item's URL?

LinkManager.GetItemUrl()

Why should you not use GetDynamicUrl() for your site's front end?

Unreadable developer URL uses IDs

What object can you pass into the GetItemUrl() method to customize the way your item's URL is rendered?

A URLOptions object

Where can you customize how URLs are rendered globally?

In the LinkManager section of the web.config

Sitecore security is an extension of...

Standard .NET membership

All code is executed in the context of ...

The current user

What affects whether or not a piece of code will run?

The user's permissions

What permissions does extranet\anonymous lack by default?

Permission to creatte or edit items

When creatin or editing an item, the code must be executed with the appropriate security rights. Name two ways that this can be done.

UserSwitcher or SecurityDisbler

How do you put an item into an editing state?

Creating an EditContext;

Why should you create / edit items in the master rather that the web database?

Web overwritten by publish

Why is it a bad idea to output a fields value straight to the screen?

Not editable in Experience Editor and complex fields contain custom XML

Which field types are suitable for editing using the .Value property?

Simple text fields. For example, Single-Line text

Why is it a bad idea to output raw values to the screen?

Not editable in Experience Editor, complex field types will not make sense –images, for example

Name the best suited field object for the following field types: single-line text, treelist, droplink, general link:

Field, MultilistField, ReferenceField, LinkField

What method should you use to render the contents of text, date, image and link fields to the screen (and why)?

FieldRenderer.Render() –Experience Editor support, transforms custom XML, transforms Rich Text links

Why are you unable to render a multilist field to the page using .Render()?

It contains IDs, not readable content

Setting a component Datasource allows that component to _____.

Output content from a content item elsewhere in the tree

How can you force a Sitecore control to output the content of an item’s Datasource?

Set DataSourceor Itemproperty

What do parameters allow you to do?

Allow parameters to be set per instance of a component

How are parameters encoded when sent your component?

As a URL query string, that is
key=val1&key2=val2

What utility converts parameter lists to a NameValueCollection?

WebUtil.ParseUrlParameters()

Why would you set the Datasource for a component on the presentation details of an item?

Whenthe Datasource should only be used on a particular page

Why would you set the component and the Datasourceon the standard values’ presentation details?

When you want all items based on a particular template to have that component with that particular Datasourceas default

Why would you set the component on the standard values and override the Datasourceon the item?

When your component has to appear on every page but has a different Datasourcefor a particular page

When does a layout delta get created?

When presentation coming from the standard values of an item’s template is overriddenon that item.

How does the XML of a layout delta differ from the XML specified on a template’s standard values?

Layout deltas only contain differences between an items standard value presentation and any changes made by the author on the item.




The standard value XML contains all presentation details.

What can you do with methods that could be used across multiple Sitecore projects?

Abstract code to a generic utilities project

What cant you preview items under Global

They do not have presentation details

Why is the Settings item outside any individual site folder structure?

Values shared across all sites

What kind of content can you display using a General Widget?

Promotions, announcements –anything that could be re-used across the site

Name 2 devices you may want to target with different presentation details:

Tablets and mobiles

When will Sitecore use the language attribute of the site definition in the web.config?

If there is no explicit language in the URL nor a language cookie.

How do visitors to your site change the site’s language?

You have to build language switching for the front-end yourself –using a query string, for example

What kind of error checking should you do when rendering items to the screen?

Check that each item has a version in the context language

What are some important considerations with a multi-site implementation?

Large codebase, sites affect each others performance -see Multi-site slide for more

Which shared field is used to store presentation information for all versions of an item?

__Renderings field

What does the presence of the __Final Renderings field allows an author to do?

To define individual presentation details for each version of an item

Which item versions can have individual presentations defined on them

Numbered and language versions of an item

How do you access the Layout Details window for each item?

In Content Editor or Experience Editor click the Details command. In Sitecore Rocks choose Tasks -> Design Layout

What is the difference between the Shared Layout tab versus the Final Layout tab of the Layout Details window?

The Shared Layout tab is for defining presentation details for all versions of an item while the Final Layout tab focuses on the presentation detail of that specific version of the item.

What will . return?

the context item.

Name two axes available in Sitecorequery:

- ancestor-or-self::




- parent::

Why shouldnt you query the entire content tree?

Expensive –particularly if you are iterating through all descendants

Unless you are doing a very simple query on a very limited area of your Sitecore tree, what should you use instead?

Sitecore Search

What does the Datasource Location field automatically do in the Experience Editor?

Opens the Select the Associated Contentdialog when authors add a new component

What happens if the Datasource Location and the Datasource Template fields are both filled in?

The "Select the Associated Content" dialog opens and authors can create a new content item using the template specified

What happens if the Datasource Location field is empty, but the Datasource Template field is not?

The dialog doesnt open automatically, but when the author requests it, they see the whole tree with irrelevant items ghosted

What is the benefit of rendering Parameters Templates to authors?

Reduces error


Authors do not have to specify the parameter name


Authors can choose values from dropdowns.

Which data template is used as a base template for your Parameters Template?

Standard Rendering Parameters template

If you want your component to use this new Parameters Template, where do you assign it?

On the components definition item in the Parameters Template field

When you add <sc:Placeholder Key="myKey" /> to your sublayout, what must you do for the placeholder to be selectable in the Experience Editor?

Create a Placeholder Settings definition item in Sitecore

What else do these Placeholder Settings items allow you to specify for authors?

Which components authors can insert into a placeholder.

What are Allowed Controls

They determine which components can be added to a particular placeholder

Which Experience Editor mode supports adding components into placeholders?

Designing

If a component is not in the Allowed Controls list, can it be added into that placeholder through the Experience Editor?

No

What are Compatible Renderings

Components that can be used in place of another component

What two elements should you keep in mind when setting up Compatible Renderings?

Both components need to be able to accept the same Datasource and the same Parameters

If a component is not in the Allowed Controls list, can it still be used as a Compatible Rendering?

No

Once Custom Experience buttons are assigned, where do they show up?

On a component / field and displayed in the Experience Editor

Name two examples of custom buttons:

FieldEditor and WebEdit buttons

On what type of definition item can you assign Custom Experience buttons?

-component definition item or


-a field definition item

What do Edit Frames do?

Surround an area on a page or component and display buttons allowing you to edit fields that would not be normally editable in the Experience Editor

In which database do you create the Custom Experience buttons and Edit Frames?

Core

Use a bucket when ...

You do not need a hierarchical item structure and/or you have a large number of items

In order to store an item in a bucket, you must…

Make that item or the data templates standard values it is based on bucketable

After making changes to the bucketability of the items in a bucket, you must…

Sync the bucket

What do facets allow you to do?

Progressively apply filters (based on fields) to narrow down your result set

How do you create a bucket?

Select the item you want to turn into a bucket and click the ‘Bucket’ command on the Configure tab

What defines how Sitecore items should be indexed?

Index configuration files in /App_Config/Include

Search is built using a provider model. What does this mean?

You can plug in whatever search provider you want

What syntax do you use to query an index?

LINQ

What is the name of Sitecores default search result class?

SearchResultItem

When building your own search result class, how do you account for fields with spaces?

Decorate with [IndexField("Page Heading")]

What method should you use to return a rich results object?

GetResults();

You can configure how fields get indexed by typeor…

Name

You can include/exclude by individual field names or…

ItemTemplates

Which attribute must be set to ‘YES’ in order for values to be stored in the index?

storage Type

Which two search providers does Sitecore ship with?

Lucene and Solr

If you wanted to store the number of comments a news article has, what type of field might you use to perform the calculation?

A computed field

Why should you tune your index configuration and not index everything by default?

Large, unwieldy index as your solution grows

What are the three layers that the item cache mechanism have?

- Item




- Data




- Prefetch

What operation clears the HTML cache?

Publishing

Which cache is populated when the application starts?

Prefetch cache

What is the path for .aspx page that clears all cache?

/Sitecore/admin/cache.aspx

Cache settings are defined in what file?

web.config

Name three places where component HTML caching options can be defined

- Definition item




- Standard Values




- per|instance of the component

What mode in Experience Editor shows profile, cache settings and HTML output for individual components?

Debug mode

Name the 3 publishing modes

- Incremental




- Smart




- Republish

Publishing restrictions can be applied to _____ , _____ and _____

Numbered versions of items , the item itself and targets

List some benefits of using Sitecore Installer

Checks prerequisites, correct DLLs, logs, remove an existing installation

What are the recommended servers for an installation and which databases are on each server for a production environment?

- CM with core, master and web




- CD with core and web




- Separate DB server




-xDB with separate collection, reporting and aggregation servers

Name some features of Sitecore Instance Manager

Packages, customize, extend, reinstall & remove instances

Name two development models

Inside and outside the web root

Which is the bet practice?

Development outside the web root

What are the options to source control your items?

You can serialize your items for source control with Sitecore Rocks or use a product like TDS to do it.

What is the recommended way of patching in changes to web.config?

Patch web.config with include files, located under /App_Config/Include

What are Sitecore packages and what do they contain?

Zip files that contain items and code files

What is the name of the .aspx that you go to when upgrading Sitecore?

/sitecore/admin/updateinstallationwizard.aspx

Which application (in sitecore start menu) is used to view the resolved access rights

Access Viewer

You can assign access rights to _____ and _____

Users and roles

Can access be explicitly given to a user to override the role access right?

Yes

Name three permissions that are applied to access rights

Allow, deny and not specified = deny

What are workflows used for?

Content approval, versioning and tracking

Items go through a series of ______

States

Each state can contain certain ______ and ______

Commands and Actions

When is an item publishable?

In the Final State

When is a new numbered version created?

When an items version is in a final workflow state and then subsequently is edited by a non-Administrator.

What tool will show you all contacts that have been to your site?

Experience Profile

How does Sitecore store visitor data?

- Data is collected in a MongoDB collection database




- That information is aggregated and stored in a SQL Server database optimized for reporting

Engagement is measured using ...

Goals

Goals can be assigned to specific items and/or ...

They can be triggered programatically

What s the purpose of testing?

Establish which content or components makes your visitors react more favorably

When can authors start a test?

As part of workflow–whenever they have made a change on a page

What can be tested?

Content, components or entire pages

What to do to make sure your author can use the testing functionality?

- Add 'Launch Create Test Dialog' to workflow




- Make sure the Experience Editor works and is configured correctly




-Ensure components that should be tested are configured to accept data sources

What does it mean to profile content?

Assigning points in certain categories based on the audience that a content item is aimed at

How does componentization and use of data sources support personalization?

As a visitor navigates around the site, components can be added / hidden or their data changed to match a particular pattern card or profile key score

Best Practice: Why use Project Folders?

If there are many data templates, it is best to group them into subfolders for organization

Best Practice: Avoid Circular Inheritance

Although you can use a data template multiple times in the inheritance chain, you should avoid creating a circular template inheritance (A > B > A).

Tip: View Template Hierarchy by

Rright-click the item and click Navigate->Template Hierarchy. Two icons allow you to see inherited and inheriting data templates

Best Practice: Nesting Sublayouts

Sublayouts routinely have 1 or more placeholders which allow nested sublayouts to be added.


An example, a two-column sublayout will have 2 placeholders in divs with styling.


Then add other sublayouts into each of those “columns”.

Helpful Code: What are some commonly Used Item Properties

item.Name the item’s name




item.ID the GUID (Globally Unique ID)




item.ParentID the GUID of the item’s parent




item.Children a Collection of type ChildList of the first level descendants

Best Practices: Edit Field Values in a Try/Catch Block:

Try: item.Editing.BeginEdit() and item.Editing.EndEdit()




Catch: Editing.CancelEdit() should go in the catch block




Also, without the EndEdit, the new field values are not saved to the database.