New answers tagged

2 votes

Custom token to rename Fields in Template

Sitecore tokens are used to populate field value and not field names. You should define field names before creating items from it and use sections to keep related fields together. Fields are like ...
Vikrant Punwatkar's user avatar
0 votes

How to get the field value of current item language in Sitecore

You can use a LanguageSwitcher to change the language: e.g. using (new LanguageSwitcher("OTHER LANGUAGE CODE")) { var item = Sitecore.Context.Database.GetItem(this.ItemID); var field ...
Richard Seal's user avatar
  • 19.8k

Top 50 recent answers are included