sitecore7.2

How to generate custom unique ID

北慕城南 提交于 2019-12-01 23:33:32
We are using Sitecore 7.2 with multi-site implementation. The actual data is shared between multisite, hence it's been stored in common Global Item folder. We are facing a problem generating aunique ID on URL. I had a good search but could not find any solution except to use Sitecore Item ID. This is what we want: domain/players/player_id e.g. domain/players/1234 where 1234 is uniquely generated ID. Could someone please suggest if this is possible? Every page that is managed in Sitecore is a Sitecore Item. As such, you should be able to just navigate to the name of the player item. If you were

How do I bucket Sitecore items on something other than their creation date?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 08:04:26
I'm using Sitecore with DMS (Sitecore 7.2), and I'm setting up various controls on my layouts to pull content from different folders based on the users profile card. I'd like those folders to be "bucket" folders, since there'll be one folder for each profile card, and it'll be a bit unpleasant for authors to have to manually update all of these folders every time a new profile card is added. The " Developers Guide to Item Buckets and Search " says: by default, the items are organized according to the date and time of when the item was created, but this can be configured to use different

Sitecore Glass Mapper always null

血红的双手。 提交于 2019-11-29 14:20:25
I am using Sitecore Glass Mapper for a new project I'm setting up. We are using Sitecore 7.2, latest version of Team Development for Sitecore (TDS) code generation and the latest version of glass. The code I am trying to execute: var b = new SitecoreContext(); var c = b.GetCurrentItem<T01_Homepage>(); b is not null. c is null. var d = b.GetItem<T01_Homepage>("path") d is null. I added my assembly in GlassMapperScCustom: public static IConfigurationLoader[] GlassLoaders(){ var attributes = new AttributeConfigurationLoader(new[] { "Company.Framework.Websites.Corporate", "Company.Framework.Core",