Developer forum

Forum » Integration » AddInParameterEditor and RadioParameterEditor

AddInParameterEditor and RadioParameterEditor

Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Hi,

I'm looking for a way to render radio-buttons in my custom Addin, but cannot figure out how I add the different possible values to choose from?

[AddInParameter("Type of products to include"), AddInParameterEditor(typeof(RadioParameterEditor), "inputClass=NewUIinput;")]
public string contentTypeSelect { getset; } = "all";

I've looked into https://doc.dynamicweb.com/documentation-9/integration/data-integration-module/integration-providers/creating-a-custom-data-integration-provider, but cannot find the different options explained anywhere?

--
Best regards
Kurt Moskjaer Andersen


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Kurt

Checkout the docs and see if this helps: http://doc.dynamicweb-cms.com/api/html/52761a0b-0347-0856-8594-3e4d285d3ec4.htm

You need to look at the GetOptions method and the IDropDownOptions interface that is implemented.

BR Nicolai

Votes for this answer: 2
 
Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

HI Nicolai,

Perfect. I did search the docs, but didn't find it. Thank you.

/Kurt

 

You must be logged in to post in the forum