Skip to content

Instantly share code, notes, and snippets.

View junaideqbal's full-sized avatar
🌩️
Salesforcing...

Junaid Iqbal junaideqbal

🌩️
Salesforcing...
View GitHub Profile
@junaideqbal
junaideqbal / BatchFieldUpdater.cls
Last active September 27, 2022 09:25 — forked from AlwaysThinkin/Batch Field Updater
A generic Apex Batch Update to update a field on all records for an sObject class based on the examples from the Developer Guide
/* BatchRecordUpdate will update any 1 field on any 1 object.
*
* String values must be set to Object, Field and Value to be added to Field.
*
* Query can be modified to limit records updated.
* Example below excludes records for which Degree Offering already equals the new value.
*
* All 4 strings' values must be set to operate when executed.
*
* Execute in Anonymous Apex.
@junaideqbal
junaideqbal / package.xml
Created August 24, 2022 06:11 — forked from iamsonal/package.xml
Package.xml to retrieve all metadata from salesforce org
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>ActionLinkGroupTemplate</name>
</types>
<types>
<members>*</members>
<name>AnalyticSnapshot</name>
</types>