Restore from Forum Content

Hello, a user deleted a post from a forum. Now I would like to restore it again with wsadmin commands I found the post through the command

ForumsTrashService.fetchTopicsTrash()

in the trash. Unfortunately, only the restore does not really work as described in the HCL documentation.

I now get a list of the Forum posts with UUID. But how do I restore this post now. A corresponding example is unfortunately not in the HCL documentation.

Many thanks and a good start into the new year 2021.

Hello Max,

Can you try the commands below

wsadmin>flist = ForumsTrashService.fetchForumsTrashByDate(yyyy.MM.dd) ex: (2017.01.22)
wsadmin>ForumsTrashService.undeleteForumsTrash(flist)

Thank you

Marcos

Thanks Marcos!!! :)