Questions tagged [sitecore7]

Sitecore is a Web Content Management System (CMS) built on Microsoft ASP.net. This tag relates to version 7 of Sitecore

sitecore7
Filter by
Sorted by
Tagged with
1 vote
3 answers
16k views

Sitecore: The layout for the requested document was not found

Only when I go to preview an item from the Content editor I get an error message: The layout for the requested document was not found. I get redirected to: http://<site>/?item=%2f&layout=%...
0 votes
3 answers
10k views

Exception: .Net SqlClient Data Provider at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception,

I m doing sitecore 7.0 Installation with installer ...but every time on database setup it throws same error : Exception: .Net SqlClient Data Provider at System.Data.SqlClient....
9 votes
3 answers
3k views

Sitecore Solr remove versions from index

I’m using Sitecore 7 and the Solr Search provider. I currently have the site setup to update the search index when publishing an item. I’ve noticed that when the CMS author creates different ...
0 votes
0 answers
29 views

Not loading CSS files after login to my sitecore instance

Refused to apply style from 'sitecore/shell/client/Applications/LaunchPad/LaunchPad.css' because its MIME type ('') is not a supported stylesheet MIME type, and strict MIME checking is enabled. ...
0 votes
1 answer
333 views

Sitecore 7, Link manager, alwaysIncludeServerUrl not working

I am using sitecore 7 single site instance. Content editor is generating link to other sitecore pages in this format: <a href="~/link.aspx?_id=C136420D804946BA83DEF823817F5944&amp;_z=z&...
3 votes
3 answers
1k views

Is there a way to stop OnItemSaving events?

I have managed to stop OnItemSaved events being triggered via the use of item.Editing.EndEdit(false,true); This however still triggers OnItemSaving events. Is there a way to disable this as well?
1 vote
3 answers
2k views

Sitecore display item title $name

I have an issue with Sitecore 7.1 In the homepage it display an item 2 times, one have title "$name" and one with the true title. (only one item but it appears 2 time) This issue occurs on the staging ...
1 vote
5 answers
3k views

Search empty fields

I'm trying to exclude search results that have a field that stores the ID of an item is empty. This field, for example, is called 'type'. I haven't been able to do this using LINQ. Here is my code ...
-2 votes
2 answers
271 views

Http error 500.19 with no error message?

I am currently trying to locally run a website using Sitecore but seem to get some weird error when trying to enter the page. The error message is blank? And the error code is 500.19. I read ...
3 votes
2 answers
1k views

Sitecore:Implementing Login Page Using Social Connector Module

I am using Social Connector Module to Integrate Facebook Login. How can I integrate this into a page which will be shown to any user when he browses the site for any page and once he logs in with his ...
1 vote
4 answers
4k views

Iterating over Sitecore bucket items

I have an item on the Sitecore tree that has bucket items, so they can't be accessed with the normal hierarchical API. Is there an example of how to loop over the bucket items in a certain bucket ...
0 votes
3 answers
1k views

Programmatically add a new field in a template in sitecore

In Sitecore is it possible to programmatically add a new field in a template? I have a template "DictionaryName", in this template I want to add a field "Newname" with its type "Single-Line Text".
2 votes
1 answer
2k views

@Editable does not HtmlEncode

We are using Sitecore 7 and MVC + Glass.mapper to build a new site. Strange thing is that when we use @Editable(x => x.SectionTitle), when in Edit mode the SectionTitle field's content gets ...
6 votes
2 answers
2k views

Sitecore - Go back to parent bucket

I have a question regarding bucket items in Sitecore. I have following structure: I want to create a button on the 'test' detail page that goes back to the top bucket 'News overview'. Normally I ...
1 vote
1 answer
214 views

How to add insert option Programmatically in C# Sitecore

Insert option is not coming, can anyone help on this how I can programmatically insert option with item when we do not have insert option in _standardValue of template
3 votes
5 answers
2k views

Sitecore 8: Sync a bucket item on save

I have seen how we can provide default conditions and default actions to newly created bucket items. I also know that we can create a custom rule for building path based on custom date field. But, ...
1 vote
1 answer
2k views

Sitecore Redirect module Regex Pattern Matching

Using the 301 Redirect Module for Sitecore 7, I'm having a problem establishing the proper Requested Expression and Source values to use in the Sitecore Redirect Module. I have an example url that is ...
0 votes
2 answers
5k views

Sitecore.Context.Database.GetItem() not working in sitecore events

I am using Sitecore 7.0. Visual Studio 2013. I want to create an item's child in Sitecore using event Handler. So whenever an item is created, its child automatically added. For this I wrote an ...
0 votes
1 answer
521 views

Could not retrieve Coveo for Sitecore license

Getting below Exception while going through the Control panel of Sitecore. [LicenseNotFoundException: Could not retrieve Coveo for Sitecore license.] Coveo.SearchProvider.Licensing.Cloud....
0 votes
1 answer
1k views

Sitecore and caching control

I am working on this Sitecore project and am using WebApi to perform some service calls. My methods are decorated with CacheOutput information like this: [HttpGet] [CacheOutput(ClientTimeSpan = 3600, ...
2 votes
2 answers
247 views

Is it possible to define different icons for placeholders, components and edit frames in the Sitecore page editor "component navigator"?

When working in Sitecore page editor, our editors navigate through the tree of placeholders, components and edit frames using the blue arrow icon to open the component navigator. The component ...
0 votes
2 answers
1k views

How can I add a new custom standard value token for sitecore branch templates?

Sitecore comes with several standard custom value tokens when creating branch templates (i.e. $name for the name of the new item, $parentid, for the id of the parent). Is there anyway to add new ...
1 vote
1 answer
37 views

Sitecore 7 replace a page with children

Hi I have Sitecore 7 and I would like to completely change the content and layout of the main Home page. The home page has 1000's of pages underneath it. What is the best way to achieve this? Is it ...
5 votes
4 answers
8k views

Format Sitecore Date using Sitecore().Field()?

I need to use a custom format for a date (i.e. dddd dd MMMM yyyy). Is it possible to pass this format to Sitecore().Field()? I would like to do something like this: @Html.Sitecore().Field("Day1", new ...
0 votes
2 answers
5k views

Can I programmatically find a Sitecore item's parent matching a certain template id?

I have a custom Sitecore command that I would like to expand upon to determine if the current item has a parent item matching a certain template id. When the command/button is clicked, I will have ...
0 votes
2 answers
170 views

Get Command from Action call

As part of the Sitecore workflow, how can I get the command name that executed the action? For example, I have 3 states: Accept, Draft, Review and the Draft and Review both have a custom Email Action ...
0 votes
0 answers
337 views

Sitecore ChromesTypes ( Dynamic Placeholder ) In WebForm

I have a repeater to generate a dynamic placeholder. In Edit mode when i choose a usercontrol for it, it gives me an error: "Uncaught Loaded unexpected element while trying to get rendering html ...
2 votes
2 answers
2k views

Sitecore Solr Search by Multilist with Values from Another Multilist

I have a set of product items. Each product item has a multilist field that points to a set of product type items. When on a product page, I want to show a paged list of related items. These should be ...
4 votes
3 answers
3k views

Using a bucket as a datasource for a droplink/tree field

I'm trying to enable content editors to select an item that resides in a bucket in a droplink field but I'm unable to find a field type/datasource that enables this. I need to allow the user to ...
1 vote
1 answer
2k views

Make Sitecore item bucketable programmatically

I am generating a lot of sitecore content items programmatically in a tree structure. To provide an example, the structure looks something like this in content tree: Sitecore content ...
3 votes
2 answers
618 views

How to customize Sitecore workflow Comment box

I am working in Sitecore 7 and want to customise the comments textbox. I need following functionality: Instead of Single line, I want to replace it with multiline. Is it possible to have rich text ...
1 vote
2 answers
483 views

Sitecore 7.5 logs TypeLoadExceptionHolder cannot be converted to type Sitecore.Analytics.Model.Framework.IFacet

I am having the following error in the Sitecore 7.5 logs. Any idea why we are getting this error?. 9660 13:14:42 INFO HttpModule is being initialized Heartbeat 13:15:26 ERROR Exception in alarm ...
13 votes
8 answers
11k views

Sitecore Lucene: content delivery server index not updating on publish

I created a custom search page using the default sitecore_web_index and everything seemed to work until I migrated to my test environment that has separate content management and content delivery ...
0 votes
1 answer
39 views

How to run Validation on all the items at once (Sitecore7.2)?

I'm not able to save and publish the main page due to validation error on some connected old subitem. How do I enforce validation on all the items in order to find the wrong item? Currently, I'm ...
3 votes
1 answer
2k views

Programmatically Process all Sitecore items with Workflow

I have situation where I have a lot items in the Workbox that I need to clear out. I need to process these items so that they can be assigned a workflow state (without triggering workflow actions) ...
1 vote
0 answers
144 views

Email Campaign manager: $name$ is not replaced on the online version

I am using Sitecore 7.1 MVC and added the aspx version of ProcessPersonilizationToken sublayout on my view. I can see the personalization token replaced by the recipient name but it does not work on ...
0 votes
1 answer
47 views

How to make URL for each tab in a page in sitecore 7.0?

I have an application on sitecore 7.0. I have a sitecore item named as Item1. That item's view has 3 tab mainly Home, about and contact. The URL for the item is /en/Home/Item1. On page load, Home ...
0 votes
3 answers
853 views

Sitecore item DisplayName is valid used as a page title

We are working on Sitecore application. There is our vendor team is using sitecore item DisplayName as a page title. As per my knowledge this is wrong approach. But i need your help please give me a ...
0 votes
0 answers
234 views

How to get the rendered Sitecore page html from a pipeline without making a webrequest to the application itself?

For a Business question, I have created one specific detail page. Based on querystring parameters contents could be changed (dynamic contents are fetched from Datasource Repository by id) e.g. *http:...
0 votes
0 answers
67 views

Add a new type of Unordered List to RAD Editor

I'm trying to add functionality to RAD Editor for an unordered list with a class (whatever): <ul class="whatever"> <li>thing</li> </ul> I have: The button showing up The ...
0 votes
2 answers
145 views

Issues Displaying Mobile Page in Different Environments

This project is using Sitecore.NET 7.2 .NET Framework 4.0.30319.34209 So I have two main questions I need guidance on. 1 We want to display a page specifically for mobile and not for the desktop ...
-2 votes
1 answer
1k views

Sitecore link with icon

Hi I want to design link button with icon. When I click on link button or icon it will navigate to the url. For that I used the below code. It is giving me the link with icon next to the link. What I ...
0 votes
2 answers
2k views

Sitecore: InvalidOperationException: Post condition failed

I'm relatively new to Sitecore. In my Pre-Prod server I'm getting below error whenever I click on Content Editor. Page Editor seems to work fine. Please help. InvalidOperationException: Post ...
0 votes
2 answers
784 views

fetch list of sublayouts used by item in sitecore

I'm using Sitecore 7.1 with MVC. I need to get the item ID of the sublayout or rendering used for a particular Sitecore items. Is there a way i fetch list of sublayouts/rendering used by an item in ...
-1 votes
1 answer
525 views

Unable to login sitecore CMS wirh Admin username

Recently i installed Sitecore CMS 7.1 Update2 and published my exsiting web site and changed connectionstrings to my old web and master db's.when i am trying to login to sitecore cms it is not ...
4 votes
2 answers
3k views

In Sitecore 7.5 how to programmatically create media items with language versioning?

I want to be able to create/update media items in code and also use language versioning. Here are more specifics. I have a Product content item. When that item is saved I want to be able to ...
0 votes
2 answers
793 views

Sitecore 8 Admin role: Lock access

I have two users say: Messi and Ronaldo. Both have the sitecore Admin roles. I was just playing around with them and got to see that Messi can override Ronaldo's actions on a certain item. Is this ...
0 votes
3 answers
1k views

GlassMapper GetHomeItem<T> always returning null

I have been using GlassMapper for a long time, and this piece of code has always worked flawlessly; today, after playing with the children of the Home item it no longer works - even if I undo my ...
0 votes
3 answers
1k views

Sitecore LinkManager ExpandDynamicLinks does not resolve the site URL

I am having a problem with the ExpandDynamicLinks in Sitecore. I am using the following method passing true for siteResolving. The problem is the site is not being resolved as promissed. ...
6 votes
3 answers
6k views

Strange Timeout in Sitecore 7

I've been using Sitecore version 7.1 for a few months now and have noticed that the Sitecore client logs me out after being idle for around 20 mins. Also other users have reported these issues whilst ...

1
2 3 4 5
15