Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm getting a value from a url string, converting it to int, then looking for it in the descendants property's but it's not matching anything.
I've got myproperty set as a numeric field in the doc type.
How do you check against int variable?
Model.Descendants(1).Where("myproperty == @myvariable")
Model.Descendants(1).Where("myproperty == " + myvariable )
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Find descendants where property equals a variable
I'm getting a value from a url string, converting it to int, then looking for it in the descendants property's but it's not matching anything.
I've got myproperty set as a numeric field in the doc type.
How do you check against int variable?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.