Migrate from ExperiencePropertyTypeBundle to LightningTypeBundle

If you created any custom property types using ExperiencePropertyTypeBundle, update the relevant custom Lightning web components to reference the new LightningTypeBundle instead.

  1. Create a new LightningTypeBundle and give it a different name from the original ExperiencePropertyTypeBundle. (See Object-Based Custom Lightning Types in the Lightning Types Developer Guide.)
  2. Copy the schema.json file from the ExperiencePropertyTypeBundle to the new LightningTypeBundle.
  3. For an ExperiencePropertyTypeBundle that has a design.json file, create a new editor.json file in the LightningTypeBundle and place it in the experienceBuilder folder. To create the editor.json file, copy the contents of the design.json file to editor.json and replace:
    • propertySheet with editor
    • propertyRenderers with componentOverrides
    • view with layout
  4. Update the type attribute in the custom Lightning web component's js-meta.xml file to point to the new LightningTypeBundle.
  5. Deploy the new LightningTypeBundle and updated custom Lightning web component to your org.
  6. If the ExperiencePropertyTypeBundle is not part of a managed package, delete it using destructiveChanges.xml (See Deleting Components from an Organization in the Metadata API Developer Guide.)

Here's an example of an ExperiencePropertyTypeBundle's design.json file.

Here's the equivalent LightningTypeBundle editor.json file.

See Also