What's new in Customer Journeys?

Connect and learn more!
Expression to limit DELETE action on viewpoint — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Expression to limit DELETE action on viewpoint

Accepted answer
42
Views
4
Comments

Summary:

We need to be able to filter the ability to delete nodes from a given node type.

Content (please ensure you mask any confidential information):

I have written a validation that should prevent nodes from being deleted if they are an ancestor of a given parent.

I have setup the validation to only fire on the DELETE action and I have added the below expression.

I am expecting that anytime I try and delete a node that falls under the "NETINC" section of the hierarchy that the validation will fail. But in my testing, this validation never fires.


I do recall sometime back that there was an issue where the DELETE action caused EDM to no longer know the context of where it was in the hierarchy (ancestors) so it would not correctly identify, and a validation of this type would not work.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!