New answers tagged

1

I worked in a large global organisation where only two profiles were allowed - system admin and non system admin. All applications that were developed had a Permission Set developed for that application and assigned only to the users that needed that application. It meant that base permissions, like Export Reports, were easy to maintain for all users, ...


0

One of the approach could be to use good old metadata api with Workbench for simplicity. Idea is very simple - retrieve all the profiles with permissions, update and deploy them back. Steps to resolve it would be following: Create package.xml with mentioning of all of the objects, for which object permissions needs to be revoked and corresponding profiles. ...


0

You don't have access to the record itself, or a related record (via Process Builder or Apex Triggers). You'll have to check the sharing for the record. Unfortunately, you can't check this in Lightning (for now), so you'll need to switch to Classic, then click on the Sharing button. You may not have access to this page directly, so you might need to log in ...


1

The actions appears on Object home page comes through List View option in search layout for the object. The step would be:- Setup--> Object Manager--> Select the Object --> Click on Search Layout for Classic--> You will see below options:- Click on the drop down option against the List view and select edit. You will see below:- You can identify weather ...


1

Looks like one user cannot create cases while the other can. Look at both user records and click on their profiles. Scroll down and find the Standard Object Permissions section


0

In the Org Hierarchy, since both the Quote and Quote Line was set as Private. Had to use Apex Managed Sharing to execute at the After Insert trigger in Quote Line level to enable the non-admins to send email otherwise the "mail.setWhatId(quoteObj.id)" will complain. public static void grantUserQuoteRecordAccessRight(List<SH_Quote_Line__c> objlist){ ...


2

I don't think you can do it due to the external sharing restrictions on the object for the site guest user. Even if you manage to find some workaround using without sharing in apex etc., be mindful of the new security updates coming up for the guest user documented here. That means that as of March 2020 the user will be even more locked down and limited to ...


0

I use this little gem for change sets: document.onmouseover = function(e){ if (e.target.type == 'checkbox') e.target.click() }; Just make sure to execute it in the correct iFrame. Just do a right click and inspect inside the table or section where your checkboxes are. That should open the console in the correct frame. Then copy/paste and have fun hovering.....


4

I did a quick test and it is indeed possible to upload a file using guest user in a community. Below are further details on your specific questions. Is it possible to upload files as a guest user in a community? Yes. Or does this checkbox/setting only work with the aura component file:upload? The Org setting is applicable for LWC as well. Could I ...


0

They are enabled if you add the (slightly misleadingly named) EventLogFile Feature into your scratch org definition file. It's not documented as such, but I just tested it. All the features can be found here: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_def_file_config_values.htm


Top 50 recent answers are included