esmero / webform_strawberryfield

Provides Webform integrations to feed a field of Strawberries. Mr. Wizard of WebOz
GNU Lesser General Public License v3.0
2 stars 6 forks source link

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

Open fishfree opened 1 year ago

fishfree commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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