Menu

#33 Add Custom fields for Space

v1.0 (example)
open
nobody
None
5
2026-01-06
2025-09-18
Revanth B
No

I want to add the Custom Fields for Space

1 Attachments

Discussion

  • Ulf Dittmer

    Ulf Dittmer - 2025-09-28
    • status: open --> closed
     
  • Revanth B

    Revanth B - 2025-09-29

    I want to insert an additional dropdown list, a text field, decimal Number,Text field,Date field.

     
  • Ulf Dittmer

    Ulf Dittmer - 2025-09-29
    • status: closed --> open
     
  • Ulf Dittmer

    Ulf Dittmer - 2025-09-29

    Reopening this ticket, because the discussion continues even though it has been closed.

     
  • Ulf Dittmer

    Ulf Dittmer - 2025-09-29

    What stops you from adding those fields?

     
  • Revanth B

    Revanth B - 2025-09-29

    I want to add additional fields with the following constraints:

    Dropdown list fields: maximum of 10

    Decimal number fields: maximum of 3

    Text fields: maximum of 5

    I should be able to add one or more of these fields at a time, but the total for each field type must not exceed its limit.
    Give some clarification regarding this

     
  • Ulf Dittmer

    Ulf Dittmer - 2025-09-29

    I don't understand the problem. If you want no more than 5 additional text fields, then don't add more than 5 additional text fields, and don't give admin access to anyone else who might do so.

     
  • Revanth B

    Revanth B - 2025-09-29

    For example, if there are 5 text fields, I want to add one or two more — for instance, increasing it to 6 text fields."

     
  • Ulf Dittmer

    Ulf Dittmer - 2025-09-29

    You want to add more fields than are currently allowed; got it.

    That requires a source code change in the info.jtrac.domain.Field.Name enum. If you look at it, it should be relatively obvious how to change it by adding fields. (Make sure to add new fields at the end of the list, not in the middle - these are Java enums!)

    I don't know why it was implemented this way, but there's a comment about it at the top of the info.jtrac.domain.MetaData class.

     
  • Sudhadevi Kumaravel

    I updated the source code in the respective files (Field, AbstractItem, and Field$Name) located in info/jtrac/domain/, but when I run JTrac, I get a 404 error.

     
    • Ulf Dittmer

      Ulf Dittmer - 2026-01-05

      Without a lot more information, I can't even begin to speculate what might be the issue.

       
  • Sudhadevi Kumaravel

    Whether I need to edit the database files as well, or if I only need to add the fields in the class files.

     
    • Ulf Dittmer

      Ulf Dittmer - 2026-01-06

      Just in the source code, the DB will be changed automatically.

       

Log in to post a comment.

MongoDB Logo MongoDB