<?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>Enable custom assets for social activity</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=16662952" />
  <subtitle>Enable custom assets for social activity</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=16662952</id>
  <updated>2026-04-04T13:16:49Z</updated>
  <dc:date>2026-04-04T13:16:49Z</dc:date>
  <entry>
    <title>RE: Enable custom assets for social activity</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=16665909" />
    <author>
      <name>Rahul Pande</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=16665909</id>
    <updated>2012-09-25T11:43:31Z</updated>
    <published>2012-09-25T11:43:31Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div class="quote-title"&gt;Harish Kumar:&lt;/div&gt;&lt;blockquote&gt;Hi Rahul&lt;br&gt;&lt;br&gt;Have you configured the Social Activity Entity in your service.xml file - &lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;reference package-path="com.liferay.portlet.social" entity="SocialActivity" /&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Yes Harish, &lt;br&gt;&lt;br&gt;I have added these reference in my service.xml&lt;br&gt;As I already explained I'm able to call addActivity() method and everything is working fine, but record is not getting created in socialactivity table&lt;br&gt;&lt;br&gt;Thanks &lt;br&gt;Rahul Pande&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Rahul Pande</dc:creator>
    <dc:date>2012-09-25T11:43:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: Enable custom assets for social activity</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=16664860" />
    <author>
      <name>Harish Kumar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=16664860</id>
    <updated>2012-09-25T11:35:28Z</updated>
    <published>2012-09-25T11:35:28Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi Rahul&lt;br&gt;&lt;br&gt;Have you configured the Social Activity Entity in your service.xml file - &lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;reference package-path="com.liferay.portlet.social" entity="SocialActivity" /&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Harish Kumar</dc:creator>
    <dc:date>2012-09-25T11:35:28Z</dc:date>
  </entry>
  <entry>
    <title>Enable custom assets for social activity</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=16662951" />
    <author>
      <name>Rahul Pande</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=16662951</id>
    <updated>2012-09-25T10:18:10Z</updated>
    <published>2012-09-25T10:18:10Z</published>
    <summary type="html">Hi All,&lt;br /&gt;&lt;br /&gt;I have my custom portlet with service builder. I want to enable this portlet for social activity so that its activities can be shown on users public page.&lt;br /&gt;My liferay version is&lt;strong&gt; 6.0.6 CE&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;As per mentioned in forums I did following things : &lt;br /&gt;&lt;br /&gt;1. Created &lt;strong&gt;XXXActibityInterpreter &lt;/strong&gt;class&lt;br /&gt;2. Created &lt;strong&gt;XXXActivityKeys &lt;/strong&gt;class&lt;br /&gt;3. Added entry in liferay-portlet.xml for &lt;strong&gt;&amp;lt;social-activity-interpreter-class&amp;gt;&amp;lt;/social-activity-interpreter-class&amp;gt;&lt;/strong&gt;&lt;br /&gt;4. And adding &lt;strong&gt;socialActivityLocalService.addActivity()&lt;/strong&gt; in its XXXLocalServiceImpl class while add, update and delete methods.&lt;br /&gt;&lt;br /&gt;But the problem is, while adding a new entity no record is getting generated in &lt;strong&gt;socialactivity&lt;/strong&gt; table. I debugged  the code but found nothing problematic.&lt;br /&gt;&lt;br /&gt;For other entities like blogs, wiki etc social activity is working.&lt;br /&gt;&lt;br /&gt;Do I have to do some other configuration for enabling my custom portlet for social activity ?&lt;br /&gt;&lt;br /&gt;Any pointer will be helpful. &lt;img alt="emoticon" src="@theme_images_path@/emoticons/sad.gif" &gt;</summary>
    <dc:creator>Rahul Pande</dc:creator>
    <dc:date>2012-09-25T10:18:10Z</dc:date>
  </entry>
</feed>
