How build complete URL from el rest moduleHow build complete URL from el rest modulehttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1208015002024-03-29T10:59:34Z2024-03-29T10:59:34ZHow build complete URL from el rest moduleJoaquin Cabalhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1208014992021-05-21T12:35:35Z2021-05-21T12:35:35Z<p>Hi! I need to build a complete URL from el rest module.</p>
<p>I have some elements (service builder created models) related to a
friendlyURL (ex: "/specific-product-") of a Liferay Layout. </p>
<p>For a MVC Portlet I'm using ThemeDisplay and Layout to complete the
URL for a model. The problem is in Rest module and can not use ThemeDisplay.</p>
<p>Any idea on how to complete the path of
"host:port/web/site" or "virtualhost" ?</p>
<p> </p>
<p>Thanks in advance