Skip to main content
Question

Copying and pasting in lists

  • March 24, 2025
  • 1 reply
  • 59 views

Forum|alt.badge.img+1

Hi,

Is there a way to select the fields that are copied and pasted in list using developer studio in 24r2?

I would like the CR No to be blank, so that it will automatically create a new number when it is saved.  I am able to ignore the value it pastes by always creating a new number when it saves a new record, but that is confusing for the user as the number is only correct after it has been saved.

Thank you.

1 reply

Forum|alt.badge.img+1
  • Author
  • Do Gooder (Customer)
  • March 26, 2025

I finally found out how to do it.  You need to set the pasteoption attribute

 

@Override
list EcoRequestList for EcoRequest {
   field RequestNo {
      size = Medium;
      editable = [false];
      pasteoption = NoPaste;
   }…..