<?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>Liferay(7.2) How to get portlet name space in Template (VM)</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=117599108" />
  <subtitle>Liferay(7.2) How to get portlet name space in Template (VM)</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=117599108</id>
  <updated>2026-04-06T23:43:57Z</updated>
  <dc:date>2026-04-06T23:43:57Z</dc:date>
  <entry>
    <title>RE: Liferay(7.2) How to get portlet name space in Template (VM)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117601792" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117601792</id>
    <updated>2019-10-30T12:06:38Z</updated>
    <published>2019-10-30T12:06:38Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Kiran Yalavali:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;Hi All,How to get portlet namespace  on a template using Velocity template(VM), but I&amp;#39;m using these line  #set ($ns=$request.portlet-namespace) getting null ,&lt;br /&gt;&lt;/blockquote&gt;The &lt;a href="https://liferay.dev/blogs/-/blogs/the-magic-template-variable-dumper-script-for-liferay-7"&gt;Magic Template Variable Dumper&lt;/a&gt; might help. Even though it was last updated for Liferay 7, and it&amp;#39;s Freemarker: The context variables all come from the same source, no matter if you use VM or FTL.</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2019-10-30T12:06:38Z</dc:date>
  </entry>
  <entry>
    <title>Liferay(7.2) How to get portlet name space in Template (VM)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117599107" />
    <author>
      <name>Kiran Yalavali</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117599107</id>
    <updated>2019-10-30T11:41:16Z</updated>
    <published>2019-10-30T11:41:16Z</published>
    <summary type="html">Hi All,How to get portlet namespace  on a template using Velocity template(VM), but I&amp;#39;m using these line  #set ($ns=$request.portlet-namespace) getting null ,&lt;br /&gt;Please help,&lt;br /&gt;Thank,&lt;br /&gt;Kiran.</summary>
    <dc:creator>Kiran Yalavali</dc:creator>
    <dc:date>2019-10-30T11:41:16Z</dc:date>
  </entry>
</feed>
