String Field_Name=Signicat_Auth_Provider__mdt.Auth_Provider_Name__c.getDescribe().getInlineHelpText system.debug('::::' + Signicat_Auth_Provider__mdt.Auth_Provider_Name__c.getDescribe().getInlineHelpText()); system.debug(SignicatSetupController.getHelpText('Signicat_Auth_Provider__mdt','Auth_Provider_Name__c')); String helpText1 = Signicat_Auth_Provider__mdt.Auth_Provider_Name__c.getDescribe().getInlineHelpText(); String helpText2 = Signicat_Auth_Provider__mdt.Authorize_Endpoint_URL__c.getDescribe().getInlineHelpText(); String countryHelpText = Available_ID_Method__mdt.Country__c.getDescribe().getInlineHelpText(); system.debug(countryHelpText); public static List<Available_ID_Method__mdt> getIdMethods(){ if(!checkAuthProviderPermission()) return new List<Available_ID_Method__mdt>(); return CMDSelector.getIdMethods(); } new List<Available_ID_Method__mdt>(); system.debug(CMDSelector.getIdMethods()); String helpText1 = Signicat_Auth_Provider__mdt.Auth_Provider_Name__c.getDescribe().getInlineHelpText(); String helpText2 = Signicat_Auth_Provider__mdt.Authorize_Endpoint_URL__c.getDescribe().getInlineHelpText(); List<String> helpTextList = new List<String> {'Auth_Provider_Name__c:' + helpText1,'Auth_Provider_Name__c:' +helpText2}; system.debug(helpTextList); List<String> string_array = new List<String>(); string_array.add('Test1'); string_array.add('Test2'); system.debug(string_array); Map < String, String > studDept = new Map < String, String > (); //Put studDept.put('D01', 'CSE'); system.debug(studDept); //get(key) studDept.put('D02', 'CIVIL'); studDept.put('D03', 'MECH'); studDept.put('D04', 'EEE'); system.debug('get(D01) - Department is: ' + studDept.get('D01')); string objectName = 'Signicat_Auth_Provider__mdt'; string fieldName = 'Auth_Provider_Name__c'; Schema.SObjectType s = Schema.getGlobalDescribe().get('Account') ; Schema.DescribeSObjectResult r = s.getDescribe() ; Signicat_Auth_Provider__mdt.Auth_Provider_Name__c.getDescribe().getInlineHelpText() Map<String,Schema.SObjectType> gd = Schema.getGlobalDescribe(); system.debug(gd); Map<String, Schema.SObjectField> field_map = Signicat_Auth_Provider__mdt.get(objectName.tolowercase()).getDescribe().fields.getMap(); String helpText = Signicat_Auth_Provider__mdt.get('Auth_Provider_Name__c').getDescribe().getInlineHelpText(); public static List<Available_ID_Method__mdt> getIdMethods(){ if(!checkAuthProviderPermission()) return new List<Available_ID_Method__mdt>(); return CMDSelector.getIdMethods(); }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter