Developer forum

Forum » Development » Adding FieldOptions with API

Adding FieldOptions with API

Aki Ruuskanen
Aki Ruuskanen
Reply

Hi,

I'm trying to locate how to add field options to the EcomFieldOption table with API. Is there a service somehwere in the API for doing this?

Regards / Aki 

 


Replies

 
Aki Ruuskanen
Aki Ruuskanen
Reply

Wasn't looking hard enough.

I think this one does the trick : 

var options = Dynamicweb.Ecommerce.Products.FieldOption.GetOptionsByFieldId("myfield");

 

You must be logged in to post in the forum