03-25-2016 04:23 AM
var searchResultWidget = widgetUtils.findObject(model.jsonModel, "id", "FCTSRCH_SEARCH_RESULT");
if(searchResultWidget) {
searchResultWidget.name = "mynamespace/search/CustomAlfSearchResult";
}
09-15-2016 06:04 AM
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.
02-16-2018 01:53 AM
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.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.