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
Richa KRicha K 

Question regarding Customer Portal

Hi,

 

How can we let custom object records access as 'Create' and not 'Read'.

That means, you can create a record for a particular custom object but you cant view them.

 

Please advise.

sfdcfoxsfdcfox

Create requires Read, because Read access is required for ownership. Use private sharing with triggers to change ownership, or use Visualforce/Apex Code to create the records.

John KlokJohn Klok
Hello,
The easiest way to control data access is to define permissions on a specific type of object. You can check if a group of users can create, view, edit, or delete records from that object.

For detailed reference: https://trailhead.salesforce.com/content/learn/modules/data_security/data_security_records

Please mark Best Answer if it helps!