// Definition Field public static ID GetOrCreateSitecoreDynamicFieldFieldId(this DefinitionField @this, ID parentId) { var id = new ID(@this.Guid); DynamicFieldIds.Add(id); return(id); }
public static ID SitecoreTemplateField(this ProductDefinitionField @this, ID parentId) { var id = new ID(@this.Guid); DynamicFieldIds.Add(id); return(id); }
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); }