getpv(expression, condition)


Descripton

get parent value based on the expression that satisfies the condition

Example

getpv(fv(folder_name), il()== 0)
retuns the top level item (il()==0) text

getpv(tv(), itl() - il() == 2)
returns the item text of the current item's grandfather

Related Rules

getcv(), getdv(), getpfv(), itl(), il()

Rules