Developer forum

Forum » Development » Configurable addin with DateTimeParameterEditor not working as expected

Configurable addin with DateTimeParameterEditor not working as expected

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

I have a custom BatchIntegrationScheduledTaskAddin that's using a DateTimeParameterEditor like this:

[AddInParameter("Orders completed from")]
[AddInParameterEditor(typeof(DateTimeParameterEditor), "show=date")]
[AddInParameterGroup("A) Queued Orders")]
public DateTime FromDate { get; set; }

That used to work fine on DW8 and shows a date picker.

On DW9, I get the attached view. As you can see, no calendar appears and all I see is a blue vertical bar. Since the text box is read-only, I can't set a date manually. Did this change and do I need to update my parameter code? Or is this a bug?

Thanks!

Imar

DateTimeParameter.png

Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply
This post has been marked as an answer

Hi Imar,

The issue can be caught via UI in fact as well. Try to select User Provider several times in Type of new activity - https://www.screencast.com/t/u7pYzsATrT

I've submitted new TFS 42303 to fix it, hop it will fix your case as well. Please, comment if you have another look.   

BR, Oleg QA

Votes for this answer: 1
 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Yep, that appears to be the same issue. Thanks!

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply
This post has been marked as an answer

Hi Imar

The problem regarding #42303 "Configurable addin with DateTimeParameterEditor not working as expected" has now been resolved in Dynamicweb version 9.3.10

To upgrade please choose this version from backend or download from here:

http://doc.dynamicweb.com/releases-and-downloads/releases

Let me know if you need any more help regarding this

Kind Regards
Dynamicweb Support
Kristian Kirkholt

Votes for this answer: 1

 

You must be logged in to post in the forum