User preferences
The user must be able to configure the user preferences.
Solution
The following section describes APIs, user exits, services, and other components.
getUserUiStateList
API
is called to retrieve the current user preferences. The following
preferences can be set:- Position of related task panel: You can choose to display the related task panel either to the left or right on the user interface.
- Show script message panel: You can choose to show or hide the script message panel.
manageUserUiState
API is called to save the changes.
After the preferences are saved, the user can reload the page to see
the changes.You can add the CSR messages in the isccs_cust_message_bundle.js
file,
which is present in the <INSTALL_DIR>/repository/eardata/isccs/war/isccs/resources/bundle/nls
directory
for English and in the relevant folders for other languages. For example:
de, zh, and so on. The isccs_cust_message_bundle.js
file
that is shipped out-of-the-box has only the keys and '' as the value,
which means by default no messages are shown, even if the preference
is set to show the CSR messages. The implementor can decide whether
to localize the CSR messages or not.
Implementation
The following section describes the rules that you must configure.
For more information about the APIs and user exits, see the Javadoc.
End-user impact
The user preferences can be modified easily.