Configurable system is need of any project and for that "System Preferences" can be real gold diggers. System Preferences if used properly could be as effective as LOV's giving, sometimes more,flexibility then LOV's. By its own Siebel gives lot of system preferences values which helps in governing the siebel behavior.
LOV's are first choice when one think of having a dynamic system where values can be changed on runtime without server restart or doing an extra srf push. But LOV's do have there own length limitations. You can't have display value more than 30 characters. Here we will discuss some the commonly used OOB system preferences available and how we can best use System Preferences for our requirements.
Suppress Scripting Error Code: With due respect to configuration lovers, Scripting is something which can't be avoided in any project. As a result Error handling becomes an integral part of any code. This system preference could be used to suppress error codes which are appended to user defined errors in scripts.
ReportEngineType: This is used to control type of reports Report Icon will display. It can be "ACTUATE" for actuate reports, "BIP" for bip reports or "BOTH" for both reports type.
Technical Support (URL): This hosts the URL for technical Support
Technical Support (Voice): This hosts phone number for technical Support
Technical Support (FAX): This hosts fax number for technical Support
Quick Print Application: This preference determines which option to be used for Quick Print. HTML and EXCEL are two allowed options.
Quick Print Output Format: Formats supported are HTML, CSV, or Tab
Apart from these there are number of other system preferences available for UCM and Marketing Management. Now as compared to LOV's System Preferences allow us to host any value upto 100 characters. You can create your own system preference and set its value as desired upto 100 characters. It can be useful in scenarios where you have to keep path of filename which has to be dynamic. The following OOB business service could be used to retrieve system prefernces in workflow/Business/service.
Business Service: PRM ANI Utility Service
Business Service Method: GetSystemPreference
Method Arg
Input Arg: System Preference Name
Output Arg: System Preference Value
Lets make configurable and flexible systems.
No comments:
Post a Comment