ModifyForumMessageList command

The ModifyForumMessage command is used to delete forum messages or change the view status from private to public. It updates the viewstatus and msgstatus colums of the FORUMMSG table using the ForumMessageHelper class. 

Command structure

http://host_name/path/
The fully qualified name of your WebSphere Commerce Server and the configuration path.

Diagram of the command structure: the command starts with the fully qualified name of your WebSphere Commerce Server and the configuration path, followed by the command name, ModifyForumMessageList  and the ? character. End the command with a list of parameters in the form of name value pairs. Separate each name value pair with the & character. For a detailed description of the parameters and their values, refer to the list entitled Parameter values.

Parameter values

msg_id
(Required) The message reference number.
msgstatus
The message status. Messages marked 'D' are deleted.
viewstatus
The view status. Messages marked 'S' are public.
msgaction
Action to be performed. Action can be delete ('msgaction=D') or mark public 'msgaction=P')
viewtask
The view command name which this command will redirect to.

Example

This example updates a message in the forum:

http://myhostname/webapp/wcs/stores/servlet/ModifyForumMessageList?msg_id=30924
   &msgaction=P&viewtask=ForumMsgListView

Behavior