The project file (.mtd file) is the solution file. It is deployed to the server and accessed from there by the MobileTogether Client app. When the project file is deployed to the server it is stored in the server's database of solutions, and the server will reference the file by its name. The project file uses other files (such as XML files and image files), from which it reads data and to which it can write data. These associated files can be stored at the following locations:
•These data files will be read-only on the server.
•The files are stored in the server's database. The advantage is that access to the data files is internally handled within the project.
•A file can be referenced in the design with a relative or absolute path. The filepath in the design (relative or absolute) will be used as the internal file reference on the server database.
•This applies to XML data files (typically the default files of page sources).
•The advantage of embedding is that the XML data and images will be transported together with the project file, and will be correctly accessed from within the project. Therefore, server access is not required in order to access these files.
•As with deployed files, embedded XML files will be read-only.
•The disadvantage is that the size of the project file increases.
•To embed a file, right-click its root node in the Page Sources Pane, and select Embed XML in Design File. You can select whether files are automatically re-embedded when the user starts a simulation or deploys the solution to the server.
•Files of any type can be stored in any directory on the server. These files can be read-write.
•If files are referenced by relative paths, the relative paths are resolved relative to the Working Directory.
•If files are referenced by absolute paths, the directory containing the file must be a descendant directory of the Working Directory. For example:
•The advantage of using directories on the server to store data files is that the data accessed by the solution will always be up-to-date.
•Files of any type can be stored at any URL that the server can access over the Internet.
•If a file is added as a page source, security authorizations can be set when specifying the properties of the page source.
•The advantages of using Internet locations are: (i) data accessed by the solution will always be up-to-date, and (ii) the solution is portable.