Use the new
method to create an
slmetric.dashboard.Configuration
object. As an input, specify the
name of the XML file that is to contain information on a custom metrics dashboard layout.
After you add this information to the configuration object, use the
slmetric.dashboard.Configuration.save
method to save the file.
CONF = slmetric.dashboard.Configuration.new('Name','default')
CONF =
Configuration with properties:
Name: 'default'
FileName: ''
Location: ''
Obtain the slmetric.dashboard.Layout
object from the
slmetric.dashboard.Configuration
object.
layout = getDashboardLayout(CONF);