You need to sign in to do that
Don't have an account?
Dan231
line breaks not allowed in string
Hi , Can any on the below issue ? I am getting "line breaks not allowed in string" for this line
if(gicobj.Owner != null && csaobj.eo3__Project_Type__c == 'Dem' && csaobj.Program_Manager__c == null && (csaobj.Market_Channel__c == 'Gov't Sector' || csaobj.Market_Channel__c=='P&G Gamble'))
if(gicobj.Owner != null && csaobj.eo3__Project_Type__c == 'Dem' && csaobj.Program_Manager__c == null && (csaobj.Market_Channel__c == 'Gov't Sector' || csaobj.Market_Channel__c=='P&G Gamble'))
SfdcHawkeye
Hi daraaa. The problem is you have an extra ' in your code. You need to escape the ' in 'Gov't Sector'. Try replacing 'Gov't Sector' with 'Gov\'t Sector'.
Dan231
Thank you so much @Al Hotchkiss 43.. Its working
SfdcHawkeye
Great! Can you please mark my answer as the solution or Best Answer?