sitecore

'and' terms not reversible in Sitecore Fast Query?

This one may be a bug, or it may be me failing to understand something. Assuming there are some named 'Profile' items inside /sitecore/system/marketing center/profiles, this query returns all of them (tested in XPath Builder): fast:/sitecore/system/marketing center/profiles/*[@Name='%' and @@templatename='Profile'] But if I reverse t...

Sitecore extranet login?

I am trying to get the below code to work, but with no luck; bool success = Sitecore.Security.Authentication.AuthenticationManager.Login(UserName.Text, Password.Text); if (success) { string path = Request.QueryString["path"]; Sitecore.Web.WebUtil.Redirect(String.IsNullOrEmpty(path) ? "/" : path)...

Sitecore Page Preview not working with multi site setup

I have a Sitecore project with multiple websites where the Preview option is not working like expected. When i'm on an item with a presentation and click on Preview in the presentation tab i get the following error: The requested document was not found -> Requested URL: /sitecore/content//home User Name: default\Anonymous Site Name:...

Querystring with url-encoded ampersand prematurely decoded within Request.Url

Given url /Page.aspx?a=b&title=apples+%26+pears, Request.Url property returns /Page.aspx?a=b&title=apples+&+pears Note that the url-encoded ampersand in the second key-value pair has been automatically decoded. Other url-encoded reserved characters aren't being automatically decoded. Is this behaviour correct? EDIT: The issue is that ...

Sitecore CMS 6.2 - Fails to start up

My local Sitecore CMS 6.2.0.3322 has stopped working. I can no longer start up a local debug build and attach it to IIS or WebDev.WebServer20.exe (The VS2010 built in web server). When I start with WebDev I'm seeing the following message appear in the debug output window a couple of times a second: A first chance exception of type '...

What's the function of the Publish field of items in Sitecore

Hi, I am wondering what the function is of the Publish field of items in Sitecore. Just to be sure I am clear about what field I am talking about it's the field in the "Publishing" section of an item which is only shown when you check the "Standard fields" option. Normally that field is not filled in and I expected it to be filled auto...

Sitecore dtSearch config with multiple websites

How can i make Sitecore able to search 2 indexes using dtSearch? In the Sitecore documentation I can't find anything about adding more then one index to the configs. ...

How much do you let Sitecore (or other CMSs) manage?

I have been wondering how much content you should typically allow a CMS to manage, in particular reference to user-generated content. I am thinking specifically of Sitecore, since I have an upcoming project that will be written with it, but this could apply to any CMS really. Say you had a typical e-commerce site, with products for sale...

Viewstate lost on postback for .net Sitecore page

Hello, I'm getting some strange behaviour with viewstate being lost on postback for a .net application using Sitecore. I'm assuming it might be some config variable somewhere but I'm new to Sitecore and don't really know where to start looking. UPDATE: Sitecore has now gotten back to us with an answer. We had recently added the dtSea...

Odd behavior with sc:link.

Hello Stackoverflow. I have the following code in a rendering, running on multiple environments: <li class="formWWW"> <span class="formNumber"><sc:text field="Form Number" /></span> <h4><sc:link field="URL"><sc:text field="Title" /></sc:link></h4> <p><xsl:value-of select="sc:fld('Description', .)" /></p> </li> The issue I'...