How to access Compound field values in Apex Salesforce

What is compound field? Compound field – for example Address and Geolocation – binds together multiple information into a single unit. Like Address is one unit of information but actually it is comprises of different primitive information like Street Address, City, State, Country & Postal Code. Can we query/access address field without addressing individual field …

How to access Compound field values in Apex Salesforce Read More »

How to Query External Object in Salesforce?

Introduction Query on external object is supported with some limitation. Here is Salesforce help article: https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_limits.htm Sample Query SELECT Id, Name__c, OrderNumber__c FROM ExternalOrder__x WHERE Name__c LIKE ‘%Software%’ Additional Notes

Create and update custom labels using Tooling API

GOAL To be able to create custom label along with translation programmatically. SOLUTION We can use tooling API to create the custom label and its translation as below. The Master label is stored in External String and translation is stored in ExternalStringLocalization Request to create master label: Endpoint Payload Response We can grab the Id of Master Label …

Create and update custom labels using Tooling API Read More »