Running Business Processes and Composite Applications 10.5 | Running Business Processes and Composite Applications | Administering My webMethods Server | My webMethods Server Clustering | Partitioning Applications on Cluster Nodes | Creating and Modifying Partitions | The Portlets Properties File
 
The Portlets Properties File
The portlets properties file, partitionNamePortlets.properties, lists the portlets affected by the phase provider for a specific partition. For development or testing purposes, you can override the phase provider for individual portlets.
The structure of the portlets properties file is simple. Each portlet resides on a separate line, followed by the = sign, as shown in this example:
wm_task_chart___taskchart=
wm_task_search___taskinboxsearchbar=
wm_task_search___taskinboxsearchresults=
wm_task_search___tlmsearchresults=
wm_task_search___tlmsearchquery=
A portlets properties file is not required for a partition in which all portlets are enabled. In this case, you can omit the initFile and initFileComponentsEnabled attributes in the phase provider file, which would otherwise manage use of the portlets properties file.
Temporarily Overriding the Phase Provider File
For development or testing, you can temporarily override the default behavior of the phase provider for an individual file by prefixing a + or - sign to the = sign, as follows:
*+=: Enables the portlet, regardless of the phase provider.
*-=: Disables the portlet, regardless of the phase provider.
Say, for example, the initFileComponentsEnabled attribute is false, which causes all portlets listed in the portlets properties file to be disabled. To enable any portlet in the list above, change = to +=, such as this:
wm_task_search___processsearchbar+=
When you later remove the + sign, the portlet will be disabled along with the other portlets in the list.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.