jssrefaclsetup (sets up view permission settings for individual Items)
- Organization of this page
Description
This command sets up view permission settings for individual Items.
Format
jssrefaclsetup {-id Item-form-part-ID | -state}
Required execution permission
Administrator permissions
Storage folder
JP1/SS-path\bin\
Arguments
-id Item-form-part-ID
Specify the Item form part ID for extended user information, which is used as an item for setting up view permission for individual Items. The following table lists the Item form part IDs that can be specified.
No. |
Element name (Display name) |
Item form part ID |
---|---|---|
1 |
Extended user information type 01 |
JIMSD_FORM_USEREXTTYPE01 |
2 |
Extended user information type 02 |
JIMSD_FORM_USEREXTTYPE02 |
3 |
Extended user information type 03 |
JIMSD_FORM_USEREXTTYPE03 |
4 |
Extended user information type 04 |
JIMSD_FORM_USEREXTTYPE04 |
5 |
Extended user information type 05 |
JIMSD_FORM_USEREXTTYPE05 |
Note that before you execute the command with this option specified, stop the JP1/Service Support service and JP1/Service Support - Web Service service.
-state
Displays the Item form part ID of the extended user information specified as an element for setting up view permission of an Item. Specifying the -state option displays a message that indicates the Item form part ID specified as an element for setting up view permission of the Item. Note that you do not have to stop the JP1/Service Support service, JP1/Service Support - Web Service service, and JP1/Service Support - Task Service service when you execute the command with this option specified.
Return values
Return value |
Meaning |
---|---|
0 |
Normal end |
1 |
Abnormal end |
Prerequisites for executing the command
-
For details about the status of services when commands are executed, see Status of services when commands are executed in Chapter 12. Commands.
-
When the jssrefaclsetup command is executed, a temporary file is created. Therefore, about 510 MB of available space is required in the folder where JP1/Service Support is to be installed.
Remarks
-
Do not use Ctrl+C to cancel the jssrefaclsetup command during execution. If you happen to do so, wait for a while, and then re-execute the command.
-
Back up the data in the Item management database before you execute the jssrefaclsetup command. Also, back up the data in the Item management database and Item storage database after the jssrefaclsetup command is executed. For details about how to set up view permission settings for individual Items, see 9.13 Setting an environment in which view permissions are set for individual Items.
-
When the size of the Item management database is changed, a backup file created by the jssdbbackup.bat command with the -expand option specified is recovered, so the information required for setting up view permission for individual Items is not recovered. Therefore, resize the Item management database, and then execute the jssrefaclsetup command.
-
You can output the result of executing the jssrefaclsetup command to a log file and check the result. For details, see User log definition file (jp1refaclsetup.conf) in Chapter 13. Definition Files.
Example
The following example shows how to specify the command when Extended user information 01 is selected as the element for setting up view permission of the item:
jssrefaclsetup -id JIMSD_FORM_USEREXTTYPE01