Hi,
I need to replicate the functionality of left clicking an item in the asset tree, selecting a new location and clicking 'New link here', using the SOAP API. Is this possible?
When you create that new link, does it create a whole clone of the asset then link it to the original?
e.g. do I call Asset Service CloneAsset() then CreateAssetLink()?
So this means even though only 1 asset id will display for both pages there are in fact duplicate copies of the page (with different asset id's) in the database?
Replicate 'New link here' using SOAP API
paulh
(Pheasley)
#1
gsherwood
(Greg Sherwood)
#2
Linking does not clone assets. It just gives them another parent. Both parents will not show the same asset as children and the asset will now have 2 lineages and 2 URLs.
So no, don't call cloneAsset unless you really really want a copy of the asset. If you are trying to replicate the functionality of the Java asset map, you just want to create a new link and pass the existing asset ID as the child.