Copy page with properties

Hi all,
Is it possible to store data in a page so that they are transferred to a copy of this page?
I tried with Page Properties but it seems they do not get copied.
Thanks

Matteo

1 Like

@MatteoGubelliniSoftC the copy page hierarchy and single page copy (docs linnks) REST API methods have an optional request (body) parameter called copyProperties that you have to set to true (false by default). When set to true, content properties are copied to the destination page.

1 Like

Hi,
Is it possible to set this parameter with the built in copy page in the … menu?
I need these properties to be passed to the copy page when using the normal copy feature.
Thansk
Matteo

Just to confirm, you’re using the Properties API to store data via a Forge app, right?

Yes, with the UI kit hook useContentProperty.
Matteo