Get WebObject (page or panel)
Use this command to retrieve non-system Web pages or panels as administered in Longview Dashboard Designer.
You can use the Get WebObject commands in conjunction with the Put WebObject commands to migrate Web pages, panels, images, and icons from one environment (server) to another. Page and panel information is retrieved to a file. Panel, icon, and image files are also retrieved to a folder. Only non-system pages, panels, images and icons are retrieved.
Retrieving a page does not retrieve all related information (panels, images, and icons). Similarly, retrieving a panel does not retrieve all related information (images and icons). Web objects must be retrieved separately. You can use the Get WebObject Info command to retrieve user group Web page assignments. You may retrieve more information than you intend to “put” with the Put WebObject command.
When you retrieve panel information, associated image files are not retrieved and must be retrieved separately. You can also retrieve user group and page assignments separately with the Get WebObject Info command. You cannot retrieve a single panel and all its dependencies.
Ensure that the following subfolders exist in the folder for retrieving objects:
- Panels
- Images
- Icons\large
- Icons\small
If these folders do not exist, an error message will instruct you to create them. Unless specified elsewhere, panels, images, and icons are stored in subfolders in the working folder.
Syntax
GET WEBOBJECT All ObjectName|All @FileName
GET WEBOBJECT Page ObjectName|All @FileName
GET WEBOBJECT Panel ObjectName|All @FileName
where:
- ObjectName is the name of the page or panel as defined in Longview Dashboard Designer.
- FileName is the name of the output file to contain the retrieved data. The filename can include a complete or partial folder path in the format C:\...\FileName. If the document is in the working folder, you don’t need to specify the drive or path. If the file name includes spaces, enclose it in double quotation marks.
Caution: Ensure that the target folder is not the existing Web folder on the server. This folder is reserved for Longview internal use. Using this folder may yield undesired behavior.
See also