Run an RQL Query against your project that will search for page
headlines matching 'copy of'
<IODATA sessionkey="[!key!]">
<PAGE action="xsearch" orderby="headline" orderdirection="ASC"
pagesize="-1" maxhits="-1" >
<SEARCHITEMS>
<SEARCHITEM key="headline" value="copy of*" operator="like"/>
</SEARCHITEMS>
</PAGE>
</IODATA>
the query will return a list of pages. as you iterate through the
list, delete each page using:
<IODATA loginguid="[!guid_login!]" sessionkey="[!key!]">
<PAGE action="delete" guid="[!guid_page!]"/>
...
</IODATA>
NOTE: Make sure you are 100% confident that the pages you are deleting
are infact the copy pages - since this is a perminant delete!
Cheers,
Kim
On May 2, 4:21 pm, Monty <[email protected]> wrote:
> Hi,
>
> Can anyone point me out to right direction to delete multiple pages
> within the cms project.
>
> Due to some error duplicate copies of the pages in the project have
> been created.
>
> Is there a script to delete all pages starting with 'copy of ...' in
> the page headline.
>
> The copies have been created in 'unlinked pages' , 'Tree segments',
> 'lst_relatedpages' ..etc under 'Edit Special Pages'
>
> Version: Management Server Version 9 Build 9.0.0.33.
>
> Thanks,
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.