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
SuAkSuAk 

All List view for Custom Object

Hi - I created the visual force page to show the 'All' list view when the custom object tab is clicked. When I do the preview in visual force page, it works fine but when I click on teh tab, it does not show all list. I am not sure if the visual page is tied to the tab. given below is my code : 

<apex:page tabStyle="Custom_object__c" > <apex:enhancedlist type="Custom_object__c" height="730" customizable="false" rowsPerPage="25" Listid="rec id" /> </apex:page>

recid - of the list view

Let me know your thoughts
Best Answer chosen by SuAk
SuAkSuAk
This helped resolving my issue : link http://visualforcemadeeasy.blogspot.co.uk/2009/02/insufficient-privileges-users-can-not.html and it helped me to solve the issue

All Answers

SuAkSuAk
Now I am able to view the List all view when i click on it but when a person without sysadmin profile clicks on it, it doest not show the list view.Instead it throws the insufficient privillege.

As part of this requirement, i have done the following : 

Created a custom Tab, created visualforce tab, created a visualforce page woth the following code : 

<apex:page tabStyle="Visual_force__tab" > <apex:enhancedlist type="Custom_object__c" height="730" customizable="True" rowsPerPage="25" id="Visualforcepage_name" /> </apex:page>

help would be appreciated.

Thanks,
Sujatha.M
SuAkSuAk
This helped resolving my issue : link http://visualforcemadeeasy.blogspot.co.uk/2009/02/insufficient-privileges-users-can-not.html and it helped me to solve the issue
This was selected as the best answer