Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
How to generate the URL for file entry contents in custom search portlet ?
In our Liferay DXP custom search portlet, we display the title of the file entries and when user click the title it will route the user to view the file entry. (Same behaviour of OOB search portlet). But how do we generate the URL for that file entry or how is Liferay OOB search portlet generate the link for documents & media results?