Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Deleting a field in a business object that has been created via code

$
0
0

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


Viewing all articles
Browse latest Browse all 6894

Trending Articles