sitecore

Display original Sitecore username instead of what's currently typed in

六眼飞鱼酱① 提交于 2020-01-06 08:32:01
问题 I might be overlooking something obvious here, but is it possible to return a Sitecore user with the username in the capitalisation they used when registering? At the moment the username will be displayed as whatever the user typed when they logged in, but I'd like to be able to get the original string. I'm using User user = User.FromName(domainUser, false); UPDATE: This is what I ended up with after Yan's excellent answer: // get the MembershipUser object normally by name var initialUser =

Sitecore Prefetch Cache Size Different after upgradation

北城余情 提交于 2020-01-06 06:26:34
问题 I have done the Sitecore upgrading from 8.1 to 9.0 Update 2. I see there is an issue on the prefetch cache. On the old version the webdb prefetch cache will go till 6GB but on the upgraded version it is not crossing 1.5GB. Sitecore 8.1 Instance Sitecore 9.0 Upgraded Instance 回答1: There was a huge investment in caching architecture redesign, I'll bring up a few things that were changed: 1) Game changer - Sitecore.Interning.config that allows reusing repeatable immutable objects (like strings,

Sitecore Analytics

[亡魂溺海] 提交于 2020-01-06 04:30:20
问题 I am on 7.2 version and found that Sitecore.Analytics.Tracker.IsActive is false and Sitecore.Analytics.Tracker.Visitor.VisitorClassification is 0 Imp point to note here is that my Analytics is working for all admin pages but not for custom pages of my site Can some one please provide some suggestions Cheers LA 回答1: Your pages should have a VisitorIdentification tag, so that Sitecore will be able to collect tracking information. Please make sure you have got a correct tracking tag being set up

Expected usage of Page Editor's Experience date

我是研究僧i 提交于 2020-01-05 10:02:47
问题 I'm trying to understand the expected author experience in Page Editor when working with multiple versions of pages. If an author sets the date on the Experience tab to set a page in the future, it sticks and stays that way when opening other pages in Page Editor. We have authors who are opening the page in Page Editor and not seeing the content they expect because of the date setting. Is it expected that they have to manually manage this date when going from page to page? This seems very

Expected usage of Page Editor's Experience date

情到浓时终转凉″ 提交于 2020-01-05 10:02:09
问题 I'm trying to understand the expected author experience in Page Editor when working with multiple versions of pages. If an author sets the date on the Experience tab to set a page in the future, it sticks and stays that way when opening other pages in Page Editor. We have authors who are opening the page in Page Editor and not seeing the content they expect because of the date setting. Is it expected that they have to manually manage this date when going from page to page? This seems very

Save Action on webforms for marketers throws exception

风流意气都作罢 提交于 2020-01-05 09:28:21
问题 I am using the latest version of Sitecore - 7.2 (rev. 140228) and the latest version of WFFM - 2.4 rev. 140923. So the problem is whenever I try to submit a form no matter what kind of save action I have, Sitecore throws exception: Object reference not set to an instance of an object. Description: An unhandled exception occurred. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Stack Trace: [NullReferenceException: Object reference not

Sitecore: Seemingly Random errors appear

北慕城南 提交于 2020-01-05 07:16:42
问题 we are experiencing some very odd errors in our installation. Some times out of nowhere Sitecore throws an error: Assert: Value Cannot be null. Parameter: Item. The closest i have come to identifying the problem is narrowing it down to either an index or the web database. Anyway, if I log into sitecore the Item is just missing, i can fix it in 3 ways: Rebuild the index. Recycle app pool iisreset Does any of you have an idea why this might be happening? We are running Sitecore.NET 6.5.0 (rev.

Sitecore: Seemingly Random errors appear

若如初见. 提交于 2020-01-05 07:16:07
问题 we are experiencing some very odd errors in our installation. Some times out of nowhere Sitecore throws an error: Assert: Value Cannot be null. Parameter: Item. The closest i have come to identifying the problem is narrowing it down to either an index or the web database. Anyway, if I log into sitecore the Item is just missing, i can fix it in 3 ways: Rebuild the index. Recycle app pool iisreset Does any of you have an idea why this might be happening? We are running Sitecore.NET 6.5.0 (rev.

Sitecore grouped droplist

删除回忆录丶 提交于 2020-01-05 07:11:42
问题 I have two droplist fields for a template. In the content editor, I want it so that the value of the second droplist is dependent on the first droplist. I.e. something like a country/state control. Is there a way to do this? 回答1: There is nothing out of the both that will give you this functionality. You need to create a custom field and implement it. EDIT: Here is the implementation of a category / subcategory field I have in a sitecore installation public class CategoryPicker : Control,

Sitecore EXM List Manager in distributed environment with Lucene Search Configuration

守給你的承諾、 提交于 2020-01-05 04:04:23
问题 We are using Lucene index instead of Solr. We are currently facing an issue with our List Manager in CD server. The below code throws an exception in CD server as it's unable to instantiate List Manger from Sitecore Configuration Factory. newsRecipientList = listRepository.GetEditableRecipientCollection("{my list guid }"); I've already gone through the Sitecore documentation for List Manager in a scaled environment, but it only talks about Solr. https://doc.sitecore.net/sitecore_experience