OpenWGA 7.9 - TMLScript reference

TMLPortlet "portlet"
Method :

unregisterPortletForName(name)

On object TMLPortlet "portlet"
Usage Removes a child portlet from registration
Description Use this method on the parent portlet of the portlet to remove as portlet names are only valid on the correct parent portlet.

This completely removes the whole portlet configuration including items, modes and other settings. If the portlet has child portlets they are also unregistered.
Parameters name (String):
Name of the portlet
Allowed in script types
  • WebTML pages and normal WebTML actions