Home > @uniformdev/canvas > DataElementConnectionFailureAction

DataElementConnectionFailureAction type

The action to take if the dynamic token cannot be resolved - t: TOKEN: Removes the failed dynamic token value, leaving the rest of the property value, if any, intact [default] NOTE: if the _only_ value in the property is a dynamic token, the property value is removed (as with 'p' below) NOTE: if the _failureDefault_ property is also set, that default value will be used instead of removing the token. this only applies when the failureAction is 't' or undefined, the default is otherwise ignored. - p: PROPERTY: Removes the entire property value, including any other dynamic tokens or static values in the property - c: COMPONENT: Removes the whole parent component or block that contains the property. NOTE: If a 'component' failure occurs on the root component of a composition, or on an entry, it is treated as an 'a' failure because removing the root means we must remove all. - a: ALL: Fails the whole entry or composition. This will result in the item returning a 404 from APIs, and being removed from API list responses.

Signature: