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
Fabio MilheiroFabio Milheiro 

One use can see all records and the other user can't see any

I had a user who created a record (admin) but the other user couldn't (custom user profile created from standard user) - not even the ones that it creates.

 

I have set the permissions to do it all (read, create, etc.)

 

I have now changed the profile of my second user and it still can't see any item in the list. I am using a Visual Force Page with the following code (tried with and without the list id):

 

<apex:page showHeader="true" tabstyle="Project__c">
<apex:enhancedList type="Project__c" customizable="false" rowsPerPage="100" height="730" listId="00BE00000031MuO" />
</apex:page>

 

 

Fabio MilheiroFabio Milheiro

Question is: How to see all records with the second user?

Fabio MilheiroFabio Milheiro

Just got it: I had to make the list customizable (see property was previously set to false) and edited the list to include all records and not just "mine". Strange I thought I had created records with the second account...

 

But is there any way of doing that directly in the list code without having to customize it?