sitecore6

Web Forms for Marketers - Submit form data programmatically

落爺英雄遲暮 提交于 2019-12-09 23:41:37
问题 I'm currently scoping whether or not to include Web Forms for Marketers on a project I'm currently working on. The web site will be a responsive design with a rich UI and so I would like to have full control over the rendering of the form, e.g. labels, input fields etc and would rather not have to modify the WFFM SitecoreSimpleFormAscx.ascx file or the associated css file. Is there currently any way, using C# code, to submit some form data to a Web Forms for Marketers form that is already

Links and references between cloned items in Sitecore 6.4

有些话、适合烂在心里 提交于 2019-12-09 14:18:13
问题 I'm building a data repository site that I will then clone in its entirety to provide multiple clone sites, enabling localistaion of global content. What I need to do is to ensure that all references between items in the repository site (links in rich text fields, item references to pull in "related items" spots etc) are overridden to refer to the relevant clones instead of the original items in the repository. This will likely involve e.g. customising the LinkManager and maybe GetItem(itemID

Sitecore 6.5 with MVC3

♀尐吖头ヾ 提交于 2019-12-09 12:41:32
问题 I have to use Sitecore 6.5 with MVC framework and as per the reference document I can setup Sitecore and make that running. I have created MVC3 .NET web application project (blank and using Razor) and I dot know following things How do I setup Layouts and Sublayouts? (this must be different then web form I guess) What do I have to do to use Sitecore data controls e.g. FieldRenderer, Text etc. (I guess without those controls it will be not easy for us to use provide Page Editing mode) How do I

Temporarily change a Sitecore item's layout

倾然丶 夕夏残阳落幕 提交于 2019-12-09 03:49:07
问题 Using this code I managed to change the renderings on the current item. However this changed it permenantly in Sitecore (the changes were could be seen in the CMS) and not temporarily, as I expected. void ReplaceLayout(Item item) { if (item == null) return; using (new SecurityDisabler()) { // New item LayoutField newLayoutField = new LayoutField(item.Fields[Sitecore.FieldIDs.LayoutField]); LayoutDefinition newLayoutDefinition = LayoutDefinition.Parse(newLayoutField.Value); DeviceDefinition

In Sitecore, when adding a field to a template, there's a checkbox called “shared”. What's it for?

两盒软妹~` 提交于 2019-12-09 03:31:43
问题 This seems like a stupid question, but the closest answer I could find in the sitecore docs I have (online and offline), is that shared fields are "shared across languages". I took that to mean a shared field's content would be the same across all translations of that item in sitecore. Is that correct? 回答1: Yes, that's correct - the same across versions and languages of an item. Here the quote about Shared from SDN (though for 5.3, still valid for 6.x): When this checkbox is set, the Field in

how do you remove a language version of a sitecore item?

穿精又带淫゛_ 提交于 2019-12-08 16:38:07
问题 I think i could not make the question more explicit than what is in the title; on the content editor, you can click on the flag item and add a new language version, but no idea how to remove one on the versions ribbon, you can remove a version number, but it doesn't seem to allow you to pick a single language of the current version for removal 回答1: Select 'Versions' in a ribbon tag. Switch 'Language' to the language you want to remove version from. Click 'Remove' in the 'Versions' commands

Sitecore Analytics reports - Is this only for Analytics database, can I use master database to generate reports?

荒凉一梦 提交于 2019-12-08 13:17:16
问题 I was trying to create a report from master database in analytics reports. (Stimulsoft Report Designer) As it explains in the reports cookbook, I have created a "mrt file" (Report UI) and a report definition item in Engagement analytics. I have configured the datasource item as query item (/sitecore/system/Settings/Analytics/Reports SQL Queries/Visit Pages). It worked. But then I tried with a query using the master database, in the SQL query item I specifically mentioned the database as

Auto Increment / Identity Custom Field Type

烈酒焚心 提交于 2019-12-08 05:00:33
问题 I am currently implementing a system where there are user generated items, we can call them Orders. I would like to have a field (non-GUID) that is easy for customers to say over the phone or to write down that represents their order. The field should be simple and unique which made me think of an identity field. Can a portion of the item's GUID, say 10 characters, be unique enough? How can a unique field like this be implemented in Sitecore? GUIDs are alpha-numeric which is fine for my

How to maintain Lucene index availability during rebuild?

隐身守侯 提交于 2019-12-08 01:54:29
问题 When rebuilding indexes on a content delivery server, any components that search that index fail (blow up). How can I rebuild my index without causing the search components to be unavailable? Furthermore, is there a standard way to handle this? The code I'm using to perform the reindex on regular intervals: Sitecore.Data.Database db = Sitecore.Configuration.Factory.GetDatabase(DBName); Index index = db.Indexes[IndexName]; index.GetSearcher(db).Close(); index.Rebuild(db); To give a little

How to view all archived items in sitecore 6

有些话、适合烂在心里 提交于 2019-12-08 01:31:49
问题 i'm using Sitecore 6.5. I have 2 users that have the exact same role, say user A and user B. When i archived an item with user A, i can see the archived item in the user A archive manager but not in user B. How do i give access to the users so that they can see all archived items from all users without setting them as admin ? 回答1: The archive application is using the Sitecore.Data.Archiving.SqlArchive.GetEntries method to retrieve the archived items from the database and it filters the items