Put WebObject (page or panel)
Use this command to upload Web page or panel information, as administered in Longview Dashboard Designer, to the server.
You can use the Put WebObject commands to put Longview Web objects (pages, panels, images, icons) retrieved with the Get WebObject commands from a folder or file to the corresponding tables or folders on another system. When you put pages, all associated panels must exist on the server first. You may put fewer items than are contained in the source file, but you cannot use a Put command with information not contained in the specified input file.
You can use a Put command to replace existing pages, panels, images, or icons.
When you use the Put commands to upload Web objects, do so in the following order:
- Images and icons
- Panels
- Pages
- Web object information
Syntax example
PUT WEBOBJECT All ObjectName|All @FileName
PUT WEBOBJECT Page ObjectName|All @FileName
PUT WEBOBJECT Panel ObjectName|All @FileName
where:
- ObjectName is the name of the page or panel as defined in Longview Dashboard Designer. If an object with that name already exists, the command will overwrite it with the new object.
- FileName is the name of the source file retrieved previously with the Get WebObject command. The file name 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.
See also