05-02-2017 05:55 AM
Dear All,
In the mock-up we are building, we got a requirement to display the properties of a custom - corporate wide - content type in the search result page. Tried to find the best approach in the various forums but have no luck.
Can any of you orient me how to achieve this?
Using Community edition 5.2 All-in-one version.
Thanks alot for your help,
Zsolt Putnoky
05-02-2017 01:52 PM
The default search does not support displaying custom properties in the search result. This is a result of the fact that the data web script for the search simply does not provide these in the query response - the UI itself could be easily adapted as it is built on Aikau. So if you want to provide custom properties you first need to override the response template of the search data web script to include your custom properties. Then you can use regular Aikau / JSON page model customisations to include these properties in the search result display.
05-04-2017 12:40 AM
HI Axel,
Thanks for the reply, even though I understand almost nothing about it. Do you have some starting points from where I can start learning how to do the mods you mentioned?.
Zsolt Putnoky
05-31-2017 05:21 AM
I used the idea from the following blogpost some months ago, and it worked perfectly
Customizing The Search Results Widget – Alfresco 5.0.D - Contezza
05-31-2017 05:47 AM
Hi Douglas,
Thanks alot for the info, this is still an open issue for us.
Zsolt Putnoky
Explore our Alfresco products with the links below. Use labels to filter content by product module.