findBy() using content do find one?

Hey.

I try to find out how I can best get children() of a page with findBy().

kirby()->page('Pagename')->children();
give me all childs back

kirby()->page('Pagename')->children()->findBy('title', 'ChildpageTitle');
give me one page back that has that title set

But if I try to get page by a content field it does not work.
kirby()->page('Pagename')->children()->findBy('uid', '61');

Is there a way to handle that? I need just that one child which hast in content place Berlin.

Best regards

Ok - Found the problem.
I import some data from sql and import all fields and kirby don’t like when there is a uid fild in the .txt file :slight_smile:
so i rename it at the import to importuid and now I can use findBy.
I tought that should no problem cause in kirby its called uuid.