sitecore

Maximum # of Results in a Sitecore Droplink field?

In Sitecore 6, one of my templates contains a "Droplink" field bound to the results of a particular sitecore query. This query currently returns approximately 200 items. When I look at an item that implements this template in the content editor, I can only see the first 50 items in the field's dropdown list. How do I display all of the...

Launch Content Editor from code

I have an application that is creating an new item in Sitecore then opening up the Content Editor to that item, it is loading fine but whenever i try to open the html editor i get a 'NullReferenceException'. This is only happening when i launch the application in this method. Source Code: [Serializable] public class PushToCMS : Command...

Sitecore's "Latest" Item

A general architecture question in Sitecore 6... Let’s say we have a situation where we have 10,000 items implementing a “Press Release” template. These items are stored in Sitecore at */sitecore/content/home/press/**. On our homepage, we’d like to display some information concerning the 3 most recent press releases. We’re looking to c...

One large xslt over smaller more granular ones

We have one large xslt that renders a whole shop area including products, manifacturers and does filtering based on price and cateogry on top of that. I'm using sitecore as a CMS and I'm having problems with caching. I have about 9000 items and some pages take as much as 20s to render. Will it be better to split the xslt into smaller par...

Adding unversioned files to subversion

Is it possible to add files to subversion that isn't supposed to be versioned? F.ex. config-files that needs to be edited to match each individual environment. When a new programmer is connected to the project he should get the original file from subversion but it wont be commited after he edits it and it wont be overwritten when he upda...

Delete child items recursively in Sitecore CMS.NET

I have the following structure in my Sitecore media library images/department/sub-department/product/ And I want to delete all of the images in code a department at a time. At the moment I have Item[] items = database.SelectItems("/sitecore/media library/images/department1//*"); Sitecore.Data.Engines.DataEngine engine...

Create link to Sitecore Item

I know I have done this before but I can't seem to remember where or how. I want to create a link to an Item in Sitecore. This code: Sitecore.Data.Items.Item itm = Sitecore.Context.Database.GetItem(someID); return itm.Paths.Path.ToString(); Produces the following string: http://localhost/sitecore/content/Home/Item1/Item11/thisItem ...

Is SiteCore slow and buggy?

I've seen plenty of negative comments regarding performance and general bugginess. However, to be fair, most of these look like they were within the v5.3 timeframe. Have they fixed all of those issues in v6.0? Is it an excellent product? Some examples of the complaints: Maybe it’s just a case of user error, but this guy says, “some p...

Using XSL to list all fields of an item in Sitecore CMS

I'm using a debug device in sitecore (6) that will output a 'developer' view of a page when the url is appended with a certain query string (which activates the device). On the page, I have item name, template, branch master, workflow info etc. I'd like to list all the fields on the item using the xsl render - preferably not including t...

Sitecore: How to access same field name in different sections

I have data template dt1 in sitecore that has the field "header" in section "data". I also have data template dt2 that has the field "header" in section "portal" Finally I have data template dt3 that uses both dt1 and dt2 as base templates. How can I, in xslt, find the content of portal/header? In my code, when I write <sc:text field="...

How to find related items by tags in Lucene.NET

My indexed documents have a field containing a pipe-delimited set of ids: a845497737704e8ab439dd410e7f1328| 0a2d7192f75148cca89b6df58fcf2e54| 204fce58c936434598f7bd7eccf11771 (ignore line breaks) This field represents a list of tags. The list may contain 0 to n tag Ids. When users of my site view a particular document, I want to dis...

Set sitecore user to disabled on creation

I've created a registration form control for a Sitecore site that will create a Sitecore user for registration. However, I need to implement some authorisation of the account before the user can log in with it and want to set the account to be disabled on creation. I've been making use of the Security.Accounts.User class to achieve this...

404 Redirect to Sitecore page allows for Extensionless URL

I am using Sitecore as a CMS solution. Recently, we decided to add redirect capability to our website for errors. In Sitecore, I have created two content pages, one to handle Server errors and another to handle 404 errors. I implemented the server error with basic sublayouts without any code behind. On the other hand, the 404 page had a ...

Programatically Creating Image under Media Library

Hi, Does any one know how to create an image under Media Library programatically? Thanks, ...

Sitecore Polls module - Unable to access or delete polls

I've installed the latest version of the Sitecore Polls module (version 3.0.0 rev 090414) onto my Sitecore 6 rev 090120 installation. I am unable to access or delete poll nodes that I have created post installation, receiving errors when I attempt to access or delete them in the content editor. Additionally looking at the binaries in ...

Filter XSLT results

Hi there I have a questing about XSLT. I am making a website on Sitecore CMS, and some of the pages have to show a list of articles. That's not a problem. Every articlelist can be 'tagged' with one or more tags, and the same for every article. Let's say that I have an articlelist that have been tagged with 'Wordpress'. Then I only wan...

Accessing Sitecore from another web project

Hi All, Okay first let me tell you the story behind the question. We have a Sitecore website, a normal installation which is up and running smoothly. We need to create some items dynamically in Sitecore, a third party company calls a web service and this web service creates the items and publish them. So far it is straight forward, the s...

XSL to Group item

Hi, I have a set of Sitecore nodes: <item> <item> <item /> </item> <item /> <!-- (1) --> <item /> </item> <item> <item /> <item /> </item> I can obtain the path of these using a function sc:path(.), which returns something like '/item/item' for the point marked (1). What I want to be able to do is group the item ...

How to check SiteCore's serialisation tree into TFS

We're using Sitecore and to share the content between developers we're serialising the content tree to the filesystem then checking this into source control. This worked fine in the last project that used SVN, but this new project is using TFS. Unfortunately TFS won't accept paths that have a dollar sign in them, ie \serialization\mas...

Running SiteCore Production Site under a Virtual Directory

Hi, we're using SiteCore6 on a Windows Server 2003 (32bit) dev machine I know it's not recommended for the CMS editing site, but we've been told it is possible to get the front-end SiteCore websites to run from within a virtual directory. Here's the issue: we'd like to achieve what the below poor mans diagram shows. We have a WebSite...