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

How to show Webform Entity reference elements as a facet on the page /search ? #165

Open
fishfree opened this issue Nov 9, 2023 · 2 comments

Comments

@fishfree
Copy link

fishfree commented Nov 9, 2023

I'd like to create my domain-specifc taxonomies. I guess I should add Entity reference elements on the page /admin/structure/webform/manage/descriptive_metadata. However, how to show those taxonomies on the ADO view page and on the page /search as facets?

@DiegoPino
Copy link
Member

There are many ways of doing this. Some archipelago users go already for taxonomies and autofill (into the JSON) either labels (means your taxonomies need to really have unique labels) or vocab ids. If you go vocab ids, you can use a key name provider to "expand" the numerical id into an entity and then decide to index into Solr just the label. You can also upload a "dataset" object with a CSV attached with a label column/uri column and use the special autocomplete field we built for that which will add to the json a pair of values. Many choices

@fishfree
Copy link
Author

Thank you, Diego! I'm a novice, I still cannot understand what you mean. Could you pls also answer me a related question here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants