The Advanced File Operations menu is used to manage target directory mapping, file operations, and to view and configure package information.
Accessing the Advanced File Operations
Begin by creating or editing the package where the advanced file operations will take place. Detailed instructions on creating and editing packages can be found in the "Creating and Managing Packages" article.
Next, select the 'Advanced file operations' tab.

Package Information
The Package Information section contains important information and configurations for the package.
Package Information Configurations
Package GUID
GUID of your SmartBrowser Package (SBP). It is used to uniquely identify this configuration package in SmartHub and on exported packages. The GUID cannot be changed.
Package type
Sets the type of package. This is generally CONFIG, with other types for Advanced File Operations.
Processing order
Sets the processing order for this package (1-1000) when more than one package is to be installed on a device.
Operation
Sets the operation performed by this package. The three options are Install, Update, and Uninstall.
Persistent package
When enabled, the package will persist across device resets.
Modified by
Sets the name of the person who modified the package.
Target Directory Mapping
Mapping a Target Directory
To add a target directory, begin by selecting the 'Add Target' button.

Next, enter the custom name for the target directory in the 'Custom name' text box.

Finally, enter the directory path from the SmartBrowser device in the 'Device directory' text box.

Deleting a Mapped Target Directory
To delete a mapped target directory, select the 'Delete' button next to the desired target directory.

File Operations
File operations can be used to copy and delete files and directories on the SmartBrowser device.
Adding a File Operation
Begin by selecting the 'Add Operation' button located at the bottom of the page.

Next, select the action that will take place by selecting it from the dropdown menu.
The three options are copy, which will copy the file from the source path to the target path; delete, which will delete the file from the target path; and create directory, which will create the directory listed in the target path.

Next, enter the source path for the file by selecting the 'Upload' button and selecting the desired file. The name of the uploaded file will automatically appear in the source path text box. When deleting a file or creating a directory, this field is inactive.

Then, select the target path for the file or directory. This is the path on the SmartBrowser device where the file or directory will be located.

Finally, select the overwrite setting from the dropdown menu. The options are Always, which will overwrite the file; Merge Replace (JSON only), which will combine the values in the JSON file and update any existing values; and Merge Keep (JSON only), which will combine the values in the JSON file while preserving the old values.

Deleting a File Operation
To delete a file operation, select the 'Delete' button next to the desired file operation.

Share the post "Managing Advanced File Operations"