Hi,
I have a Standard Page where the Bodycopy contains a Bodycopy Div that is a Nested Asset. Is it possible to change the Asset ID that the Nested Asset points to via the Javascript API?
Regards,
Martin
Change target of nested content asset via JS API
martinbutt
(Martin)
#1
Benjamin_Pearson
(Benjamin Pearson)
#2
[quote]
Hi,
I have a Standard Page where the Bodycopy contains a Bodycopy Div that is a Nested Asset. Is it possible to change the Asset ID that the Nested Asset points to via the Javascript API?
Regards,
Martin
[/quote]
Yep, a "nested content content type" is a notice link with the link value of "nested_asset" to the page you want nested. So just delete the link and create the new link (type NOTICE value "nested_asset") to the new asset you want nested.