---
schema_version: "1"
id: 4edf22ab76c155feb051b520759aa7930bea70c5c93b3ed7225dae36ecd2c5be
title: LightningBolt
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_lightningbolt.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_lightningbolt.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 182cfed3edff068618fc4a09249015dd3197b9eb165e75ddc426938287b4acf6
description: Represents the definition of a Lightning Bolt Solution, which can include custom apps, flow categories, and Experience Builder templates. This type extends the Metadata metadata type and inherits its fullName field.
---
# LightningBolt

Represents the definition of a Lightning Bolt Solution, which can include custom apps, flow categories, and Experience Builder templates. This type extends the Metadata metadata type and inherits its fullName field.

![Important](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note_important.png)

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

## File Suffix and Directory Location

LightningBolt components have the suffix .lightningBolt and are stored in the lightningBolts folder.

## Version

LightningBolt components are available in API version 43.0 and later.

## Special Access Rules

To add Experience Builder templates to a Lightning Bolt Solution, enable digital experiences in your org.

## Fields

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d623036e98">Field Name</th>

              <th class="featureTableHeader  " id="d623036e101">Field Type</th>

              <th class="featureTableHeader  " id="d623036e104">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d623036e98" data-title="Field Name"><span class="keyword parmname">category</span></td>

              <td class="entry" headers="d623036e101" data-title="Field Type">LightningBoltCategory (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type
                string)</td>

              <td class="entry" headers="d623036e104" data-title="Description">Required. The primary industry that the Lightning Bolt Solution is aimed at.
                Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Communications</samp></li>

                  <li class="li"><samp class="codeph nolang">Education</samp></li>

                  <li class="li"><samp class="codeph nolang">FinancialServices</samp></li>

                  <li class="li"><samp class="codeph nolang">GeneralBusiness</samp></li>

                  <li class="li"><samp class="codeph nolang">Government</samp></li>

                  <li class="li"><samp class="codeph nolang">HealthcareLifeSciences</samp></li>

                  <li class="li"><samp class="codeph nolang">HighTech</samp></li>

                  <li class="li"><samp class="codeph nolang">Manufacturing</samp></li>

                  <li class="li"><samp class="codeph nolang">Media</samp></li>

                  <li class="li"><samp class="codeph nolang">Nonprofits</samp></li>

                  <li class="li"><samp class="codeph nolang">ProfessionalServices</samp></li>

                  <li class="li"><samp class="codeph nolang">RealEstate</samp></li>

                  <li class="li"><samp class="codeph nolang">Retail</samp></li>

                  <li class="li"><samp class="codeph nolang">TravelTransportationHospitality</samp></li>

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d623036e98" data-title="Field Name"><span class="keyword parmname">lightningBoltFeatures</span></td>

              <td class="entry" headers="d623036e101" data-title="Field Type">
                <a class="xref" href="#LightningBoltFeatures">LightningBoltFeatures</a>[]
              </td>

              <td class="entry" headers="d623036e104" data-title="Description">
                <p class="p">The list of feature descriptions of this Lightning Bolt Solution.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d623036e98" data-title="Field Name"><span class="keyword parmname">lightningBoltImages</span></td>

              <td class="entry" headers="d623036e101" data-title="Field Type">
                <a class="xref" href="#LightningBoltImages">LightningBoltImages</a>[]
              </td>

              <td class="entry" headers="d623036e104" data-title="Description">The list of images of this Lightning Bolt Solution.</td>

            </tr>

            <tr>
              <td class="entry" headers="d623036e98" data-title="Field Name"><span class="keyword parmname">lightningBoltItems</span></td>

              <td class="entry" headers="d623036e101" data-title="Field Type">
                <a class="xref" href="#LightningBoltItems">LightningBoltItems</a>[]
              </td>

              <td class="entry" headers="d623036e104" data-title="Description">The list of items (custom apps, flow categories, and Experience Builder
                templates) that comprise this Lightning Bolt Solution.</td>

            </tr>

            <tr>
              <td class="entry" headers="d623036e98" data-title="Field Name"><span class="keyword parmname">masterLabel</span></td>

              <td class="entry" headers="d623036e101" data-title="Field Type">string</td>

              <td class="entry" headers="d623036e104" data-title="Description">Required. The label of the Lightning Bolt Solution, which appears on the
                solution detail page.</td>

            </tr>

            <tr>
              <td class="entry" headers="d623036e98" data-title="Field Name"><span class="keyword parmname">publisher</span></td>

              <td class="entry" headers="d623036e101" data-title="Field Type">string</td>

              <td class="entry" headers="d623036e104" data-title="Description">Required. The name of the partner org associated with this Lightning Bolt
                Solution.</td>

            </tr>

            <tr>
              <td class="entry" headers="d623036e98" data-title="Field Name"><span class="keyword parmname">summary</span></td>

              <td class="entry" headers="d623036e101" data-title="Field Type">string</td>

              <td class="entry" headers="d623036e104" data-title="Description">Required. The summary description of the Lightning Bolt Solution.</td>

            </tr>

          </tbody>

        </table>

## LightningBoltFeatures

Represents the list of feature descriptions of a Lightning Bolt Solution.

| Field Name | Field Type | Description |
| --- | --- | --- |
| description | string | A description of the feature of the Lightning Bolt Solution. |
| order | int | Required. An integer specifying the position of this feature relative to others in the list. 1 is the first position, and 4 is the max position. |
| title | string | Required. The title of the feature, which appears on the solution detail page. |

## LightningBoltImages

Represents the list of images of a Lightning Bolt Solution.

| Field Name | Field Type | Description |
| --- | --- | --- |
| image | string | Required. The developer name of the [ContentAsset](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_contentasset.htm "Represents the metadata for creating an asset file. Asset files enable a Salesforce file to be used for org setup and configuration purposes. This type extends the MetadataWithContent metadata type and inherits its content and fullName fields.") type, which is used as a preview image for this Lightning Bolt Solution. |
| order | int | Required. An integer specifying the position of this image relative to others in the list. 1 is the first position, and 3 is the max position. |

## LightningBoltItems

Represents the list of items (custom apps, flow categories, and Experience Builder templates) that comprise a Lightning Bolt Solution.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d623036e464">Field Name</th>

              <th class="featureTableHeader  " id="d623036e467">Field Type</th>

              <th class="featureTableHeader  " id="d623036e470">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d623036e464" data-title="Field Name"><span class="keyword parmname">name</span></td>

              <td class="entry" headers="d623036e467" data-title="Field Type">string</td>

              <td class="entry" headers="d623036e470" data-title="Description">Required. The name of the item, which appears on the solution detail
                page.</td>

            </tr>

            <tr>
              <td class="entry" headers="d623036e464" data-title="Field Name"><span class="keyword parmname">type</span></td>

              <td class="entry" headers="d623036e467" data-title="Field Type">string</td>

              <td class="entry" headers="d623036e470" data-title="Description">Required. The type of the item included in the Lightning Bolt Solution. Valid
                values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">CommunityTemplateDefinition</samp></li>

                  <li class="li"><samp class="codeph nolang">CustomApplication</samp></li>

                  <li class="li"><samp class="codeph nolang">FlowCategory</samp></li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

The following is an example of a LightningBolt component.

<?xml version="1.0" encoding="UTF-8"?>
<LightningBolt xmlns="http://soap.sforce.com/2006/04/metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <category\>Sales</category\>
    <lightningBoltFeatures\>
        <description\>bb</description\>
        <order\>1</order\>
        <title\>aa</title\>
    </lightningBoltFeatures\>
    <lightningBoltImages\>
        <image\>prm1</image\>
        <order\>1</order\>
    </lightningBoltImages\>
    <lightningBoltItems\>
        <name\>PolaConsole</name\>
        <type\>CustomApplication</type\>
    </lightningBoltItems\>
    <lightningBoltItems\>
        <name\>Banking\_Service\_Console</name\>
        <type\>CustomApplication</type\>
    </lightningBoltItems\>
    <lightningBoltItems\>
        <name\>Banking\_Service\_Portal</name\>
        <type\>CommunityTemplateDefinition</type\>
    </lightningBoltItems\>
    <lightningBoltItems\>
        <name\>Banking\_Sales\_Portal</name\>
        <type\>CommunityTemplateDefinition</type\>
    </lightningBoltItems\>
    <lightningBoltItems\>
        <name\>myorgdev\_\_updatebenefits</name\>
        <type\>FlowCategory</type\>
    </lightningBoltItems\>
    <masterLabel\>BoltTe</masterLabel\>
    <publisher\>aaaa</publisher\>
    <summary\>This is a summary.</summary\>

</LightningBolt\>

The following is an example package.xml that references the previous definition.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types\>
        <members\>BoltTe</members\>
        <name\>LightningBolt</name\>
    </types\>
    <version\>43.0</version\>
</Package\>

## Wildcard Support in the Manifest File

This metadata type supports the wildcard character \* (asterisk) in the package.xml manifest file. For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).