FAQ Database Discussion Community


Sitecore Multiple nodes for rendering datasource

c#,xpath,sitecore,rendering,sitecore7.2
I am using Sitecore 7.2(rev. 140228), I have multiple sites & all of them have their own content store or meta-data. Now I wants to give them choice to select datasource either from own meta-data of other site. Although I know another option to make meta-data global outside of all...

Sitecore CustomValidator does not fire on WFFM custom field

asp.net,sitecore,sitecore7.2,web-forms-for-marketers
I've try to extend SingleLineText field on WFFM on Sitecore. This field will have CustomValidator. But ServerValidate event does not fire when page postbacked. The snipped code below. public class SingleLineText : Sitecore.Form.Web.UI.Controls.SingleLineText { protected override void OnInit(EventArgs e) { base.OnInit(e); var validator = new CustomValidator() { Display = ValidatorDisplay.None...

Moving sublayout that contains another sublayout from one placeholder to another

sitecore,sitecore7.2
I have an issue in the Page Editor where i have created a sublayout in a placeholder, and add another sublayout inside that sublayout (nested sublayout). And when i moved the parent sublayout to another placeholder (still using Page Editor), I am only moving the parent sublayout, but not...

Sitecore 7.2 and SOLR: exclude clones from web index

solr,sitecore,sitecore7,sitecore7.2
I'm trying to exclude all clones from Sitecore's web index. I've created a custom crawler inheriting from Sitecore.ContentSearch.SitecoreItemCrawler overriding the IsExcludedFromIndex method with the following code: protected override bool IsExcludedFromIndex(SitecoreIndexableItem indexable, bool checkLocation) { if (indexable.Item["Hide from Search"] == "1") return true; if (indexable.Item.IsClone) return true; return base.IsExcludedFromIndex(indexable, checkLocation); }...

Sitecore item deletes image on save

image,sitecore,sitecore7,items,sitecore7.2
We have a pretty large website running on sitecore 7.2. On a couple of items we noticed a certain problem. Everytime we link a picture to the item and we save it, the item is saved without the image. The items are of the same template of 900 other items,...

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

sitecore7.2
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 select a single item (so not a multilist), the items are in a...

Sitecore Treelist validation for items with a layout

validation,sitecore,sitecore7.2,treelist
I'm trying to find a way to have the selectable items in a treelist to be items with a layout. Since items without a layout are not visible, it must be impossible to select these. Do i have to write a custom validation? If yes, how can i check if...

How should I start a Sitecore campaign when the entrance page is an alias?

sitecore,sitecore7.2,sitecore-dms
We have a site with extensive use of product specific contact forms (Web forms for marketers module), so that almost any page can be considered a landing page. We want to run campaigns that make use of existing pages/forms instead of creating new pages specific to the campaign. As we...

How to implement tagging from WFFM in a multilingual site?

sitecore,web-forms-for-marketers,sitecore7.2,sitecore-mvc
We would like to use the Web Forms For Marketers "Tag visitor" functionality, using the standard pre-built tags available (see How do I get the value of a WFFM field as a tag and output it in a Sitecore DMS report? ) We have found, however, that instead of using...

Can't set workflow and workflow state properties on sitecore items

powershell,workflow,sitecore,sitecore7.2
I am currently working on a project that requires me to set up a very simple sitecore workflow. I am running into some difficulties when modifying the existing items to use my new workflow. This is what i did: The workflow creates a new version when a contentmanager starts editing...

Determine which role is restricting access in Sitecore

sitecore,sitecore7,sitecore7.2
I've got a Sitecore Multilist that has several pre-selected items on it. Certain users aren't able to see the items on the list, because they don't have read access to the items. The problem I've run into is that these users have some 12 roles and I can't figure out...

Difference between Sitecore solr index rebuild and refresh

indexing,solr,sitecore,sitecore7.2
we would like to know what is the difference between Sitecore full index rebuild and index refresh. When we want to refresh item in index it took ~2 min. Full rebuild of master index took ~10min. Why index refresh is so time consuming? We are refreshing item using this code:...

Sitecore 7: “Clear on Index Update” not working?

caching,sitecore,sitecore7,sitecore7.2
Refer to this post for a description of the feature. My HTML cache is enabled, and I have turned on "Clear on Index Update" for one of my Renderings. However, the entry for my Rendering is NOT marked with any special token in the cache - I verified the cache...

Sitecore 404 page from item

sitecore,sitecore7,sitecore7.2
Getting Sitecore to respond with a 404 error code, this blog seems to be the most referenced, where a processor is added to the httpRequestBegin pipeline and the StatusCode is set to 404 while the response is written from the results of a separate request. Like so: // Request the...

Setting Publishing target in Sitecore

sitecore,sitecore6,sitecore7,sitecore7.2
I'm trying add the remote server in my publishing targets. I have followed the procedure explained by the Dheer rajpoot. After updating the web.config, when i tried to load Sitecore, its showing me following error Unknown connection string. Name: 'SITtest' In Sitecore I have created the publishing target as they...