Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 - Smart Device Manager


sdmioutils exportdeliverypermit (exporting settings that define applications as installable by users)

This command is used to export the settings that define applications as installable by users. The settings are exported in CSV format.

Organization of this page

Functionality

This command exports the settings that define applications as installable by users to a distribution permission definition file.

The information exported by this command depends on the value specified for -mode. The following table describes the information exported for each value of -mode:

Value specified for -mode

Exported information

all

Information about all applications that can be installed by users

app

Information about the smart devices to which a specific application can be distributed

device

Information about the applications that can be distributed to a specific smart device

Execute this command on the smart device manager.

Format 1

sdmioutils exportdeliverypermit -export distribution-permission-definition-file -mode all[ -encoding character-encoding][ -s]

Format 2

sdmioutils exportdeliverypermit -export distribution-permission-definition-file -mode {app | device} -name name -ostype OS-type[ -encoding character-encoding][ -s]

Arguments

-export distribution-permission-definition-file

Specify the absolute path (within 259 bytes) of the distribution permission definition file to which to export the settings for applications that can be installed by users.

-mode {all | app | device}

Specify the export mode.

all

Exports information about all applications that can be installed by users.

app

Exports information about the smart devices to which a specific application can be distributed.

device

Exports Information about the applications that can be distributed to a specific smart device.

-name name

Specify the name of the application or smart device for which to output information.

-ostype OS-type

Specify the OS type of the application to be exported.

The following OS types can be specified:

0: iOS

1: Android

-encoding character-encoding

Specify the character encoding of the file to be exported. If you do not specify this argument, the character encoding is set to UTF-8.

The following types of character encoding can be specified.

  • ISO-8859-1

  • UTF-8

  • UTF-16

-s

Overwrites the file even if a file with the same file name already exists at the export destination. If you do not specify this argument and a file with the same file name already exists, an overwrite confirmation message appears. In this case, the system cancels the output or overwrites the file according to the administrator's reply.

Storage location

JP1/ITDM2 - SDM (Smart Device Manager)-installation-folder\mgr\bin

Execution permissions

Administrator permissions (this command is executed from the administrator's console if the Windows UAC function is enabled)

Notes

Return values

Return value

Description

0

The command finished normally.

11

The format for specifying the command arguments is invalid. Alternatively, the length of the file name specified for the command argument exceeds the upper limit.

12

You do not have the permissions to execute this command.

13

The specified server is not correct, or the operating environment of JP1/ITDM2 - SDM (Smart Device Manager) is invalid.

14

The file does not exist, or you do not have permission to access it.

15

A file access error occurred, or the disk does not have sufficient capacity.

18

Another command is being executed.

21

The specified application does not exist.

29

The specified device does not exist.

30

The database cannot be accessed.

40

Command execution was interrupted.

150

Other error occurred.

253

The service has not started.

Example 1

The following shows an example of using the command to export information for all applications that can be installed by users to the file C:\temp\exportdeliverypermit.csv.

sdmioutils exportdeliverypermit -export C:\temp\exportdeliverypermit.csv -mode all -s

Example 2

The following shows an example of using the command to export information about the smart devices to which the iOS application application01 can be distributed, to the file C:\temp\exportdeliverypermit.csv.

sdmioutils exportdeliverypermit -export C:\temp\exportdeliverypermit.csv -mode app -name application01 -ostype 1 -s

Example 3

The following shows an example of using the command to export information about the applications that can be distributed to the iOS device smartdevice01, to the file C:\temp\exportdeliverypermit.csv.

sdmioutils exportdeliverypermit -export C:\temp\exportdeliverypermit.csv -mode device -name smartdevice01 -ostype 1 -s

Related Topics