sitecore

What is the purpose of the VisitorIdentification control?

天涯浪子 提交于 2019-12-01 05:57:11
My Sitecore starterkit website contains the following control in the head of each layout. Can someone explain what it's purpose is and whether or not it's needed? I could not find any information on it on the Sitecore SDN... <sc:VisitorIdentification id="VisitorIdentification" runat="server" /> Control's output: <link href="/layouts/System/VisitorIdentification.aspx" rel="stylesheet" type="text/css" /> Contents of stylesheet: .sc_visitor { } See Analytics Configuration reference , paragraph 4.1.5 "The VisitorIdentification Web control". Just in case the link about becomes obsolete: The

Link to Sitecore Media Item

吃可爱长大的小学妹 提交于 2019-12-01 05:25:02
问题 In one of my templates, I created a field named UploadedSitecoreFile and set the type to File. I did this so that when a user creates a new item, they can browse the Media Library and select the PDF that they want to link to. In my code-behind, I have the following: Dim subItem = TryCast(e.Item.DataItem, Item) ltResourceInfoTag.Text = ltResourceInfoTag.Text & "<a href='" & subItem("UploadedSitecoreFile").ToString & "'>" & subItem("Name").ToString & "</a>" Can someone tell me the correct way

Checklist for ASP.NET / Database performance

梦想与她 提交于 2019-12-01 04:47:51
Recently our customers started to complain about poor performance on one of our servers. This contains multiple large CMS implementations and alot small websites using Sitefinity. Our Hosting team is now trying to find the bottlenecks in our environments, since there are some major issues with loadtimes. I've been given the task to specify one big list of things to look out for, devided into different the parts (IIS, ASP.NET, Web specific). I think it'd be good to find out how many instances of the Sitecore CMS we can run on one server according to the Sitecore documentation e.d. We want to be

Get Item in all languages in which it has a version

五迷三道 提交于 2019-12-01 04:41:10
Say we have an Item Product(which has versions in en, jp, zh and 0 versions in ru). How can I get this item in en, jp and zh and not in ru. I tried the below code. Item tempItem = Sitecore.Context.Database.GetItem(tempID); foreach (var itemLanguage in tempItem.Languages) { //Do Something } Here tempItem.Languages is returning all four languages where I was expecting only three as ru does not have versions. Is it the correct way to achieve this? Mark Cassidy You need to check the versioncount of the returned items. There are probably better ways to achieve this, but following your own code

How to secure an entire branch in a Sitecore content tree?

谁都会走 提交于 2019-12-01 04:15:57
I have a section of my content tree which I would like to deny ALL permissions to except for specific roles. This seems like a really obvious task to perform, and yet I don't see an example of it in the Security Administrator's Cookbook and I can't figure out an easy way to do it using the security tools. I must be missing something obvious... ??? Say I have this: sitecore -content -branchA -branchB Everything I created in the content tree is readable by extranet\Anonymous by default. But even when I click on the "Require Login" on the security ribbon, all users still have read access, they

Checklist for ASP.NET / Database performance

前提是你 提交于 2019-12-01 01:57:34
问题 Recently our customers started to complain about poor performance on one of our servers. This contains multiple large CMS implementations and alot small websites using Sitefinity. Our Hosting team is now trying to find the bottlenecks in our environments, since there are some major issues with loadtimes. I've been given the task to specify one big list of things to look out for, devided into different the parts (IIS, ASP.NET, Web specific). I think it'd be good to find out how many instances

How to secure an entire branch in a Sitecore content tree?

寵の児 提交于 2019-12-01 01:24:13
问题 I have a section of my content tree which I would like to deny ALL permissions to except for specific roles. This seems like a really obvious task to perform, and yet I don't see an example of it in the Security Administrator's Cookbook and I can't figure out an easy way to do it using the security tools. I must be missing something obvious... ??? Say I have this: sitecore -content -branchA -branchB Everything I created in the content tree is readable by extranet\Anonymous by default. But

Sitecore: Forcing pasting as unformatted text

邮差的信 提交于 2019-12-01 00:36:55
Is there a good way to force pasting as text inside Rich Text Fields inside Sitecore? I know there's a "Paste as Text" button in the Rich Text Editor itself, but content authors are almost definitely going to just hit Ctrl+V or Right-Click->Paste to put the text in, and if that content came from Word, all hell breaks loose with the markup. The workaround we have so far is to paste into notepad and then to copy that text and paste it into the Rich Text Field, but that solution is inelegant and I hate it. Thank you for your time. Mark Cassidy Take a look at the setting <property name=

Sitecore Workflow Is Not Working

大憨熊 提交于 2019-12-01 00:36:26
I already have an content item (item) with template A. Template A has not set any workflow initially and I set a new workflow in template's standard value. If I go to the content item's workflow section, there is only "Default workflow" update. The fields "Workflow" and "State" are empty even I set "Initial State" in the workflow's property, as shown below screenshot. So, workflow process is not working on that item. However, if I create new item with the template already set workflow, I could see all filled workflow fields based on its initial workflow setting. So, workflow process is

How do I trigger a profile in Sitecore DMS?

人盡茶涼 提交于 2019-11-30 23:40:37
I am looking for a way to allow visitors to select what content they want displayed on the site. Is there a way to programatically trigger a profile in Sitecore DMS? I've looked at relevant documentation on SDN ( http://sdn.sitecore.net/Reference/Sitecore 6/DMS Documentation.aspx ), but so far haven't found a way. EDIT: Raised this on Sitecore Support Portal - will post an answer once I find out more. xoail I have done something similar on my project. Check out this code sample and let me know if you have any questions. Also, make sure you add profiles to content items too. Call