Questions tagged [crud]

The tag has no usage guidance.

23 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
154 views

Accessing SAML Login Information in Connected App programmatically

I was looking for a way to programmatically read (and potentially - write) data in SAML Login Information (on ConnectedApp 'manage-side' settings), as displayed below: I already tried using Metadata ...
wintermute's user avatar
3 votes
0 answers
191 views

Why Field Accessibility Check is broken in a Managed Package?

my code has a centralised class which is responsible for all DML operations. This class before inserting / updating / deleting a record is checking: 1, if the object is accessible for the current ...
Peter Tempfli's user avatar
2 votes
0 answers
119 views

CRUD-FLS Implementation for Event Object

We are creating a managed package and have submitted for Security review process. We had implemented CRUD-FLS check on all the objects we had used within our application except EVENT. But we had ...
VigneshAngappan's user avatar
2 votes
1 answer
300 views

Enforce FLS/CRUD Delete issue in security scan

I am getting problem in understanding a issue given by security scan. The problem is : [] I am not pasting the whole code but the essential lines: public with sharing class ...
Nagendra Singh's user avatar
1 vote
1 answer
379 views

Operating between two parents of a junction object

I have say object A, B and C with A and C as parent object and B as a junction object. What I want is- whenever a B is created between A and C, a field named field__c on A should be transferred to C ...
Ashutosh Srivastava's user avatar
1 vote
0 answers
275 views

Issue creating Financial Account for Site guest User

Unable to Create Financial Account using Site Guest, User even after assign permission set provide by FSC , Below are the permission sets Financial Services Cloud Extension Financial Services Cloud ...
NITHESH K's user avatar
  • 2,525
1 vote
0 answers
43 views

CRUD/FLS Enforcement for configuration tables like FiscalYearSettings

Is Field Level Security enforcement a requirement for querying tables like 'FiscalYearSettings' and 'Period'? or only for tables like Opportunity and Contact. Our app need to display the fiscal year ...
jvrdelafuente's user avatar
1 vote
0 answers
417 views

How can the Describe for a Field of getPopulatedFieldsAsMap() be null

I'm doing a CRUD check on Field level, since under some weird circumstances our customers don't have update rights on Record level, but only on fields (it's a guest license). So in addition to the ...
itsmebasti's user avatar
  • 6,437
1 vote
0 answers
184 views

FLS/CRUD Enforcement In Helper Classes

We have several controller classes that call out to helper classes to grab data or save data. This has resulted in a few questions... Is it sufficient to simply check all permissions in the ...
William Smith's user avatar
1 vote
1 answer
688 views

How to modify CRUD permission on an object programmatically?

I want to modify CRUD permissions for a custom object inside my Visualforce page controller (accessible only by administrators) in order to hide/show this object to other users when clicking on a ...
arnaud's user avatar
  • 23
1 vote
0 answers
97 views

Do I need any CRUD & FLS Checking for code below ? Will it pass in Appexchange Review?

Note : I have done CURD & FLS for Account & Contact which I have inserted already i.e. objAccount1 and objContact1 Code : //create an opp for each lead Database....
Salesforce Steps's user avatar
1 vote
0 answers
91 views

What is the best approach to store 10 MB JSON and perform CRUD in SFDC?

I have a business case to design a solution for a web based excel like (UI, formulae, etc..) system. I researched and finalized to go with JQuery.Sheet. However, there is no recommendation laid ...
Adam Enoser's user avatar
0 votes
0 answers
421 views

Is there an event log that captures record creation / updates?

I am trying to find an event log that captures whether a CRUD (create, read, update, delete) event has happened on any record. I was thinking there would be one under ApexExecution event type with a ...
S.B.'s user avatar
  • 2,071
0 votes
0 answers
121 views

Enforce CRUD on single record DML statement

As the title suggests I am trying to enforce CRUD on a DML statement for a single record. I see the stripInaccessible() method takes in a list of sObjects. Is there an equivalent method for a single ...
Rory's user avatar
  • 429
0 votes
1 answer
1k views

INSUFFICIENT_ACCESS_OR_READONLY Error on Order Items deletion, even though I am System Administrator

Even though I have a System Administrator profile assigned to me, and have the CRUD permissions on the Order Line Item Object, I am receiving the below error when I try to delete the Order Item ...
Akshay Vasu's user avatar
0 votes
2 answers
1k views

Getting the following error INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY for a site guest user

So I know similar questions has been asked before, but I couldn't find a solution using the following links: Link1, Link2, Link3 (and more) The situation is as follows. So I have a form (a visualforce ...
fooiey's user avatar
  • 103
0 votes
0 answers
198 views

Deleting a record from Event object

I have an app that is used to delete an event using the event ID, and it seems to be working, however I noticed after deleting the event, there are still records in EventRelation where the EventId is ...
rosghub's user avatar
0 votes
0 answers
127 views

Can Code triggered by Chatter-Free user run in System mode?

I am exposing some code to Chatter Free user which modifies Account objects. I know that Chatter Free users are not directly able to modify them. But can my trigger code do it on behalf of them? As ...
Robert Sösemann's user avatar
0 votes
1 answer
239 views

How to populate an object with JSON data from a remote server?

I'm new to SF development, my client(who owns the SF account I'm working on) created an object and he wants the JSON objects that I will be sending from a different server through a POST method to be ...
Yuran Pereira's user avatar
0 votes
1 answer
652 views

ApexCRUDviolation Fix

How to fix ApexCRUDViolation for inner query. Below is the query. proposal = [select Id, Name,(Select Id From PQConfig__Configurations__r) From Proposal__Proposal__c Where Proposal__Opportunity__c =:...
diwakar g's user avatar
0 votes
1 answer
573 views

CRUD FLS issue to edit task access for site guest user

I am applying CRUD FLS on task object fields and also I have provided read and edit access to task for site user profile. Even checked with sharing settings as 'Controlled by parent'. But still when ...
Vinod Kambire's user avatar
0 votes
0 answers
27 views

Contact Update from Authenticated Site User

I have an existing Apex class that serves as a controller in a force.com site visualforce page. The Apex class is performing an update on the Contact sObject directly and I believe the update should ...
rStrunk's user avatar
  • 67
0 votes
1 answer
59 views

FLS Code Coverage issue

Need code coverage for my IF block if (!Schema.sObjectType.Account.fields.Name.isCreateable()) { ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.FATAL, ...
Salesforce Steps's user avatar