You need to sign in to do that
Don't have an account?
srikanth chitirala
SOQL SOSL Injection error from code scanning result
Hi
I am getting soql sosl injection critical error from code scaning result while using passing string parameters in the method and calling method.. like below
childResults.add(sObjectInstance.get_sObjectChildRecords(obj_ChildQuery.childQuery.SOQL_Query__c, obj_ChildQuery.parentField, parentIds));
above "obj_ChildQuery.parentField" getting error on parentFiled
and
public innerClassForChildResults get_sObjectChildRecords(String ChildQuery, String ParentReferenceId, List<Id> lst_ParentIds){
error on ParentReferenceId
can you please suggest anyone to slove this issue
I am getting soql sosl injection critical error from code scaning result while using passing string parameters in the method and calling method.. like below
childResults.add(sObjectInstance.get_sObjectChildRecords(obj_ChildQuery.childQuery.SOQL_Query__c, obj_ChildQuery.parentField, parentIds));
above "obj_ChildQuery.parentField" getting error on parentFiled
and
public innerClassForChildResults get_sObjectChildRecords(String ChildQuery, String ParentReferenceId, List<Id> lst_ParentIds){
error on ParentReferenceId
can you please suggest anyone to slove this issue