Use the qptool refresh
command to refresh places and PlaceTypes on the server.
About this task
Enter the following command from the server console:
load qptool refresh arguments
are arguments described in Table 1 .
Table 1. Arguments for the qptool refresh command
|-?||Prints help on the command.|
|-r||Replaces the elements of a place with the elements in its parent PlaceType. Use this argument with caution because with the exception of elements created in a place that do not originate from the PlaceType, use of the argument removes all changes to elements made directly in the place.|
If you do not use this argument, the command refreshes a place with elements from its parent PlaceType, but retains changes to elements made in the place.
|-a||Refreshes the elements of all places on the server created from PlaceTypes with the parent PlaceTypes. |
|-p place(s) ||Refreshes the elements of a specified place or space-separated list of places with the elements of its parent PlaceType(s).|
|-pt placetype(s) ||Refreshes the elements of a specified PlaceType or space-separated list of PlaceTypes with design of the parent PlaceType(s).|
|-d placetypes(s) ||Refreshes the elements of all places (not PlaceTypes) created from the specified PlaceType or space-separated list of PlaceTypes.|
|-i||XML input file located in the server program directory that specifies places and/or PlaceTypes to be refreshed.|
|-o||XML output file that logs the results of the command. By default the command logs results to qptool.refresh.xml in the server program directory.|
Table 2 provides examples of the refresh command.
Table 2. Examples of the qptool refresh command
|Refresh the elements of child PlaceTypes PT1 and PT2 with the design of their parent PlaceTypes|
load qptool refresh -pt PT1 PT2
|Refresh the elements of child places P1 and P2 with the design of their parent PlaceTypes|
load qptool refresh -p P1 P2
|Refresh the elements of all places on the server created from PlaceTypes|
load qptool refresh -a
|Replace the elements of child place P1 with the design of its parent PlaceType and delete any design changes made directly to P1|
load qptool refresh -p P1 -r
Parent topic: Refreshing places and PlaceTypes