Please enable JavaScript to view this site.

Altova MobileTogether Designer

The Files Pane (screenshot below) enables you to add files that you want to deploy to the server and/or client. Some files, such as the default files of page sources, are added automatically to the list of deployable files. But you can also add files directly via the context menu (obtained by right-clicking inside the Files Pane). The deployable files that you add here are read-only and can be image files and other files, such as XML files. They are organized in the pane under two headings: Image Files and Other Files (see screenshot below).

MTGUIFilesPane

Each file has a check box next to it, indicating whether it is deployed. To select whether to deploy a file to the server and/or client, right-click it and select the appropriate Deploy on... command. To not deploy a file, de-select its check box.

 

The following information and actions are available in the Files Pane:

 

Add or remove files via commands in the pane's context menu (see below).

Copy the path of a selected file via the corresponding command in the pane's context menu.

List all usages of the selected file via the corresponding command in the pane's context menu. This shows where in the design the deployed file is invoked and helps you to quickly locate the usage/s.

Make a filepath relative or absolute via the respective commands in the file's context menu.

The total number of times the file is used across all the pages of the project is displayed next to the file name.

Where the file will be deployed (server and/or client) is displayed below each file name. This can be changed via the corresponding context menu command.

Check the box in front of each file name to deploy the file. Uncheck the box if you do not want to deploy the file.

 

 

About deployed files

Deployed files are read-only files that are stored on the server. Deploying is ideal for default XML files, image files, and other data files that will be used to only read data. If the data file is to be written to, then do not deploy it but store it on the server at a location that the MTD file correctly references. (See the sections Location of Project Files and Deploying the Project for more information.) Deploying a file subsequently with another design does not affect previously deployments.

 

+ Deploy only if the file is used as a read-only file.

+ Deploy if, for some reason, the file's URL will not be accessible to clients.

+ Deploy if you want the file in the same unchanged state when accessed by clients.

+ Deploy if file loading needs to be faster.

+ Deploy to the client if the solution references the file frequently.

– Do not deploy if the files needs to be written to.

– Do not deploy if large file-sizes on the server is an issue.

– Do not deploy if the file changes continuously and solutions require the latest version.

– Do not deploy if the design is to be sent to others; in this case, consider embedding data files in the design.

 

 

Adding and removing deployable files from within the Files Pane

 

To...

Do this...

Add a file

Right-click in the Files Pane and, from the context menu that appears, click Add File, and then browse for the file you want. The added file appears in the Image Files or Other Files list, according to what file type it is.

Remove a file

Right-click the file you want to remove and, from the context menu that appears, click Remove File.

 

Other ways to add deployable files to the Files Pane

Files can also be added to the Files Pane in the following ways:

 

When a file is added as a page source or when an image file is added to a page design, a dialog is displayed that asks whether the file should be deployed to MobileTogether Server. If you click Yes, the file is added to the Files Pane with its check box selected. If you click No, the file is added to the Files Pane with its check box unselected. You can select/deselect a file's check box in the Files Pane (see screenshot above) at any later time.

In the context menu of the root node of a page source in the Page Sources Pane.

 

 

 

© 2015-2021 Altova GmbH