7
Message Catalog & Message Catalog Functions Message Catalog is a place for all the user defined and system defined messages, Here Message sets 1 through 19,999 are reserved for use by PeopleSoft applications. Message sets 20,000 through 32,767 can be used by PeopleSoft users. Message Catalog Navigation PeopleTools | Utilities | Administration |Message Catalog Entering Into Message Catalog

Message Catalog Functions In PeopleSoft

Embed Size (px)

DESCRIPTION

Contains Information about Message Catalog Functions In PeopleSoft.

Citation preview

Page 1: Message Catalog Functions In PeopleSoft

Message Catalog & Message Catalog Functions

Message Catalog is a place for all the user defined and system defined messages, Here Message sets 1 through 19,999 are reserved for use by PeopleSoft applications. Message sets 20,000 through 32,767 can be used by PeopleSoft users.

Message Catalog Navigation

PeopleTools | Utilities | Administration |Message Catalog

Entering Into Message Catalog

Page 2: Message Catalog Functions In PeopleSoft

Message Catalog Functions are

MsgGet(message_set, message_num, default_msg_txt [, paramlist])

MsgGetText(message_set, message_num, default_msg_txt [, paramlist])

MsgGetExplainText(message_set, message_num, default_msg_txt [, paramlist])

MessageBox(style, title, message_set, message_num, default_txt [, paramlist])

Here style It tells how final message has to be displayed , We are having different style parameters they are

Message Style Constant Appearance0 %MsgStyle_OK Ok Button will be displayed1 %MsgStyle_OKCancel OK Cancel Buttons will be displayed2 %MsgStyle_AbortRetryIgnore Abort Retry Ignore Buttons will be

displayed3 %MsgStyle_YesNoCancel Yes No Cancel Buttons will be displayed4 %MsgStyle_YesNo Yes No Buttons will be displayed5 %MsgStyle_RetryCancel Retry Cancel Buttons will be displayed

Title Title of the Message Box

message_set Message set number [like 3000,22000]

message_num Message Number respective to message set [23,10…]

default_msg_txt If no message is there , Default message will be displayed

[, paramlist] These are all the optional parameters , Can consist bind variables in the form of (:1) and (:2) …,These can be further referenced by the user input values given by user.

Message Box

Message Box displays information in a box, Depends on how we use the function below are the some of the examples for MessageBox with different style parameters

Page 3: Message Catalog Functions In PeopleSoft

If the style parameter is 1 then

If the style parameter is 2 then

If the style parameter is 3 then

If the style parameter is 4 then

If the style parameter is 5 then

Page 4: Message Catalog Functions In PeopleSoft

Notes :

MessagBox displays both text and explain text If MessageBox displays any button other than OK , Then its known as Think Time Function Style parameter is ignored if severity is other than message.

MsgGet

MsgGet is used to get the message from the catalog Apart from that it shows message set and message number also.

MsgGetText

MsgGetText is used to get the message from the catalog.

Difference between MsgGet and MsgGetText

The main difference b/w MsgGet & MsgGetText are

MsgGet shows both set and message number

MsgGetText shows plain message

MsgGetExplainText:

Page 5: Message Catalog Functions In PeopleSoft

MsgGetExplainText is going to get the message from “ Explanation” in the catalog

Using BIND Variables

The message catalog contains the following message

If you included the following code

Parameters will get replaced by bind variables in the catalog. Finally it gives O/P like

Page 6: Message Catalog Functions In PeopleSoft