Skip to main content
Question

Copying and pasting in lists

  • Mar 24, 2025 1:27 PM UTC
  • 1 reply
  • 104 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)
  • Mar 26, 2025 10:50 AM UTC

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;
   }…..