<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>How build complete URL from el rest module</title>
  <link rel="self" href="https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120801500" />
  <subtitle>How build complete URL from el rest module</subtitle>
  <id>https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120801500</id>
  <updated>2026-10-15T12:00:21Z</updated>
  <dc:date>2026-10-15T12:00:21Z</dc:date>
  <entry>
    <title>How build complete URL from el rest module</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120801499" />
    <author>
      <name>Joaquin Cabal</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120801499</id>
    <updated>2021-05-21T12:35:35Z</updated>
    <published>2021-05-21T12:35:35Z</published>
    <summary type="html">&lt;p&gt;Hi! I need to build a complete URL from el rest module.&lt;/p&gt;
&lt;p&gt;I have some elements (service builder created models) related to a
  friendlyURL (ex: &amp;quot;/specific-product-&amp;quot;) of a Liferay Layout. &lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Any idea on how to complete the path of
  &amp;quot;host:port/web/site&amp;quot; or &amp;quot;virtualhost&amp;quot; ?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;</summary>
    <dc:creator>Joaquin Cabal</dc:creator>
    <dc:date>2021-05-21T12:35:35Z</dc:date>
  </entry>
</feed>
