Using Settings
To use the settings in the portlet, define the %DrawHTML() method so that it extracts the values of the settings from the settings property of the portlet and then uses those values in whatever manner is suitable for your needs. The settings property of the portlet is a multidimensional array of the following form:
Node |
Value |
settings("setting") where setting is the name of a setting |
Value of that setting |
For a simple example, %DrawHTML() could contain extract a setting called SIZE:
set size=$G(..settings("SIZE"))
And the method could use this value to set the size of the portlet.