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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...