How to set default user preferences for all users How to set individual preferences for specific users

9-4 Oracle Fusion Middleware Configuration Guide for Oracle Business Intelligence Discoverer

9.4 How to set default user preferences for all users

You set default users preferences for all users when you want to globally configure Discoverer. To set default user preferences for all users you edit the pref.txt file on the Discoverer Preferences server for more information about the Discoverer Preferences server, Section 6.6, About the Discoverer Preferences component in a multiple-machine environment . Note : Changes that you make to the default user preferences only apply to new end users, or end users who have not changed their settings. Changes do not affect end users who have changed their own settings. To set default user preferences for all users: 1. On the host machine, open the pref.txt file in a text editor to find out the location of this file, see Section A.1, Discoverer file locations . 2. Modify the file as instructed by Oracle Support. 3. Save the pref.txt file. 4. Stop the Discoverer preferences server component for more information, see Section 4.3, How to start, stop, and restart the Discoverer preferences server component using opmnctl . 5. Run the applypreferences script to apply the preference changes you have made for more information about the applypreferences script, see Section A.1, Discoverer file locations . You must run the applypreferences script from the host machine. Tip: Check for error messages in the error.txt file in the current directory to verify that the preferences were applied correctly for more information about the location of configuration files, see Section A.1, Discoverer file locations . 6. Start the Discoverer preferences server component for more information, see Section 4.3, How to start, stop, and restart the Discoverer preferences server component using opmnctl .

9.5 How to set individual preferences for specific users

To set individual preferences for specific users: 1. From the command prompt, navigate to the directory containing the Discoverer preferences command line utility dis51pr to find out the location of this file, see Section A.1, Discoverer file locations . 2. Use the Discoverer preferences command line utility to enter a command at the command prompt. This command sets the new preferences and creates a new version of reg_key.dc. Use the following syntax: dis51pr -user user -setpref preference category preference name preference value where: ■ user is the name of the user for which you want to set the preference value, followed by the symbol, followed by the name of the database for example, jchansalesdb Managing Oracle BI Discoverer Preferences 9-5 ■ preference category is the category of the preference you want to change for example, Database ■ preference name is the name of the preference you want to change for example, DefaultEUL ■ preference value is the value you want the preference to have Examples: ■ if you want to set the default EUL to Sales for the user jchan, type the following at a command prompt: dis51pr -user jchansalesdb -setpref Database DefaultEUL \\Sales\\ ■ if you want to set the maximum amount of heap memory allowed for the data cache to 512000 for a user jchan, type the following at a command prompt: dis51pr -user jchansalesdb -setpref Application MaxVirtualHeapMem 512000 Notes ■ To display online help for the Discoverer preferences command line utility, type the name of the script followed by -help for example, dis51pr -help. ■ Preference names and values are case-sensitive. ■ When specifying a string as a preference value, prefix the string with \\ and end the string with \\. For example, if the preference value is Sales, enter \\Sales\\. ■ For a list of Discoverer preferences that you can set using the Discoverer preferences command line utility, see Section 9.6, List of Discoverer user preferences