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 |
|
Parameters to import and export files
The version control command line tool provides you the following parameters to import and export specific files. In Service Manager, a file is equivalent to a Relational Database Management System (RDBMS) table. For more information, see File.
Parameters to export files
To export Service Manager files, you can run the sm -svc_export command with the following parameters, or add the following parameters in the sm.ini file.
Parameter | Description |
---|---|
svc_files |
Specifies a list of files to export. Use commas to separate multiple files (no space before or after a comma). Service Manager exports all files in the system if the parameter is not set. |
svc_excludefiles | Specifies a list of files that you want to exclude from the export operation. Use commas to separate multiple files (no space before or after a comma). |
svc_unicode | Determines whether the exported XML file names support UTF-8 symbols or not. The default value is 0. If this parameter is set to 1, exported XML file names can contain UTF-8 symbols in Windows. |
For example, if you want to export ScriptLibrary and formatctrl data only , add the following line in sm.ini:
svc_files:ScriptLibrary,formatctrl
Parameters to import files
To import Service Manager files, you can run the sm -svc_import command with the following parameters, or add the following parameters in the sm.ini file.
Parameter | Description |
---|---|
svc_cleanbuild | If the value of this parameter is set to 1, all the files in the svc_rootdir directory are imported; if the value of this parameter is set to 0 or not set, the list of files to import is determined by the svc_files parameter. |
svc_files |
Specifies a list of files to import. Use commas to separate multiple files (no space before or after a comma). Note This parameter works only if the svc_cleanbuild parameter is set to 0 or not set. |
svc_excludefiles | Specifies the list of files that is excluded in the importing operation. Use commas to separate multiple files (no space before or after a comma). |
svc_updatedbdict |
Imports dbdict changes. Run the following command to import the updated dbdict xml files (such as probsummary.xml) to database: sm –svc_import –svc_updatedbdict Note If there are dbdict changes without this parameter, the system displays some log information in the sm.log file according to different dbdict file names. For example:
|
svc_postimport |
Specifies a list of JavaScript interfaces to be invoked after the import operation. Follow these rules when using this parameter:
Note
For example:
|
For example, if you want to import only records in the ScriptLibrary and formatctrl folders under the svc_root directory, add the following lines in sm.ini:
svc_cleanbuild:0
svc_files:ScriptLibrary,formatctrl
Other parameters
Parameter | Description |
---|---|
svc_dateformat |
Determines the date format of the xml files that are generated when you run the svc_export or svc_import command together with the svc_mode:2 parameter. Valid if set from
Requires restart of the Service Manager server? Yes Default value MM/DD/YY Possible values YYYY/MM/DD YY/MM/DD MM/DD/YYYY MM/DD/YY DD/MM/YYYY DD/MM/YY Example usage Command line: sm -httpPort:13080 -sqldb:dbserver -svc_dateformat:MM/DD/YYYY Initialization file: |
Related concepts
Implementing version control for your tailoring
Related tasks