Versions Compared

Key

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

...

  1. Navigate to the respective asset extension in the <ES_HOME>/repository/deployment/server/jaggeryapps/publisher/extensions/<ASSET_TYPE_NAME>/asset.js directory.
  2. Define the deletable lifecycle states for the selected asset type under the  meta.lifecycle.deletableStates property.

    • A single deletable lifecycle state is defined as follows:
      meta.lifecycle.deletableStates : ['State1']
       

    • Multiple deletable lifecycle states are defined as follows:
      meta.lifecycle.deletableStates : ['State1',’State2’]

    • All the lifecycle states are defined as deletable states as follows:
      meta.lifecycle.deletableStates : ['*’]
  3. Start the ES server or restart the ES server if it is already running.

...

You can define all the lifecycle states as deletable states as follows: 
Code Block
    meta: {
            lifecycle: {
                deletableStates: ['*']
            },