Problem deleting an reation edge [message #1790218] |
Thu, 07 June 2018 04:21  |
Eclipse User |
|
|
|
Hi,
if you want to delete an relation edge, you create an delete element in section Tools.
create an Change context element under Begin.
Write var:element in Browse Expression
Add the Operation Unset and write in Feature Name the name of the reference.
in the example basicfamily, thats quite it and it works, because you only have one father and one mother. The Element Expression is left empty.
Imaging you had multiple fathers and mothers,
what do you write in the Element Expression to unset the particular father/mother
I thought aql:elementView.target would be the solution, but its not ? :/
|
|
|
|
Re: Problem deleting an reation edge [message #1836511 is a reply to message #1790244] |
Wed, 06 January 2021 08:05  |
Eclipse User |
|
|
|
I have the same problem.
The solution didn't work for me, because I don't have access to "aql:elementView.targetNode.target"
I can do "aql:elementView.target", but this also didn't work. Any idea why?
Update: it turns out this is the correct solution, if the validation fails you need to cast it to the appropriate type(which is the reason that auto-complete doesn't work), as mentioned in the documentation.
[Updated on: Mon, 18 January 2021 23:28] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04368 seconds