Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- Web tier
- Editing Web client Key bindings
- Using the compact layout
- Setting web client preferences
- Branding the web client
- Web client forms
- Configuring color indicator
- Configure the behavior when you right-click in the web client
- Example: Running custom JavaScript from the Web client
- Example: Sending Web tier URLs through e-mail notifications
- Example: Notifying specified operators upon an incident update
- Generating Web tier URL queries
Setting web client preferences
You can define global web client preferences from the web configuration file (web.xml). You can find the web.xml file in the sm/WEB-INF folder of your application server installation. This file contains global preferences that you can change by editing the file with any text or XML editor. Any changes that you make to this file must conform to XML syntax requirements. You must have administrative access to the server operating system in order to set global web client preferences.
The settings that you define in the web.xml file determine the default client preferences for all web clients. However, users can override some of these preferences directly from the URL. For more information about which preferences users can set from the URL, see the comments in the web configuration file.
Set Web client preferences from the server
You can define global Web client preferences from the Web configuration file (web.xml). This file contains global preferences that you can change by editing the file with any text or XML editor. Any changes you make to this file must conform to XML syntax requirements.
The settings you define in the web.xml file determine the default client preferences for all Web clients. Users can override some preferences however, directly from the URL. See the comments in the web configuration file for information about which preferences users can set from the URL.
You must have administrative access to the server operating system to use this procedure.
- Open the
web.xml
file in a text editor.
This file is located in thesm/WEB-INF
folder of your application server installation. - Add or edit the preferences in the file.
- Save the file and restart the Web application server.
All Web clients that log in to the Service Manager server use the new client preferences you defined.
Optimize web client cache control
System Administrator |
You can define the web client cache control from the following control file on the Web tier server: <webtier>/WEB-INF/classes/application-context.xml. The web tier uses the incoming request URL to determine whether to apply one of the following cache filtering rules:
-
cacheFilter
- neverCacheFilter
When the neverCacheFilter rule applies, the response page or resource will never be cached in the user's browser. When the cacheFilter rule applies, the user's browser caches the response page or resource for a period of time specified in the max-age value (in seconds).
The cacheControlProxy bean defines which web resources the cacheFilter and neverCacheFilter rules apply to. For example, the Web tier uses the cacheFilter rule for any web resources whose path matches /images/**, and sets the Expires' or 'Cache-Control' HTTP header in the response. The Web tier uses the neverCacheFilter rule on any web resources whose path matches /**/*.jsp, and sets the corresponding HTTP header in the response to disable browser caching for the matched resources.
Note We recommend that you do not change the default settings in the cacheControlProxy bean.
As of version 9.32, the directory structure of the Web tier has been modified to reflect the current build number of the Web tier. These changes were implemented because the SM Web tier is typically updated every few months. When these updates occur, it is sometimes necessary for users to clear their browser cache. For enterprise clients that have tens of thousands of users, getting all of those users to do this requirement is onerous. With this revised implementation, users will no longer need to clear their browser cache.
To change the max-age value:
Caution The default max-age value is 1555200 seconds (6 months). To better utilize browser cache, you are recommended to set the max-age property to a value no less than 1555200.
- Open the file <webtier>/WEB-INF/classes/application-context.xml in a text editor.
- In the cacheFilter bean section, set the max-age property to an appropriate value:
- Restart the web application server for your change to take effect.
<bean id="cacheFilter" class="com.hp.ov.cwc.web.CacheControlFilter"> <property name="headers"> <map> <entry key="Expires"><value>Sat, 6 May 2017 12:00:00 GMT</value></entry> <entry key="Cache-Control"><value>public, max-age=15552000</value></entry> </map> </property> </bean>
The cacheFilter bean defines when the cached web resources will expire (based on the Expires key) or how long the user's browser will cache web resources (based on the max-age value, if any). The max-age value supersedes the Expires value. For example, if you set the max-age to 1555200 seconds (default), the user’s browser caches web resources for up to 180 days.