AnsweredAssumed Answered

not able to do revert assets

Question asked by eruditionist on Sep 14, 2009
Latest reply on Sep 15, 2009 by eruditionist
on javascript API there is a method available that reverts all assets. for example.

revertAssets(Asset[] assets)
revert the specified assets.

We have a bunch of RSS type content created using a webform that needs to be reverted using a webscript. Its a basic question so I need to know how do I define Asset[] in javascript? for example.

var rssArray = new Array();
var assetArray = new Asset()?

Outcomes