I need to create a configuration of a product from code .
Can you help me out.
I have tried inserting records in the configchoice tables and ecoresconfiguration tables but they are not getting displayed on the form(although I can see those records in the table from backend).
Let say you have a bom : PC 201
bom lines are having items : Pc201abc,Pwc201bcd,Pc201cde.
So for Item PC 201 when you edit this product and click the maintain configuration form you can see the configuration form.
I want to create this configurations from code
Highly appreciate any help on this.