We are trying to permanently delete a particular content class deleted
instances from recycle bin.
As there is no direct way to do this we thought using RQL for this
purpose.
But could not find a RQL query which lists and deleted all the deleted
instances of a content class.
Please share the query if someone has tried this already.
Thanks
Chandrakanth Ramireddy
Check out 'Extended Page Search' query in the RQL manual.
The following query will return back a list of pages based on a
specific Content Class that are within the recycle bin.
<IODATA sessionkey="[!key!]">
<PAGE action="xsearch" orderby="headline" orderdirection="ASC"
pagesize="10" maxhits="100" >
<SEARCHITEMS>
<SEARCHITEM key="specialpages" value="recyclebin" />
<SEARCHITEM key="contentclassguid" value="CONTENTCLASSGUIDHERE"
operator="eq" />
</SEARCHITEMS>
</PAGE>
</IODATA>
Then you will be able to delete each page using this RQL query:
<IODATA loginguid="[!guid_login!]" sessionkey="[!key!]">
<PAGE action="delete" guid="[!guid_page!]"/>
</IODATA>
Good luck!
Kim
On Feb 18, 8:15 pm, Chandrakanth Ramireddy <chandra.1...@gmail.com>
wrote:
On Feb 23, 2:08 am, Chandrakanth Ramireddy <chandra.1...@gmail.com>
wrote: