I have a content node with a single property called feature post. If I copy the content node to another website, it copies the content node and creates a new id, but it retains the original id for the feature post property. Is it possible to update the feature post property with the new id for the feature post?
Also, is there a way to copy just the nodes and not any properties associated with them?
Change property on copied content
I have a
content node
with asingle property called feature post
. If Icopy the content node to another website
, it copies thecontent node and creates a new id
, but itretains the original id for the feature post property
. Is it possible toupdate the feature post property with the new id for the feature post
?Also, is there a way to copy just the nodes and not any properties associated with them?
Hi Saied,
You can add your custom logic on copy event and edit all properties of your node.
Look at content service events:
https://our.umbraco.org/documentation/reference/events/contentservice-events
Thanks,
Alex
is working on a reply...