How manage FLS Create issues in Checkmarx for upsert
statements ?
I use isCreateable()
for insert
and isUpdateable()
for update
.
But for upsert
, I don't know what function I have to use (one or both).
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityHow manage FLS Create issues in Checkmarx for upsert
statements ?
I use isCreateable()
for insert
and isUpdateable()
for update
.
But for upsert
, I don't know what function I have to use (one or both).
You need to check both isCreateable()
and isUpdateable()
for upsert.