Clone a record on click of button

Hello Community, 

 

Is there a way to copy the record on click of a button in the Form Page such that it will open the record with copied values and is open to edit values?

When I tried to copy a record using Modal class it directly creates a new record in the DB. I don't want to create a new record in DB with copied values but to open a new record with copied value.

 

Thanks in Advance

Like 0

Like

3 comments

Hello,

By clicking a button you can start a business-process in which you have the element "Open edit page". In this element, you can also set default values from all the columns you need. 

Hello, 

 

Thankyou for your reply,

I tried doing this but I could not find my custom Form page in the Open edit page field. 

Actually I wanted to perform the same operation that we do on click of "Copy" of a record from a list page in the form page on click of button. 

On click of a button, Copy all the fields in the current form page and open a new record with  copied fields, But the record should not get saved in DB until user saves the record. 

 

Any Suggestions is really helpful. 

 

Thanks

Gargeyi

 

 

Hello,

In that case, you can add a button with the action "Open new record".

With it, you can choose your objects and set the column values from the main record.

this button will open a new page without actually saving the record.

Show all comments