Toolbars

Toolbars configurations control the behavior of the toolbars. Toolbars configurations are configured in the toolbars.json file located in the uiconfigs folder. This is best illustrated with an example:

{
		"tools": {
			"previewPDF": {
				"enabled": "true",
				"label": "Preview PDF",
				"tooltip": "Preview as PDF",
				"pubrule": "PDF using Publish Web Editor DynamicDocument",
				"repname": "Web Editor PDF"

			}
		}
}

tools settings control aspects of the Tools toolbar.

  • previewPDF. Configures the behavior of the Preview PDF toolbar button.

    • enabled. Enables the display of the button on the toolbar. Valid values are true or false.

    • label. Button label

    • tooltip. Button tooltip

    • pubrule. Name of the Windchill publication rule that will be executed. This is the same verbiage that displays when attempting to create a Representation within Windchill. The pubrule must be valid for the object type.

    • pubrule. Name of the Windchill publication rule that will be executed. This is the same verbiage that displays when attempting to create a Representation within Windchill. The repname is the name of the representation that will be created within Windchill.