Skip to content

Instantly share code, notes, and snippets.

@hombreDelPez
Created December 9, 2016 09:54
Show Gist options
  • Save hombreDelPez/dcb4cb2519b93bad77b525e4c61de712 to your computer and use it in GitHub Desktop.
Save hombreDelPez/dcb4cb2519b93bad77b525e4c61de712 to your computer and use it in GitHub Desktop.
Enforce Version Presence Example 1
var language = Sitecore.Context.Language; //DE ist hier Kontextsprache
var item = Sitecore.Context.Database.GetItem("<id>", language);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment