Developer forum

Forum » Development » AddInParameterDescription for scheduled task parameters

AddInParameterDescription for scheduled task parameters

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

Is there a way to provide a help text with add in parameters for things like scheduled tasks? I often have the need to provide some help / context for a parameter but can't find out how other than providing a long name (see attached). I am looking for something like we have on items where the help text / description shows up below the label in a dimmed font (see also attached).

Can this be done today already? If not, would it make sense to file an enhancement request for it?

Thanks!

AreaSettingsHelp.png ScheduledTasks.png

Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Bump Any ideas?

 
Jonas Krarup Dam
Reply

You can do an icon with a mouse-over text, similar to the one you see when using the DynamicwebProvider as destination, below the "update index repositories" setting. 

 

this is done by adding IconPath and Tooltip to the AddinParameter decoration:

[AddInParameter("Repositories index update"), AddInParameterEditor(typeof(DropDownParameterEditor), "valign=top;multiple=true;NewGUI=true;none=true;IconPath=/Admin/Images/Ribbon/Icons/Small/Warning.png;Tooltip=Index update might affect on slower perfomance"), AddInParameterGroup("Destination"), AddInParameterOrder(80)]

 

That's my best suggestion.

 

/Jonas

 

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Thanks Jonas. It's close but not completely what I need. See attachment; it doesn't seem to work for text areas (the first option also has one). Also, it shows up at the control level whereas having it as information at the label level (like items do it) would make it a lot more useful.

I'll create an enhancement request.

Cheers!

Imar

2017-05-10_22-29-13.png

 

You must be logged in to post in the forum