Skip to content

How to Get a Parameter of a Field Input-Type Entity-Query #3254

Answered by iJungleboy
MariaGanan asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure what exactly you're doing, but I recommend:

  1. First create the query and make sure it works with url-parameters
  2. Then create the dropdown which uses a fixed value to run the query
  3. Then optimize the dropdown to use the value from another field in the form

Setup the Query

Basically you want to get a query which responds to the url parameter, and which you can test/verify all from the query designer.
Steps are typically:

  1. Create a basic query without parameters
  2. Add "constant" parameters like in the screenshot above, set Filter to Daniel or whatever - until the query works. It's important to do this first, as any confusion as to what the value does and how it works will get bigger…

Replies: 7 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by MariaGanan
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@iJungleboy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants