Skip to content

Instantly share code, notes, and snippets.

bolaurent /
Last active Dec 20, 2019
Migrate GoogleDocs to Salesforce Files Connect ContentVersion records
# Enable 'Create Audit Fields' []
# Create a custom field Original_Record_Id__c on ContentVersion (you must be in Lightning to do this)
# Find the ID of your ExternalDataSource for Google Drive and update EXTERNAL_SOURCE_ID
# Execute this query and save result to GoogleDocs.csv.
# Id,Name,Url,OwnerId,ParentId,CreatedById,CreatedDate,LastModifiedById,LastModifiedDate
bolaurent /
Last active Apr 4, 2018
Salesforce Developer Console menus not working fix
<apex:page docType="html-5.0" id="thepage">
<script src="//"></script>
<apex:form id="theform">
<apex:pageblock id="thepageblock">
<apex:pageblockButtons location="top" id="buttons">
<apex:commandButton value="Delete my IDEWorkpace"
bolaurent / auraIfAdvanced.auradoc
Created Nov 28, 2017
auraIfAdvanced (salesforce lightning component)
View auraIfAdvanced.auradoc
<aura:example name="ExampleName" ref="exampleComponentName" label="Label">
<c:auraIfAdvanced list="["a","b","c"]" element="b">
bolaurent / SearchSalesforceReports
Created Nov 17, 2016
Examine each Salesforce report definition, and generate a csv file of those with relevant filters
View SearchSalesforceReports
import pdb
import json
from collections import OrderedDict
import config
from progressbar import ProgressBar