function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
davcondevdavcondev 

homepage listviews click behavior

Dropping list views into homepage components is a quick way of consolidating multiple tabs onto a single community home page.

However I'm not liking the lookup click behavior in this situation - additional header & sidebar are displayed along with the clicked record.

Any suggestions to get rid of these or force a new tab to be opened?

I could substitute every lookup field used in the list views with a url formula field, because url formulas open a new tab. But was wondering if there is a lower maintenance solution.

HTML area home page component:

<iframe src="/myCommunity/ListViewA" frameborder="0" height="200" width="100%"></iframe>

ListViewA visualforce page:

<apex:page sidebar="false" showHeader="false">
<apex:sectionHeader title="Object A Records"/>
  <apex:listViews type="ObjectA__c">
    <apex:facet name="header">&nbsp;</apex:facet>
  </apex:listViews>
</apex:page>
Vidhyasagaran MuralidharanVidhyasagaran Muralidharan
If you can use controller we do it by schema class.there is method called getdescribe() try to search that. we can dynamically get the field name and display it in the picklist.

Let me know if your requirement is different.