im createfield computation
Hi All,
We are trying to create a field using the command line function im createfield with a computed expression.
My command line failed with the message "error creating field parent or child: syntax error"
could you please tell me what's wrong with my following code :
im createfield --user=administrator --hostname=win-h9j0fcrdcqu --port=7001 --type=shorttext --computation='((aggregate("Forward Relationships",count() ) ) > 0) ? text("parent") : (((aggregate("Backward Relationships",count()) ) > 0) ? text("child") : text("orphan"))' --name='parent or child'
for your information,
going through the Integrity client admin GUI, I can create the "parent or child" field with the computation value : "((aggregate("Forward Relationships",count() ) ) > 0) ? text("parent") : (((aggregate("Backward Relationships",count()) ) > 0) ? text("child") : text("orphan"))"
Did I miss something?
Thanks a lot in advance for your help,
Jérôme

