Skip to main content
Solved

Display LOV description without ID

  • December 10, 2024
  • 1 reply
  • 108 views

Forum|alt.badge.img

Hi everyone,
Is it possible (with IFS Developer Studio) to create LOV not displaying ID (key), only description?

On below screen there is blue marked ID and red marked Description.
I’d like only description visible to user and ID only save to DB


LOV code in .client file looks like below

  lov CustomerIdRef with CCustomerInfoSelector2 {
      description = "${CustomerIdRef.Name}";

   }

This is simple example based on CustomerInfo  but in real i have dictionary with ugly keys (GUID) and i do not want to show it to users :)

I think i need LOV instead for example Lookup because i need to filter LOV2 based on choosen value from LOV1.

Thanks

 

Best answer by tofuse

 

  lov CustomerIdRef with CCustomerInfoSelector2 {
description = "${CustomerIdRef.Name}";
hidekey = [true];

}

I think you are looking for the hidekey attribute. 

/Tobias Furberg

1 reply

Forum|alt.badge.img+10
  • Hero (Employee)
  • Answer
  • December 10, 2024

 

  lov CustomerIdRef with CCustomerInfoSelector2 {
description = "${CustomerIdRef.Name}";
hidekey = [true];

}

I think you are looking for the hidekey attribute. 

/Tobias Furberg