sitecore6

How to maintain Sitecore Lucene indexes in huge content delivery webfarm?

做~自己de王妃 提交于 2019-11-29 13:22:12
I know that Lucene indexes cannot be shared: Sitecore keeps a local copy of the Lucene index in the file system of each instance and does not support sharing the indexes between instances. Is it possible to xcopy Lucene indexes between CM and CD? Is there some other approach or recommendation to maintain a indexes in 30+ content delivery servers ? Update: I’m fully aware that CDs must kick off their own index update. With over 30 CD servers I’m thinking that maybe there will be a period of time that not all CD server have the same set of indexes. I’m afraid that for some reason the indexes

How to programmatically approve a content item in Sitecore

房东的猫 提交于 2019-11-29 11:31:11
Is there a way that I can programmatically approve a content item in Sitecore? Here's what you might want to do. Setup a checkbox per site that will allow admins to chose whether they want to use Awaiting Approval or not. An admin will simply check a checkbox to Skip Approval (Draft to Approved) or leave unchecked to maintain workflow (Draft>AA(Approve or reject)>Approved): In your workflow, under draft state verify that you have a submit command with next state assigned to Awaiting Approval. Under submit command create a SkipOver action. Create Class library project in VS, the output will be

Sitecore - System.Security.Cryptography.CryptographicException

ⅰ亾dé卋堺 提交于 2019-11-29 11:11:19
Hi and thank you for your help. We're trying to keep a Sitecore site up and running on a WS 2008 R2 Standard server but keep running into the following exception: System.Security.Cryptography.CryptographicException The site is set up to run in its own App Pool with the 2.0 framework version selected and integrated pipeline mode. The site will run fine for a few minutes but then the app pool ends up being stopped with the following details: "Application pool '######' is being automatically disabled due to a series of failures in the process(es) serving that application pool." Checking the

Very basic usage of sitecore search

你离开我真会死。 提交于 2019-11-29 10:22:06
I am trying to setup a very basic search index, to index all items in a specific folder. I haven't really used much searching, but I'm trying to use out-of-the-box features, because its a very simple search. I just want to index all the fields. The sitecore documentation really doesn't provide much information - I've read a few blogs, and they all seem to suggest that I need the advanced database crawler ( http://trac.sitecore.net/AdvancedDatabaseCrawler ) - basically, something to the effect of 'it won't work without a custom crawler). Is this right? I just want to create a simple index, and

Sitecore 'dynamic placeholders' with MVC

末鹿安然 提交于 2019-11-28 16:31:27
问题 I'm looking for a working Dynamic Placeholder solution in MVC. There are at least two good descriptions of this "pattern" for use with WebForms: http://trueclarity.wordpress.com/2012/06/19/dynamic-placeholder-keys-in-sitecore/ http://www.techphoria414.com/Blog/2011/August/Dynamic_Placeholder_Keys_Prototype And I also found this blog explaining how to do it with MVC: http://blogs.perficient.com/portals/2012/10/17/sitecore-mvc-dynamic-placeholders/ First I have tried to implement Techphoria's

Sitecore: How to use sublayout parameters from codebehind?

烈酒焚心 提交于 2019-11-28 12:23:06
How do I get the values from the "Parameters" field (second screenshot) in the code-behind of the sublayout? I understand I can get/set parameters on a rendering (specifically sublayout) when it is added to the presentation details of an item, just as described here ( Sitecore 6 - using parameters ). However I would like to use the parameters field from the layout definition item. In the codebehind of the file belonging to to layout definition I can cast the parent to a sublayout and that object also has a .Parameters property, however this doesn't contain the values I'd expect. This is the

How to maintain Sitecore Lucene indexes in huge content delivery webfarm?

女生的网名这么多〃 提交于 2019-11-28 07:15:19
问题 I know that Lucene indexes cannot be shared: Sitecore keeps a local copy of the Lucene index in the file system of each instance and does not support sharing the indexes between instances. Is it possible to xcopy Lucene indexes between CM and CD? Is there some other approach or recommendation to maintain a indexes in 30+ content delivery servers ? Update: I’m fully aware that CDs must kick off their own index update. With over 30 CD servers I’m thinking that maybe there will be a period of

Sitecore - System.Security.Cryptography.CryptographicException

帅比萌擦擦* 提交于 2019-11-28 04:52:21
问题 Hi and thank you for your help. We're trying to keep a Sitecore site up and running on a WS 2008 R2 Standard server but keep running into the following exception: System.Security.Cryptography.CryptographicException The site is set up to run in its own App Pool with the 2.0 framework version selected and integrated pipeline mode. The site will run fine for a few minutes but then the app pool ends up being stopped with the following details: "Application pool '######' is being automatically

How can I login programmatically into Sitecore?

久未见 提交于 2019-11-28 04:43:18
问题 How can I login programmatically into Sitecore? For example if you would like to connect a small part of the Sitecore API to a desktop application, you would need to login into sitecore first to access the databases etc. Can this be done? 回答1: As Mark said, you will need to create a web service that your desktop app will talk to. If you need to deal with permissions in that service you have two options. Use a SecurityDisabler to make your webservice run in the context of an Admin user. using

Very basic usage of sitecore search

北慕城南 提交于 2019-11-28 03:53:51
问题 I am trying to setup a very basic search index, to index all items in a specific folder. I haven't really used much searching, but I'm trying to use out-of-the-box features, because its a very simple search. I just want to index all the fields. The sitecore documentation really doesn't provide much information - I've read a few blogs, and they all seem to suggest that I need the advanced database crawler (http://trac.sitecore.net/AdvancedDatabaseCrawler) - basically, something to the effect