Vulnerability in EPiServer.Forms
We have a PIM, in which we set our model structure. This we want to push into epi commerce. Is it possible to create metaclasses and metafields via the epi commerce api?
Thanks in advance!
Although Nodes, metaclasses, and meta fields have clear representation in the database but Episerver supports the code first approach.
However, you can write a service API that can create meta fields and metaclasses based on request. (useful if you have master & slave catalogue structure)
Not sure what you meant "epi commerce api", but you can use MetaClass and MetaField class (in Mediachase.MetaDataPlus.Configurator namespace ) to create metaclasses and metafields (and to link them together)
You can just write extensions to ServiceAPI (it's "just a REST endpoint"), using MetaClass and MetaField under the hood to do the same. But it's not available out of the box