marklogic-community / grove

Grove, a toolkit full of tooling, templates, and other resources that help with building UI applications on top of MarkLogic.
https://marklogic-community.github.io/grove/
Other
5 stars 1 forks source link

Different views based on Data Hub Entities #32

Open awanczowski opened 4 years ago

awanczowski commented 4 years ago

I'd like an option for closer coupling of views with MarkLogic Data Hub entities. Ideally, I would be able to configure a different view for search results and full preview per entity type.

Is this possible today? Are there any reference projects?

grtjn commented 4 years ago

There is code in place to make this easier. The total effort depends on how many changes you would like to make to the presentation and per type search behavior.

There is no automatic recognition of entities yet though.

How different would you like the search screens to be?

awanczowski commented 4 years ago

I'd like to have different HTML views based on the content type. For example, a customer layout would be different than a product layout.