In addition to adding local files as mapping components, you can also add files from a URL. Note that this operation is supported when you add a component as source component (that is, your mapping reads data from the remote file). The supported protocols are HTTP, HTTPS, and FTP.
To add a component from a URL:
|1.||On the Insert menu, select the type of the component type you wish to add (for example, XML Schema/File).|
|2.||On the Open dialog box, click Switch to URL.|
|3.||Enter the URL of the file in the File URL text box, and click Open.|
Make sure that the file type in the File URL text box is the same as the file type you specified in step 1.
If the server requires password authentication, you will be prompted to enter the user name and password. If you want the user name and password to be remembered next time you start MapForce, enter them in the Open dialog box and select the Remember password between application starts check box.
The Open As setting defines the grammar for the parser when opening the file. The default and recommended option is Auto.
If the file you are loading is not likely to change, select the Use cache/proxy option to cache data and speed up loading the file. Otherwise, if you want the file to be reloaded each time when you open the mapping, select Reload.
For servers with Web Distributed Authoring and Versioning (WebDAV) support, you can browse files after entering the server URL in the Server URL text box and clicking Browse. Although the preview shows all file types, make sure that you choose to open the same file type as specified in step 1 above; otherwise, errors will occur.
If the server is a Microsoft SharePoint Server, select the This is a Microsoft SharePoint Server check box. Doing so displays the check-in or check-out state of the file in the preview area. If you want to make sure that no one else can edit the file on the server while you are using it in MapForce to read data from it, right-click the file and select Check Out. To check in any file that was previously checked out by you, right-click the file and select Check In.
Open dialog box (in Switch to URL mode)
© 2019 Altova GmbH