Hello everybody Thanks for your advice asked 28 Jan '20, 13:51 Sabrina |
Hi, You have to write expression in "Default Value" math:max(parent()/tree/tree_id)+1 where tree-is Entity tree_id - is Number attribute best regards beka answered 28 Jan '20, 16:03 beka |
when I try this I get the following error message: [RPC Fault faultString="Circular dependency found in graph for node /inventur/plot/pb[2]/baumnr_neu" answered 28 Jan '20, 16:07 Sabrina |
can you tall me names of tree "Entity" and "Number attribute" from you survey? answered 28 Jan '20, 18:58 beka |
the "Entity" is pb and the "Number attribut" is baumnummer_neu answered 29 Jan '20, 08:38 Sabrina |
under baumnummer_neu, try this expression in "Default Value" math:max(parent()/pb/baumnummer_neu)+1 answered 29 Jan '20, 11:05 beka |
Unfortunately, that doesn't work. In collect the tree number is not adjusted and in collect mobile it crashes when I add a new tree. answered 29 Jan '20, 11:16 Sabrina |
I can't explain why it's not working. I do everything the way you do it. Maybe I can send you a screenshot? answered 29 Jan '20, 11:35 Sabrina |