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
Foram Rana RForam Rana R 

Security scanner: Query: FLS Create. Auto scanner reported issue

Got Issue In Below Code.
                   Schema.SObjectType.Custom_Setting__c.isCreateable() &&
                   Schema.SObjectType.Custom_Setting__c.fields.Name.isCreateable() &&
                   Schema.SObjectType.Custom_Setting__c.fields.UserName__c.isCreateable() &&
                   Schema.SObjectType.Custom_Setting__c.fields.Password__c.isCreateable() ) ||
                   (Schema.sObjectType.Custom_Setting__c.isUpdateable() &&
                   Schema.SObjectType.Custom_Setting__c.fields.Name.isUpdateable()  ) {
                    Custom_Setting__c cs = new Custom_Setting__c(UserName__c = username, Password__c = password, Name = usr.Name);
                    upsert cs Name;
Karl UrbanKarl Urban
Many thanks for sharing this good article. Very interesting ideas! Wendys Survey (
Rohit TantiRohit Tanti
Try To Use Defrent Code i think if that Fix you problem..
Whatsapp Hindi Starus ( Check This Site 
Inspire DogsInspire Dogs
it is so important to clean dog's teeth ( and natural ingredients make it so easy