Welcome to Zuora Product Documentation

Explore our rich library of product information

Create your own components

Learn how to create your own Lightning web components or Aura components.

You must create your own Lightning web components or Aura components. See the following Salesforce documentation for steps about creating LWC or Aura components:
  1. Create Lightning Web Components
  2. Creating Aura Components

    When creating components, you must ensure your component implementation meets the following requirements:

    • The pageState, metricState, quoteState , and textTitle attributes must be declared as global attributes.
      Component typeCode example
      LWC@api quoteState;@api metricState;@api pageState;@api textTitle
      Aura<aura:attribute name="quoteState" type="Map" access="global" /><aura:attribute name="metricState" type="Map" access="global"/><aura:attribute name="pageState" type="Map" access="global"/><aura:attribute name="textTitle" type="String" access="global"/
    • Custom components must be declared globally or exposed.
      Component typeCode example
      LWC In LWC metadata file:<isExposed>true</isExposed>
      Aura<aura:component access="GLOBAL">