November Happy Hour will be moved to Thursday December 5th.
Hey all, I need to edit a field from a business object but can't seem to access the editing & deleting function (http://webhelp.episerver.com/latest/commerce/business-foundation/customizing-a-business-object.htm). In code I thought I could delete it and then recreated in in an MetaData initilization class, but
orgMeta.Fields.Remove("");
removes the field from commerce manger but it doesn't remove it from the db so there's an error when recreating it after. This is fine on local, but surely there's an easier way.
Thanks
I'd suggest to go with MetaClass.DeleteMetaField(MetaField), which not only removes the field from the MetaClass, but actually deletes it.
Hey all, I need to edit a field from a business object but can't seem to access the editing & deleting function (http://webhelp.episerver.com/latest/commerce/business-foundation/customizing-a-business-object.htm). In code I thought I could delete it and then recreated in in an MetaData initilization class, but
removes the field from commerce manger but it doesn't remove it from the db so there's an error when recreating it after. This is fine on local, but surely there's an easier way.
Thanks