This procedure describes how to process a folder full of
existing Px files (or a single existing Px file), applying responsive
rules to the graphics to optimize their display when viewed on mobile
devices using HxPx.
You are connected to a running station with a folder containing
one or more Px files to be optimized.
Your Niagara station is running..
The pxEditor palette is open
.
CAUTION: It is strongly recommended that you
back up all Px files in a safe place before running the program object.
- Click to expand the station .
- In the pxEditor palette expand the Tools folder and drag
the ResponsiveMigration programObject to the ProgramService
in the station.
- In a Property Sheet view ResponsiveMigration
programObject, in the filePath field, click the Browse icon to locate
the folder of Px files (or a single Px file) to be optimized and click Open to close the window.
- In Services, click on DebugService to open the Logger Configuration window, and set the com.tridium.px.editor.util log to the preferred log level so that you can view the data, and
click Save.
- Click to disable/enable any of the processing features.
If unsure, leave set to true.
- In the Property Sheet (or Nav Tree) right-click on the
ResponsiveMigration program, and click
The programObject lists all the matching files in the target
directory and describes exactly what changes to make.
Note: It is
recommended that you execute Dry Run at least once. If you have done
so previously, an alternative is to click on to
run the programObject a single time in this step, omitting the remaining
steps.
- Click Dry Run to deselect it.
The Dry Run option is turned off.
- Right-click on the ResponsiveMigration program a second
time, and click .
Executing Dry Run a second time commits the changes to
the file system.
The selected graphics have been processed to optimize their
display when viewed on mobile devices using HxPx. More configuration
details are available in the “ResponsiveMigration-programObject” component
topic.