Skip to main content

I’d like to let the user add “topics” to records. is there a way to display them in a skuid page… or do i need to display the salesforce sidebar

ktyler… I was able to do this with a template and a custom VF page. The VF page loads the Topic ‘widget’ in while the template loads the custom VF page. It’s not great performance wise (it will be the last ‘thing’ to load on your page, but it does work.


Here is the VF page:


<apex:page > <topics:widget entity="{!$CurrentPage&#46;parameters&#46;entityid}" renderStyle="enhanced"/> </apex:page>

Here is the template:


<iframe src="<a href="https://na16.salesforce.com/apex/TopicWidget?entityid=%7B%7B%24Param.id%7D%7D&amp;isdtp=vw%22" rel="nofollow" target="_blank" title="Link https//na16salesforcecom/apex/TopicWidgetentityidParamidisdtpvw">https:&#47;&#47;na16&#46;salesforce&#46;com/apex/TopicWidget?entityid={{$Param&#46;id}}&amp;isdtp=vw"</a>; seamless="seamless" height="100" width="100%" frameborder="0"/>

Zach put up a page in our Repo a while ago that allows you to do topic management.   It has some JS to button up the missing pieces. 

https://github.com/skuidify/SamplePages/blob/master/pages/Topic%20Management%20by%20Object



Rob…Thanks for posting this.


GitHub link is broken, but it looks like this is the corrected link:

github.com

skuid/SamplePages/blob/f545f581a9d56ebf9f1c07dc0883a08d5d400a82/xx_Holding/Topic Management by Object.xml




<skuidpage showsidebar="true" showheader="true" tabtooverride="Topic">
<models>
<model id="TopicAssignment" limit="200" query="false" createrowifnonefound="false" sobject="TopicAssignment">
<fields>
<field id="TopicId"/>
<field id="Topic.Name"/>
<field id="EntityId"/>
</fields>
<conditions logic="">
<condition type="fieldvalue" value="" enclosevalueinquotes="true" field="EntityId" operator="gte" state="filterableoff" inactive="true" name="EntityIdGreaterThan"/>
<condition type="fieldvalue" value="" enclosevalueinquotes="true" field="EntityId" state="filterableoff" inactive="true" name="EntityIdLessThan" operator="lt"/>
</conditions>
</model>
<model id="Topics" limit="20" query="false" createrowifnonefound="false" sobject="Topic" orderby="Name">
<fields>
<field id="Name"/>
<field id="CreatedDate"/>
<field id="CreatedById"/>
<field id="CreatedBy.Name"/>
<field id="Description"/>




This file has been truncated. show original




Looking forward to a native Skuid component to handle this common need of Topics and Tags.


Thanks for correcting the link Matt. I will note your request for a native Skuid component.


I do wonder whether Salesforce will continue to promote the topics and tags delivered with Chatter - as they lean into Slack as a way of interacting with records and processes.