Edit in GitHubLog an issue

App Builder Template Requirements

To be considered a valid App Builder template, the template must meet the following requirements:

Requirements

  • Template must be an NPM package published to the NPM registry.
  • Template source code must be available in a public Github repository.

package.json

FieldDescriptionRequired
descriptionTemplate must have a descriptionYes
keywordsMust contain a keyword aio-app-builder-templateYes

Example

Copied to your clipboard
1{
2 "description": "This is a description."
3 "keywords": [
4 "keyword1",
5 "keyword2",
6 "aio-app-builder-template"
7 ]
8}

install.yml

FieldTypeRequiredDescription
$schemaURIYesThis should be one of the versioned schema values of JSON schema (e.g. http://json-schema.org/draft-07/schema)
$idURIYesThis is a versioning property of this schema.
categorieslist of stringsYesThe template must define at least one category. Valid categories are action, ui, graphql-mesh, ci-cd, and events.
extensionslist of objectsNoList extension points that a template implements. Each extension point must specify the string property "extensionPointId".
envlist of stringsNoOptional environment variables that may be defined in install.yml in place of interactive input
workspaceslist of stringsNoList of workspace names required to be created in the App Builder project. Runtime namespaces are added by default for each workspace if the runtime property is set to true. If Staging and Production workspaces are not listed, they are added by default. If the workspaces property is omitted from install.yml and at least one service is defined by the apis property, the Staging and Production workspaces will be implicitly added.
apislist of objectsNoList the APIs required to be added to all Workspaces in the App Builder Project, if they don't exist. Each API object must contain code as one of its properties, which specifies the SDK code of the service.
eventobjectNoThis will list the event configuration for the template. The object's only top-level valid properties are consumer and provider. The event template code that contains this specification may read this to configure itself.
runtimebooleanNoWhether to add Runtime to App Builder application or not. Defaults to false.

Example

Copied to your clipboard
1# This is an App Builder install configuration
2# This file will exist in the root of the package as install.yml
3
4$schema: http://json-schema.org/draft-07/schema
5$id: https://adobe.io/schemas/app-builder-templates/1
6 categories:
7 - code
8 - ui
9extensions:
10- extensionPointId: dx/excshell/1
11env:
12 - SOMEKEY
13workspaces:
14 - Staging
15 - Production
16 - Development
17apis:
18- code: AnalyticsSDK
19- code: CampaignStandard
20- code: Mesh
21runtime: true
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.