Skip to main content
2 of 2
deleted 36 characters in body
sanket kumar
  • 15.6k
  • 2
  • 29
  • 60

custom settings in apex

how can I get value of my custom settings PrefixGroup__c before insert record in Apex class. This is my code but is not working.

Map<String, powerBI_authentication__c> setting = powerBI_authentication__c.getall();
system.debug('++setting' +setting);
powerBI_authentication__c PrefixGroup = setting.get('PrefixGroup__c');    
system.debug('++PrefixGroup' +PrefixGroup);