예제 #1
0
        // Definition Field
        public static ID GetOrCreateSitecoreDynamicFieldFieldId(this DefinitionField @this, ID parentId)
        {
            var id = new ID(@this.Guid);

            DynamicFieldIds.Add(id);
            return(id);
        }
예제 #2
0
        public static ID SitecoreTemplateField(this ProductDefinitionField @this, ID parentId)
        {
            var id = new ID(@this.Guid);

            DynamicFieldIds.Add(id);
            return(id);
        }
예제 #3
0
        public static ID SitecoreTemplateFieldForVariant(this ProductDefinitionField @this, ID parentId)
        {
            // A field cannot be both a variant field and not be a variant field. Therefore there is no clash when using the guid as is.
            var id = new ID(@this.Guid);

            DynamicFieldIds.Add(id);
            return(id);
        }