Created
February 18, 2015 20:53
-
-
Save komainu85/ec0393b0de74059ca4d0 to your computer and use it in GitHub Desktop.
IsStandardValue Sitecore Computed Field
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class IsStandardValue : IComputedIndexField | |
{ | |
public object ComputeFieldValue(IIndexable indexable) | |
{ | |
Item item = indexable as SitecoreIndexableItem; | |
return StandardValuesManager.IsStandardValuesHolder(item); | |
} | |
public string FieldName { get; set; } | |
public string ReturnType { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment