As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
var searchResultWidget = widgetUtils.findObject(model.jsonModel, "id", "FCTSRCH_SEARCH_RESULT"); if(searchResultWidget) { searchResultWidget.name = "mynamespace/search/CustomAlfSearchResult"; }
Your mileage with this answer will depend upon what version of Aikau you're using...
We made some updates to the AlfSearchResult widget to make it more customizable, essentially breaking it up into a separate functions for each part of widget. So if you want to change how the URL used when clicking on a link then you can override the "createDisplayNameRenderer" function (which by default returns a "SearchResultPropertyLink" widget).
If your custom widget overrides this function to return a custom link widget then you can override its "generateSearchLinkPayload" and/or "getPublishTopic" functions to change where search results go to.
To provide a bit of context here, we wrote the AlfSearchResult widget for performance reasons and perhaps we could have done a better job of making it more customizable. So the method described above will work, but is perhaps more complex than other Aikau customization use cases.
Also, apologies for the delay in answering this question - hopefully it doesn't come too late.
Hi , Dave Draper I wants to do the same , I wants to add extra parameters to search result renders URL
I found that the urls generated by JSDoc: Source: renderers/_SearchResultLinkMixin.js file but I don't know how to override this.
Hi , Tony Rivet _ , How you have done this ?
please help.