Duration Field Display

Andrew Bettcher
Kilo Sage

Hello,

If I add a new duration field then I get the view of that field as I expect:

find_real_file.png

And I can set the max_units attribute to remove minutes, hours or days as required or use an onLoad client script to show or hide any element of the field.

However, there is an out of the box duration field on the project form called simply "effort".

It displays like this:

find_real_file.png

I can't, for the life of me, find anything that is causing this. I need it to show days and I'd rather not replace the field as there is a load of logic tied up to it that names the field.

Any ideas?

1 ACCEPTED SOLUTION

Tony DiRienzo
Giga Guru

There is a dictionary override on that field that sets the "max_unit=hours" attribute. 

find_real_file.png

If you need to include days, you should remove that or change it "max_unit=days".

Here is the documentation:

Docs: Setting the maximum unit of measurement

View solution in original post

5 REPLIES 5

Jesse20
Tera Contributor

Came across this post and wanted to add an update in case anyone else does as well, but the attribute can be set within the variable configuration's Type Specifications tab:

find_real_file.png