In a user blueprint I would like to get the user id from the user I have selected in the user list.
I want to use it in a query: (see userId_selected below)
candidatProposalsAuthor:
headline: Proposals as author
parent: site
type: pagesdisplay
query: site.index.filterBy('template', 'proposal').filterBy( 'proposalAuthorId', **userId_selected** )
Is that possible?
My goal: In a user blueprint, I try to display all the pages which belong to this user. These pages have a proposalAuthorId field which store the user id.
Oh, yes, true. I’m afraid it doesn’t work then with a pages section because the current context of these section is the page and not the user. The first version I posted before the edit worked with a pages field, but not with the section.