When copying and pasting in a Modern User Experience (UX) Common Grid, the first row's string field's first paragraph is pasted into the first row's string field. The subsequent blank lines and paragraphs are attempted to be pasted in the first column's fields down multiple rows.
This can generate the following error: “You can only copy and paste lookup values for the same column” as the system is trying to paste blank lines and characters into lookup fields. If the first column is a string field (Example: Report Name) – these can get overwritten by blank rows and data from the pasted string field.
Steps to Reproduce:
You can edit multiple records on the Grid layout.
When you select multiple records and click the Edit button, a bulk edit window will be displayed.
The window includes all the fields that were displayed in the grid.
You can update the relevant fields and click Save to commit your changes.
In case, certain fields cannot be updated due to internal business rules, those changes would be ignored.
3. Create a new row.
4. Copy the previous row's fields below the new row, including the String field, by selecting them and pressing CTRL-C.
5. Paste into the new row's fields by selecting them and pressing CTRL-V.
Expected Results: All lookup values and the string field are updated, with all paragraphs and blank lines are pasted into a single String field in the current row.
Actual Results: The first row's lookup values are pasted into the first rows lookup values and the string field's first paragraph pasted into the first row's string field. The subsequent blank lines and paragraphs are attempted to be pasted in the first column's fields down multiple rows. If the first column is a string field, the values get overwritten with the first row’s string data.
Release : 15.9.2
This is caused by: DE61031
This issue is fixed in 15.9.3 and 15.9.2 patch 1 as DE61031
Workaround: Manually copy and paste each string field individually, making sure to double click into the field being pasted into so the entire string gets pasted into that cell. The one other option would be to remove the string fields from the grid column when copying and pasting.
One known limitation where you would still see the issue after upgrading to a version where the issue is fixed is if using quotes (") around the entire text being copied. Make sure to delete any outside quotes prior to copying and pasting. You can use single quotes (') instead in that scenario.
Example highlighted in yellow where quotes would cause the issue:
"You can edit multiple records on the Grid layout.
When you select multiple records and click the Edit button, a bulk edit window will be displayed.
The window includes all the fields that were displayed in the grid.
You can update the relevant fields and click Save to commit your changes.
In case, certain fields cannot be updated due to internal business rules, those changes would be ignored."