Is it possible to use a value stored in a node to define the path to another?

E.g.: I have a tree entity with an attribute "stand_number" (=1) (/plot/trees/stand_number (trees is a multiple entity)).

Can I use the value stored in "stand_number" to access /plot/dgm/dgm1m by substituting 1 in /plot/dgm/dgm1m? dgm1m is the basal area weighted mean diameter on stand 1.

The idea is to get the tree which is closest to dgm.


asked 27 Jun '17, 12:26

Andras's gravatar image

accept rate: 0%

edited 27 Jun '17, 12:51

Hi András,
There isn't any way to generate a path dynamically like you are asking.
However you can use the stand_number inside the Apply when condition and use different variables in the Expression field. I hope this will help you.
Open Foris Team

permanent link

answered 28 Jun '17, 10:04

OF%20Collect's gravatar image

OF Collect ♦♦
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 27 Jun '17, 12:26

question was seen: 493 times

last updated: 28 Jun '17, 10:04