Sitecore item.IsClone vs item.IsItemClone
Asked Answered
D

1

7

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

Dyspepsia answered 16/10, 2012 at 3:36 Comment(0)
M
9

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.

Malpractice answered 16/10, 2012 at 6:22 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.