Creo View MCAD Adapters Guide > Configuring the Creo View Adapter for PGL > Server Controlled Publishing with pglworker
Server Controlled Publishing with pglworker
When the Visualization server initiates a request to convert PGL data to the Creo View format, the server uses the pglworker to convert the file in the background. This Visualization server could be a Windchill server or another customized server environment.
The PGL worker is an important link in achieving the full functionality of the Visualization server. For more information, refer to Visualization Server Definition.
pglworker Overview
The PGL worker is used to manage the relationship between PGL and the Visualization server. pglworker converts the files to the Creo View format used by the Creo View client. To configure the worker you must know the Visualization server host name, the port number that the Worker Agent is listening on, and the complete path to the worker script pglworker.
Using pglworker
* 
Users are strongly advised to first test their pglbatch configuration before using the pglworker. Troubleshooting pglbatch is an easier way of identifying and resolving most issues that will also affect the worker.
The worker script is created in the setup directory, and should be run by the Visualization server when starting the worker.
When configuring the Worker Agent to use this worker, use the following Execute Command:
<setup_directory>/pglworker.bat
In our example, this command is:
C:/ptc/pgl_setup/pglworker.bat
* 
Do not use spaces in the setup directory name. In addition, the .bat extension should be used when the worker is on a Windows machine.
To learn about configuring the Worker Agent to use this worker, refer to Visualization Server Definition.
Was this helpful?