Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sitecore item.IsClone vs item.IsItemClone

What is the difference between item.IsClone vs item.IsItemClone?

like image 576
M.R. Avatar asked Oct 16 '12 03:10

M.R.


1 Answers

item.IsClone does a quick check for a cloning relation for the context language.

item.IsItemClone is a little more sophisticated; it will also do the check for the current language, but if there is no cloning relation found, it will check again for all other language versions. Also, the result of this property is cached in the DataCache.

I think in most cases you are best off using IsItemClone.

like image 114
Ruud van Falier Avatar answered Sep 22 '22 20:09

Ruud van Falier