cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Symira
Helper II
Helper II

Create a copy of a field in CDS entity

Hi

I have an entity with a few thousand records in it. I want to create a copy of one field including its content. It there a quick and clean way to do that. I dont want to just create an new field and copy data using some external mechanism. Would be cool to just create a copy of that field.

 

Thanks!

3 REPLIES 3
SeanHenderson
Impactful Individual
Impactful Individual

Hi @Symira 

I'm sorry, I'm a little unclear on the requirement. You want to create a copy within the same entity or copy it into another entity? What do you plan to use it for?

HSheild
Super User
Super User

Hi @Symira ,

 

There isn't a mechanism within CDS to copy a field and its data.  You will need to re-create a new field and then use one of the following tools to copy the data across:

 

Like @SeanHenderson said, it would be good to understand why you want to do this.  There may be a better alternative.

Hi @HSheild ,

Thanks!

I have a field where I need to mass-change the values. Before doing so, I would like to keep a backup of the original value. The easiest way would be to make a copy of the field including the data and then change the value using flow. Just that iterating over a few thousand records with flow is sooooooo slow. A simple button within CDS to just duplicate a field (with an option "with data") would be just cool!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,722)