Skip to content

alias.set

Updates the alias of a given element within the dimension.

js
alias.set(dimension, aliasName, element, value)
alias.set(dimension, aliasName, element, value)

Parameters

  • dimension - The dimension within which to update the specified alias.
  • aliasName - The identifier of the alias to be updated.
  • element - The element to which the alias will be set.
  • value - The alternate name to be saved as the elements alias.

Example

js
alias.set("Account", "No - Name", "600000", "600000 - Revenue");
alias.set("Account", "No - Name", "600000", "600000 - Revenue");