Username Password
Bookmark and Share

Export and Import Content

Packages of content can be exported from one WebGUI site, and then imported on another. This allows packages of assets or site styles to be shared amongst sites. This example will show how to export a package containing the Getting Started page layout, along with all of the assets it contains, from a WebGUI demo site. Then, that package will be imported to another WebGUI demo site.



Export a Package

Before exporting content, you must first create a package of the content you want to export. This is done in the asset(s) Metadata tab. Navigate to the container asset under which the content that you want to create a package out of is stored. For example, a page layout that contains assets and sub-pages below it.

In the Metadata tab, set the “Make package?” field to Yes. Likewise, if you were exporting a folder containing a number of templates, you would want to make a package of the folder.



Once you have created your package, go to the Asset Manager. In the asset manager you will see a new field near the center of the screen called Packages. Within this package field you will see the title of the container asset you have made into a package. In this example, the title of the page layout asset Getting Started.

Below the list of Packages is a checkbox where you can indicate if you would like the content that is contained in the package to inherit permissions from the parent asset.



Next to the title of the package is a button that says Export. Click on it to export a .wgpkg (WebGUI Package) file and save it to your workstation. The export is complete. You can now share the package with others and import it to another WebGUI site.


Import a Package

Begin by navigating to the location to which you would like to import your WebGUI package. For example, if you were importing a folder containing a number of templates, you might begin by navigating to Root>Import Node and importing the folder to that location. If you want to import a Page Layout and the assets it contains, navigate to the location on which you want to display that content. In this example, a page layout (Getting Started) and the assets it contains is being imported to a WebGUI demo site.



Near the center of the Asset Manager is a field labeled Packages. To import a wgpkg. file, click the Browse button in the Packages field to locate the file on your workstation.



Then, click the Import button. WebGUI will upload the package, and it will appear in the Packages field. This step can behave differently depending on what you are importing. An example will be given near the end of this chapter.



To the right of the package name is an Edit button. Clicking the Edit button will open the container asset's edit screen, so you can alter the title or URL if you wish.

In this example, a page layout was added to the demo site entitled New Page, and the package will be placed under this page. So, navigate to New Page, then click on the title of the Getting Started package in the Packages field. The package will be pasted to the site.



In the picture above you can see that the Getting Started page layout, along with its children (indicated by the + sign to the left of the asset title), has been added to the site under New Page. Returning to the site, you can see that the new Getting Started package is also displayed in the navigation under New Page.



There is also a Packages tab in the Admin Bar. From this tab you can paste a package to the site by simply clicking on its name, just like pasting content from the clipboard.



If you are uploading a wgpkg. file in order to install a new site theme, such as a theme downloaded from the Get Add-ons section of, it may appear differently when you import the package. In a case such as this, you will want to import the package to the Import Node, and upon importing it will immediately appear as a new folder in the list of assets on the screen.



In the example above, a site theme called Newfangled was exported from (originated on, and imported into Root>Import Node of the demo site. Upon importing it, it was immediately added as a Folder asset at the bottom of the assets listed on the screen, as well as in the Packages field where other packages are displayed. There was no need to manually click on its title in the Packages field to paste it to the site as there was with the page layout package. This theme is now made available in the style template dropdown menu in an asset's add/edit screen.



Keywords: package user interface

Search | Most Popular | Recent Changes | Wiki Home
© 2022 Plain Black Corporation | All Rights Reserved