Developer forum

Forum » PIM » DW9 - Adding extra units of measure to dimensions product fields

DW9 - Adding extra units of measure to dimensions product fields

Barend Mosch
Reply

Hi!

For the dimension fields, Width, Height and Depth, is it possible to add more than the default unit to the list? Exactly the same as a UnitFieldTypeProvider.

Currently, we have a solution where they use custom productfields for Length, Width etc. They want to make use of the standard fields above-mentioned, but with an optional conversion between the units.

From this situation:

To the standard field :

- But with mm and m conversions and options added.

In the advanced settings, I can change the default unit, but there's no setting to add more units.
Also, the unit is not saved in the database on the value. Width is saved as '2', unlike the unitFieldsTypeProvider where its saved as '2 mm'



Is there an explanation for this?

DW version: DW 9 -> 9.16.6

Cheers! Kinds regards,
Barend Mosch, Bluedesk


Replies

 
Barend Mosch
Reply

Hi there!

Is there an update for the above?

Cheers!

 
Søren Jensen Dynamicweb Employee
Søren Jensen
Reply
This post has been marked as an answer

Hi Barend,

In our DW9 solutions, it is only possible to define a default UNIT on your dimension field, 

It is extended In DW10, so it's possible to define a List of unit's with conversions, so there stored the same converded value in database .

/Søren

Votes for this answer: 1
 
Barend Mosch
Reply

Thanks Søren,

Will look forward to see this in DW10 solutions in the future

 

You must be logged in to post in the forum