You can export catalogs, applications, page groups, pages, and agents to an archive file (with an XML format and extension) on the Mobile Web Studio’s server. You can import that archive file and its contents into a different Mobile Web Studio installation.
You can also filter the entity you want to export so that only specific child objects of the entity are exported.
Exporting portal objects to an XML file
Log in to the Mobile Web Studio as a user associated with a role—StudioAdmin, PortalAdmin—that has permission to perform all operations. See the Unwired Accelerator Administration Guide for more information about roles.
Select Build | Applications from the Mobile Web Studio left pane.
Click Import/Export on the Application Manager toolbar.
When the Export/Import window displays, click the Export tab.
On the Export tab, select the entity, or entities, you want to export by clicking in the check box to the left of the entity. Entities include:
Applications
Composite Applications
Page Groups
Pages
Agents
Catalog
You can export all or any combination of entities. When you select an entity, all other entities referred to by the selected entity are also exported. For example, if you select only page group, all pages, applications, and templates referred to by the page group are included. If you select all entities, the export includes each unique entity once. That is, if an application is referenced by both the catalog and five pages, the application appears only once in the export XML document.
In UA versions earlier than 6.0, only the active catalog
could be exported. With UA 6.0 and later, more than one catalog
can be exported at a time because agents can refer to catalogs that
are inactive or not in an approved state.
When you click Select next to the entity you want to export, the Select Export window launches, which allows you to select specific objects on the entity to export.
This step is optional. Click Select if you do not want to export all the child objects of the entity.
If you did not filter the entity to export, go to the next step. If you clicked Select next to the entity to export, you see the Select Export window, where all available objects are added to the Selected list by default.
Use the Add, Add All, Remove, and Remove All buttons to select specific objects for export, then click OK.
In the Export tab, in File Name, enter the name you want the XML file to have.
Click Export. The file is saved with the name you entered in the default Mobile Web Studio location that is specified in the global.properties.xml configuration file.
When a prompt advises you that the export operation succeeded, click OK.
Click View Log to review the export operation activities.
Click the Download button to the right of the File Name field to download the file from the Mobile Web Studio server to your local hard drive.
When the File Download dialog box displays, select Save.
When the Save As window appears, navigate to the location
where you want to save the file, then enter a new file name—for
example, export.xml
—and
click Save.
Click Close to exit the Mobile Web Studio–Export/Import window and return to the Application Manager.
Go to the location where the file was saved and send the file to another Mobile Web Studio installation via an e-mail message or import the file into a different Mobile Web Studio installation.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |