Category Archives: Uncategorized

Create package.xml for custom metadata records

Sometimes after creation of custom metadata records there is need to deploy them to other organization or to backup them in sandbox. Today I have written a code to build package.xml for that Advertisements

Posted in salesforce, Uncategorized | Leave a comment

Trailhead API and Global Leaderboard

There is no public API to access Traihead data, but someone has implemented a service to retrieve that data https://0to1code.wordpress.com/2018/02/27/introducing-trailhead-force-leader-board-api/ Also this is the public page to try that service https://forceleaderboard-developer-edition.na50.force.com/apex/apiexplorer Another one has implemented a global Leaderboard https://trailhead-leaderboard-developer-edition.na35.force.com/ This … Continue reading

Posted in salesforce, Trailhead, Uncategorized | Leave a comment

Apex Data Generation library

Today I am opensourcing and introducing my Apex Data Generation library, which can be called as a framework or as builder as well. More than year back, I was considering of introducing my Salesforce unit test framework, however, I didn’t open source … Continue reading

Posted in salesforce, Uncategorized | Tagged , , , | Leave a comment

Get default currency ISO Code in Salesforce multicurrency organization

Here I have found a way to get default currency ISO Code in Salesforce multicurrency organization We just have to execute the following query SELECT IsoCode FROM CurrencyType WHERE IsCorporate = true

Posted in salesforce, Uncategorized | Leave a comment

Ranked 9212 on Google Code Jam QR 2018

There were interesting problems for C and D which I failed to solve. Especially problem D since this was just stereometry problem. At least small set I knew how to solve, however I received wrong answer verdict, which is strange. … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment