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

how can I get value of my custom settings "PrefixGroup__c"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);

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);

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);

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);
Source Link

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);