Hi gurus
I've managed to change the attributes of an existing container - eg add html content to a wysywig container. BUT … is there a way to add a new one using the SOAP API? This would replace the manual add new wysywig div and provide the div id for it.
I need to do this for over 300 pages, so obviously the content authors are depending on me to come up with the goods. But I can't see any methods in the manual that make this possible.
Can anyone help?
TIA
Michael
SOAP method for adding a container to a bodycopy
I've discovered the clone_asset function works for what I want to do.
Thanks
[quote]
Hi gurus
I've managed to change the attributes of an existing container - eg add html content to a wysywig container. BUT … is there a way to add a new one using the SOAP API? This would replace the manual add new wysywig div and provide the div id for it.
I need to do this for over 300 pages, so obviously the content authors are depending on me to come up with the goods. But I can't see any methods in the manual that make this possible.
Can anyone help?
TIA
Michael
[/quote]
For future reference, I believe you can use the CreateAsset SOAP call to create a new asset under your bodycopy with the TypeCode of “bodycopy_div”.
Might be a bit of overkill, but there’s a really useful SQL query you can run against your database to find a list of type codes you can create with the API.
Thanks Ash - this is good to know for future reference.
[quote]
For future reference, I believe you can use the CreateAsset SOAP call to create a new asset under your bodycopy with the TypeCode of “bodycopy_div”.
Might be a bit of overkill, but there’s a really useful SQL query you can run against your database to find a list of type codes you can create with the API.
[/quote]