Developer forum

Forum » Development » [Schedule task addin] - Multi-select parameter editor

[Schedule task addin] - Multi-select parameter editor

António Ramos
Reply

Hi guys,

I'm trying to create a AddInParameter that it will be a multi-select list but with no success. I checked the documentation from Dynamicweb.Extensibility.Editors and tried some few possibilities but couldn't create what we want.

There is any way to accomplish this?

BR,

António Ramos


Replies

 
Morten Bengtson
Reply
This post has been marked as an answer

You should be able to use the DropDownParameterEditor and enable multi select like this...

[AddInParameterEditor(typeof(DropDownParameterEditor), "multiple=true;")]

Your add-in class needs to implement IDropDownOptions in order to populate the dropdown with options.

Votes for this answer: 1
 
António Ramos
Reply

Hi Morten,

Thank you for your quick answser. Where can i find documentation for string optional configurations in the parameter editors? Example: In the TemplateParameterEditor to set the default folder i need to set "folder=/XXX/YYY;FullPath=true"

BR,

António Ramos

 

You must be logged in to post in the forum