<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Chatter Salesforce and Loading in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chatter-Salesforce-and-Loading/m-p/540551#M202028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with Salesforce Chatter and trying to figure something out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The three primary tables I am working with that I am stuck on are User, FeedComment and CollaborationGroupFeed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both the FeedComment and the CollaborationGroupFeed have a ParentID and a CreatorID. The ParentID for CollaborationGroupFeed should be the GroupID (another table), and the ParentID for FeedComment should be the CollaborationGroupFeed. The CreatorID for both of these should be the UserID.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way have these Parent and Creators point to their respective parent or the UserID for the creator without renaming it? For example, I still want CollaborationGroupFeed.CreatedBy to have the name CreatedBy, but I want it to have the value of the UserID. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the code I am working with below. Currently the only way i can think to associate it is by renaming. If I do it this way however, there is no real way to differentiate between a comment creator and a groupfeed creator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A second question- When it shows the FeedComment or GroupFeed "CreatedBy" it shows the UserID... how would i write the script to show the User's Name (field in usertable is [User Full Name])? It is not much help to just show the ID, but since the user's name is located in a separate table, I am unsure of how to show their name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alias as [User Alias],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; City as [User City],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country as [User Country],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Department as [User Department],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Division as [User Division],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Email as [User Email],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FirstName as [User First Name],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id as [UserID],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IsActive as [User Is Active],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LastLoginDate as [User Last Login Date],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LastName as [User Last Name],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name as [User Full Name],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; State as [User State],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Title as [User Title],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Username as [User Username],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserType as [User Type];&lt;BR /&gt;SQL SELECT &lt;BR /&gt; Alias,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; City,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Department,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Division,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Email,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FirstName,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IsActive,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LastLoginDate,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LastName,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; State,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Title,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Username,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserType&lt;BR /&gt;FROM User;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Body as [Group Feed Body],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CommentCount as [Group Feed Comment Count],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedById as [UserID],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id as [GroupFeedID],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LikeCount as [Group Feed Like Count],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ParentId as [GroupID], //ParentID of the group feed is the group&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type as [Group Feed Type];&lt;BR /&gt;SQL SELECT Body,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CommentCount,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedById,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LikeCount,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ParentId,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&lt;BR /&gt;FROM CollaborationGroupFeed;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CommentBody as [Feed Comment Body],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedById as [UserID],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CommentType as [Feed Comment Type],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedDate as [Feed Comment Created Date],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FeedItemId,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ParentId as [GroupFeedID];&lt;BR /&gt;SQL SELECT &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CommentBody,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedById,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CommentType,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedDate,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FeedItemId,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ParentId&lt;BR /&gt;FROM FeedComment;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2013 15:18:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-30T15:18:12Z</dc:date>
    <item>
      <title>Chatter Salesforce and Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Chatter-Salesforce-and-Loading/m-p/540551#M202028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with Salesforce Chatter and trying to figure something out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The three primary tables I am working with that I am stuck on are User, FeedComment and CollaborationGroupFeed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both the FeedComment and the CollaborationGroupFeed have a ParentID and a CreatorID. The ParentID for CollaborationGroupFeed should be the GroupID (another table), and the ParentID for FeedComment should be the CollaborationGroupFeed. The CreatorID for both of these should be the UserID.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way have these Parent and Creators point to their respective parent or the UserID for the creator without renaming it? For example, I still want CollaborationGroupFeed.CreatedBy to have the name CreatedBy, but I want it to have the value of the UserID. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the code I am working with below. Currently the only way i can think to associate it is by renaming. If I do it this way however, there is no real way to differentiate between a comment creator and a groupfeed creator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A second question- When it shows the FeedComment or GroupFeed "CreatedBy" it shows the UserID... how would i write the script to show the User's Name (field in usertable is [User Full Name])? It is not much help to just show the ID, but since the user's name is located in a separate table, I am unsure of how to show their name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alias as [User Alias],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; City as [User City],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country as [User Country],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Department as [User Department],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Division as [User Division],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Email as [User Email],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FirstName as [User First Name],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id as [UserID],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IsActive as [User Is Active],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LastLoginDate as [User Last Login Date],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LastName as [User Last Name],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name as [User Full Name],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; State as [User State],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Title as [User Title],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Username as [User Username],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserType as [User Type];&lt;BR /&gt;SQL SELECT &lt;BR /&gt; Alias,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; City,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Department,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Division,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Email,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FirstName,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IsActive,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LastLoginDate,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LastName,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; State,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Title,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Username,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserType&lt;BR /&gt;FROM User;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Body as [Group Feed Body],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CommentCount as [Group Feed Comment Count],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedById as [UserID],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id as [GroupFeedID],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LikeCount as [Group Feed Like Count],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ParentId as [GroupID], //ParentID of the group feed is the group&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type as [Group Feed Type];&lt;BR /&gt;SQL SELECT Body,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CommentCount,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedById,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LikeCount,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ParentId,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&lt;BR /&gt;FROM CollaborationGroupFeed;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CommentBody as [Feed Comment Body],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedById as [UserID],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CommentType as [Feed Comment Type],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedDate as [Feed Comment Created Date],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FeedItemId,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ParentId as [GroupFeedID];&lt;BR /&gt;SQL SELECT &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CommentBody,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedById,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CommentType,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedDate,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FeedItemId,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ParentId&lt;BR /&gt;FROM FeedComment;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 15:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chatter-Salesforce-and-Loading/m-p/540551#M202028</guid>
      <dc:creator />
      <dc:date>2013-07-30T15:18:12Z</dc:date>
    </item>
  </channel>
</rss>

