Skip to content

alias.createOrWipe

Creates an alias within a dimension if it doesn't exist, or wipes the data on the alias if it already exists.

js
alias.createOrWipe(dimension, aliasName);
alias.createOrWipe(dimension, aliasName);

Parameters

  • dimension - The dimension in which to create an alias.
  • aliasName - The identifier of the alias created.

Example

js
alias.createOrWipe("Account", "No - Name");
alias.createOrWipe("Account", "No - Name");