title: set web content default preferences of portlet freemarker and liferay 7
body: <p>I read that I can set a default content to display in a portlet into the theme layout, with this code:</p>
  
  <pre><code>&lt;#assign VOID = freeMarkerPortletPreferences.setValue("portletSetupPortletDecoratorId", "barebone") /&gt;
  &lt;#assign VOID = freeMarkerPortletPreferences.setValue("groupId", "37295") /&gt;
  &lt;#assign VOID = freeMarkerPortletPreferences.setValue("articleId", "46616") /&gt;
  
  &lt;@liferay_portlet["runtime"]
      defaultPreferences="${freeMarkerPortletPreferences}"
      instanceId="quick_links" 
  portletName="com_liferay_journal_content_web_portlet_JournalContentPortlet"/&gt;
  </code></pre>
  
  <p>but when I did this, the portlet display that I need set a web content to display:</p>
  
  <p><a href="https://i.stack.imgur.com/g8cUd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g8cUd.png" alt="select web content"></a></p>
  
  <p>I have hardcode the groupId because the web content that I want display was created on another site.</p>