|How the user can find out about property validation issue in a diagram ? [message #1786276]
||Sun, 29 April 2018 07:49
| Yann Andenmatten
Registered: April 2018
I wanted to add a property validation in the basicfamily example.
I created a property view and added a widget to edit the person's name. Then I added a Property Validation Rule with this audit:
Now, if the user opens a diagram containing a person without name, he will have no clue of the issue until he select the faulty person and looked at its name property.
To overcome that, I created a semantic rule in the diagram with Target class basicfamily::Person with an audit aql:self.name.size() > 0
This makes a red cross appears on nodes that have no name.
But I see two issues with this approach:
1. the rule has to be defined twice and with different expressions
2. if the node has many properties in many pages, the user will have to hover the "1 error detected" message, find in the tooltip information about the problem and figure out where is located the faulty property.
Is there a way to make the properties issue visible in the diagram and allow the user to navigate to the properties easily?
[Updated on: Sun, 29 April 2018 08:07]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01649 seconds