Please enable JavaScript to view this site.

Altova MobileTogether Designer

The Files Pane (screenshot below) lists the files of the project that can be deployed to the server. Some files, such as the default files of page sources, are added automatically to the list of deployable files when these files are first associated with the project. But you can also add files directly to the list of deployable files via the context menu (obtained by right-clicking inside the Files Pane). These deployable files can be image files and other files, such as XML files, and they are organized in the pane under two headings: Image Files and Other Files (see screenshot below).


Each file has a check box next to it. To deploy a file, select its check box. 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).

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.

Check the box in front of each file name to deploy the file to MobileTogether Server when the project is deployed to the server. 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 and stored on the server, do not deploy it, but store it on the server at a location that the MTD file correctly references. (See the section Location of Project Files for details.) Files to be deployed are transferred to the server at the time when the solution is deployed. (See the section Deploying the Project for details.) When a file is deployed, it is stored with that design. 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.

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

- Do not deploy if the large size of files 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



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.


Adding deployable files to the project from outside the Files Pane

Files can be deployed from outside the Files Pane is 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.




© 2019 Altova GmbH