Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ElementRequiredDescription
nameYesThe unique name of the view. See <name> for more information.
labelYesThe display label of the view. See <label> for more information.
versionYesThe version of the view. See <version> for more information.
iconNo 
icon64No 
parameterNoDefines a configuration parameter that is used to when creating a view instance. See <parameter> for more information.
resourceNoDefines a resource that is exposed by the view. See <resource> for more information.
instanceNoDefines a static instance of the view. See <instance> for more information.

Anchor
view.name
view.name
<name>

...

ElementRequiredDescription
nameYesThe name of the parameter. See <parameter><name> for more informationThis will be the resource endpoint name of the view instance.
service-classNo 
provider-classNo 
resource-classNo 

...

See the Weather View Example to see an Ambari-Managed ResourceProvider view implementation..

Anchor
view.instance
view.instance
<instance>

ElementRequiredDescription
nameYesThe name of the parameter.
labelNoThe display label of the view instance. If not set, the view definition <label> is used.
visibleNoIf true, for the view instance to show up in the users view instance list.
iconNo 
icon64No 
propertyNoSpecifies any necessary configuration parameters for the view instance.
Code Block
<instance>
  <name>US_WEST</name>
  <property>
    <key>cities</key>
    <value>Palo Alto, US;Los Angeles, US;Portland, US;Seattle, US</value>
  </property>
  <property>
    <key>units</key>
    <value>imperial</value>
  </property>
</instance>
 

<property>

<key>

<value>