+ 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 (http://wetalktowendys.com/wendys-survey/)
Rohit TantiRohit Tanti
Try To Use Defrent Code i think if that Fix you problem..
Whatsapp Hindi Starus (https://newstatus.in/whatsapp-hindi-status/) Check This Site 
Inspire DogsInspire Dogs
it is so important to clean dog's teeth (https://inspiredogs.com/clean-your-dogs-teeth-naturally-at-home/) and natural ingredients make it so easy