Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing @root.inputQueryText in a column expression #4168

Open
wobba opened this issue Dec 19, 2024 Discussed in #4157 · 0 comments
Open

Accessing @root.inputQueryText in a column expression #4168

wobba opened this issue Dec 19, 2024 Discussed in #4157 · 0 comments
Labels
bug Something isn't working

Comments

@wobba
Copy link
Collaborator

wobba commented Dec 19, 2024

Discussed in #4157

Originally posted by upcreek December 13, 2024
Hello. Is there anyway to access the search query from a column in the search results web part (specifically, the details list layout)? I'm looking to use an expression in a column to show a particular property based on the search query.

E.g. If search query is X, show managed property Y, else show managed property Z.

Thanks!

@wobba wobba added the bug Something isn't working label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant