Customize Copy to Exclude Certain Properties from Being Copied

kvanstone

21-11-2019

Is there a way to customize the "Copy" feature for pages so that certain properties are not copied?

We store a unique id on our pages once they are published.  We'd like users to be able to use the Copy button to copy a page but exclude this unique id from being copied.

I'm familiar with how to exclude properties within Live Copy... is there something similar for the Copy feature?  Or, any other suggestions on how we might accomplish this?

Accepted Solutions (1)

Accepted Solutions (1)

Arun_Patidar

MVP

21-11-2019

As far as I know, there is nothing to exclude when the copy page.

You can write an event listener to remove the property as soon as a page is created(copy).

You can check if the page is not published then remove the property on create event, if the page is already published skip.

Answers (0)