The Send Alert Message portlet is one of the sample portlets included in Commerce Enabled Portal. The portlet's key function is to provide a GUI to collect input and call the Message subsystem APIs that send a message to either the My Portal Alert portlet or to the WebSphere Everyplace Connection Manager. Before using this portlet, you need to do the following tasks:
- Ensure that the WebSphere Everyplace Connection Manager and Short Message Service user information is configured according to the instructions in Configuring WebSphere Everyplace Connection Manager's wireless gateway to support SMS outbound messages.
- Configure the message type to A broadcast message.
- If you configured a message type to something other than A broadcast message in the previous step, do the following:
- In a text editor, open the
WAS_installdir/installedApps/WC_Enterprise_App_instance_name.ear/wcstores.war/ store/portal_jsp/MessagingArea/SendPortalMessage.jsp
/Qibm/UserData/WebAsAdv4/WebSphere_Application_Server_instance_name/ installedApps/WC_Enterprise_App_instance_name.ear/wcstores.war/ store/portal_jsp/MessagingArea/SendPortalMessage.jsp
file.
- The portlet assumes the logonid is in the following form:
uid=logonId,dc=ibm,dc=com
If you have a different logon ID form, locate the following line:
logonId = "uid="+logonId+",dc=ibm,dc=com";
- The logon ID must match the logon ID saved in the USERREG table in order for the portlet to resolve the member ID. Change this line to match your new values.
- Save the file and exit.
- In a text editor, open the
To use the Send Alert Message portlet, do the following:
- Locate the Send Alert Message portlet in your portal store. If you are using the consumer direct portal starter store, select My Store, then My Communication Center. If you are using the B2B direct portal starter store, select Buyer Organization or Seller Organization.
- Type the logon ID of the person who will receive the message in the User login field. For example, Sarah. The portlet will compose the full logon ID and look up the member ID for Sarah.
Note:
If you want to send to multiple people, you can add multiple logon IDs, separated by ",". For example, Sarah, Steve, Tom. - Select either Portal alert or SMS. If you selected Portal alert, the message displays in the My Portal Alert portlet of the receivers. If you selected SMS, the message is sent to the WebSphere Everyplace Connection Manager.
- Add the message text. Click Submit.