Developer forum

Forum » Development » AddIn Editor parameters

AddIn Editor parameters

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

Where can I find a list of all editor parameters?

  • i.e. [AddInParameter("CompareColumns"), AddInParameterEditor(typeof(DropDownParameterEditor), "multiple=true;")]

 

I wanted to add a description to this parameter, so that it would display under the label or under the field (no strong feelings about it).

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Nuno

It is not easy - so hold one....

It is this one: https://doc.dynamicweb.com/api/html/5876e3bb-62b7-b059-c4e5-b1b22906c6d4.htm

And that is very sad docs. It says nothing!

This is the list of editors: https://doc.dynamicweb.com/api/html/294cdc0e-8795-c8bd-c30f-3268efee3b0f.htm

The DropDownParameterEditor calls DropDownParameterEditorRenderer which is the object that understands those options (multiple=true) - and that renderer will use Dynamicweb.UI.Elements.Inputs.SelectPicker to render the control.

So below is the code that understands the options, their names and how they are used to call the control to render....

Votes for this answer: 1
 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Nicolai,

 

Thanks. That's great info and gets me going a bit. I know it's limited for now. Hopefully for DW10 docs and usage are improved ;)

 

Best Regards,

Nuno Aguiar

 
Nicolai Pedersen
Reply

Documentation? What is that... :-)

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

I'll take that response as a sure certainty that it will be done for DW 10 :-)

 

You must be logged in to post in the forum