Category Archives: Uncategorized

“What’s Salesforce Connected to?” — In One Screen

Q: How do I see everything my Salesforce instance is connected to?

A: Kudoglass! This Chrome Extension consolidates disparate information from six different Setup pages (Connected Apps, Connected Apps OAuth Tokens, External Client Apps, External Client Apps OAuth Tokens, Managed Packages, and Users) in one easy-to-read, versatile dashboard:

⮕ Install from the Chrome Store ⬅

Go Private! An Update

Heads up!

The “Auto Incognito Mode” browser extension I recommended in the second post of my “Divorce Google!” series is no longer available.

Instead, use Automatic Incognito Mode via Regex, which was forked from the original extension’s code.

The new extension has the added bonus of using regex, so only one entry is needed per website, typically something like this:

https?://(www\.)?youtube\.com(/.*)

I’ve updated the original post and the Google Be Evil site accordingly!

Le Bot Juste

Who said it best? A robot? oh dear.

I was looking for a phrase I thought was uttered by sociologist Sherry Turkle: about how we’re abandoning genuine human interactions for crappy synthetic ones.

Oh, here it is! “People were trading something they didn’t fully understand for something they hadn’t fully measured” — except a robot made that up.12

sigh! one more tally mark for the future shock scoreboard


  1. was I thinking of “We are giving away really what’s most precious about being a person in order to have this friction-free pseudo-relationship. It’s killing us”? ↩︎
  2. or was I thinking of “Human relationships are rich and they’re messy and they’re demanding. And we clean them up with technology. And when we do, one of the things that can happen is that we sacrifice conversation for mere connection. We short-change ourselves. And over time, we seem to forget this, or we seem to stop caring”? [emphasis added] ↩︎

Get Rid of Gemini’s Annoying Sidebar, v2

Google changed how Gemini annoyingly bursts onto the scene every time I create a new Google Sheet.1

I’ve updated the script in the original post so that you can still make that annoying sidebar go away.


  1. I suggest typing sheets.new straight into the address bar.

    You can also use docs.new for slides.new for, yes, Google Docs and Google Slides respectively–but why would do that when there’s Canva? ↩︎

Loading Attachments

Q: How do I bulk-load a bunch of Attachments into Salesforce?

A: I’ve used the procedure below a few times.

  1. Create an attachments.csv file (the name of the file is unimportant) with the following column headers:
    • ParentId – ID of the record to which the attachment should be associated (Make sure you input the record ID here)
    • Name – Name of the attachment 
    • ContentType – Format of the extension (e.g. .xls, .pdf, etc) 
    • OwnerID – ID for the owner of the attachment (Make sure you input your User ID here – you can locate it following the path Setup->Manage Users->Users->Click on your name — your UserID is visible as part of the url in the address bar)
    • Body – File path to the Attachment on the local machine (C:\documents and settings\schun\desktop\attachments\file.xls)
  2. Log in to the Data Loader. 
  3. Select the “Insert” command. 
  4. In the ‘Select Salesforce Object’ step, select the ‘Show all Salesforce Objects’ checkbox and then select “Attachments”. 
  5. Choose the attachments.csv file. 
  6. In the mapping step, map the following fields:
    • Parent ID 
    • Name 
    • Content Type
    • Owner ID 
    • Body – Make sure to map the Body column which you created previously with the file extension. This is how you designate the file and location of the attachments to be inserted. 
  7. Click “OK” to proceed with the insert. It may take a few minutes but the attachments should be successfully uploaded to your salesforce org.

  • I strongly recommend setting your batch size to 1 before starting
  • Gotta love that the original instructions talk about “Sforce objects”. . . how 2010
  • Thanks to the people at Google for keeping this Google Group post active, long after the original Success link went dead
  • I keep meaning to rewrite this post thoroughly and cover Content as well as Documents, but, wow, it’s been 16 years and I still haven’t gotten to it 🙄

The Deal with Salesforce Files

Q: How are Files (aka CRM Content) structured in Salesforce?

A: In the API, the key objects are called ContentDocument, ContentDocumentLink, and ContentVersion.

This help topic has a nice workup of how those objects get created and updated when users do stuff with Files:

They can be found in this Entity Relationship Diagram (ERD) in Salesforce’s documentation:

If you want to zoom in on ContentWorkspace, this post is useful:

If you want to zoom in on ContentFolder, this diagram is useful:

That first diagram is really great stuff. I’d had an intuitive understanding of how ContentVersion records got created when I uploaded new versions, but it’s terribly validating to see it in concrete pictures.

And for Salesforce archaeologists, this whole strange structure was laid down when Salesforce acquired nine-person Koral in 2007.

Record Pages Depend on Page Layouts, Graah*

Q: “Why doesn’t my filtered lookup field work?”

A: Do you have the field on the underlying Page Layout?

No, not the Lightning Record Page — the underlying (Classic) Page Layout.

As my new favorite person Chris Stegall pointed out:

Your end user also needs at-least Read access to the field, too, although that’s self-evident imo!

Amusing that Salesforce’s help topic

  • played up the obvious thing (“if you can’t see a field, you can’t see a field”) and
  • downplayed the incredibly frustrating thing (“add the field to our deprecated UI or it won’t work in our current UI”).

Hat tip to hardworking Shelby Inloes for pointing this out!


* Yes, there are other ways in which Lightning Record Pages depend on Page Layouts. But the messed-up filtered-field situation is the one I feel annoyed about today.

Other Situations Where Lightning Record Pages Depend on Page Layouts:

ItemAdvice
“Record Detail” componentmostly use Dynamic Forms instead
“Related Lists”,
“Related List – Single”, and
“Related List – Quick Links” components
mostly use Dynamic Related Lists instead
“Highlights Panel” componentwe’re stuck customizing it via the Compact Layout
Quick Actionsgotta add ’em to Page Layouts

my coworker Josh Dehkordi points out that enabling Inline Editing, in both List Views and Reports, also depends on Page Layouts. tnx!

Get Rid of Google Sheets’ Annoying Gemini Sidebar

Q: “How can I prevent the ‘Gemini’ palette from appearing every time I create a new Google Sheet?”

A: There’s no setting in Google Sheets to suppress it.

But the Tampermonkey browser extension, with a script, can do it:

1] install the Tampermonkey extension in your browser

2] click the Tampermonkey icon and select “Create a new script…”

3] highlight the existing code in the <new userscript> window

4] replace the highlighted text by copying-and-pasting the code block below:

// ==UserScript==
// @name Kill Google Sheets "Gemini" Sidebar
// @namespace http://tampermonkey.net/
// @version 2.0
// @description Auto-dismisses the Gemini sidebar when it appears in Google Sheets
// @match https://docs.google.com/spreadsheets/*
// @grant none
// @author Ezra Kenigsberg, kudotek.com
// @copyright Copyright 2026 Ezra Kenigsberg
// @license MIT; https://opensource.org/licenses/MIT
// ==/UserScript==
(function () {
'use strict';
const LOG_PREFIX = '[Kill Gemini Sidebar]';
function isVisible(el) {
if (!el) return false;
const style = window.getComputedStyle(el);
return (
style.display !== 'none' &&
style.visibility !== 'hidden' &&
el.getClientRects().length > 0
);
}
function findGeminiCloseButton() {
// Never click Close controls inside dialogs such as Find and replace.
const dialogSelector = [
'dialog',
'[role="dialog"]',
'[role="alertdialog"]',
'[aria-modal="true"]',
'.modal-dialog'
].join(',');
const selectors = [
'button[aria-label="Close"]',
'[role="button"][aria-label="Close"]',
'button[aria-label="Close Gemini"]',
'[role="button"][aria-label="Close Gemini"]',
'button[aria-label="Close side panel"]',
'[role="button"][aria-label="Close side panel"]',
'button[data-tooltip="Close"]',
'[role="button"][data-tooltip="Close"]'
];
const candidates = document.querySelectorAll(selectors.join(','));
for (const button of candidates) {
if (!isVisible(button) || button.closest(dialogSelector)) {
continue;
}
// An explicit Gemini close label needs no ancestor search.
if (button.getAttribute('aria-label') === 'Close Gemini') {
return button;
}
let ancestor = button.parentElement;
for (
let depth = 0;
depth < 10 && ancestor;
depth++, ancestor = ancestor.parentElement
) {
// Don't use text from the whole page or a container
// that also contains an unrelated dialog.
if (
ancestor === document.body ||
ancestor === document.documentElement ||
ancestor.matches(dialogSelector) ||
ancestor.querySelector(dialogSelector)
) {
break;
}
const text = ancestor.innerText || '';
if (
/\bGemini\b/i.test(text) ||
/\bAsk Gemini\b/i.test(text) ||
/\bBuild\b/i.test(text)
) {
return button;
}
}
}
return null;
}
function dismissGeminiPane() {
const closeButton = findGeminiCloseButton();
if (!closeButton) {
return false;
}
console.log(LOG_PREFIX, 'Gemini sidebar found; closing it.');
closeButton.click();
return true;
}
/*
* Gemini often appears a little after the spreadsheet itself loads.
* MutationObserver catches DOM insertion, while the interval protects
* against Google's SPA/rendering behavior where mutations aren't always
* convenient to identify.
*/
let lastAttempt = 0;
function maybeDismiss() {
const now = Date.now();
// debounce the MutationObserver
if (now - lastAttempt < 250) {
return;
}
lastAttempt = now;
dismissGeminiPane();
}
const observer = new MutationObserver(maybeDismiss);
function start() {
observer.observe(document.documentElement, {
childList: true,
subtree: true
});
// Immediate attempt
dismissGeminiPane();
// And keep checking because Sheets is a SPA and Gemini can load late.
setInterval(dismissGeminiPane, 1000);
console.log(LOG_PREFIX, 'Active.');
}
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', start, { once: true });
} else {
start();
}
})();

5] click “File | Save”

that’s it!

. . . this 2026-04-10 post was revised on 2026-09-23

Show All PermSet Assignments in One Place

Q: How do I see all permissions a User is assigned (via PermSets AND PermSetGroups) in one place?

A: Install the “PermSet List Plus” Chrome extension!

Show all the Permission Sets a user is assigned, regardless whether they’re

  • directly assigned to a Permission Set, or
  • indirectly assigned via a Permission Set Group!
Screenshot showing the User Detail page with the “PermSet List Plus” Chrome Extension installed
  • Works with any Salesforce instance (production, sandbox, and developer editions).
  • Works in both Lightning and Classic.
  • Hugely helpful for Salesforce Administrators, Developers, Architects, and Superusers.

Go Directly to User Detail Reloaded

Q: How do I skip the pesky “User Profile” page when I click on a User’s name?

A: Install the “Go Directly to User Detail Reloaded” Chrome extension!

  • Skip the annoying “User Profile” page.
  • Works in both Lightning and Classic.
  • Works in Production, Sandbox, and Developer editions.
  • Hugely helpful for Salesforce Administrators, Developers, Architects, and Superusers.
Illustration showing how the “Go Directly to User Detail Reloaded” Chrome Extension bypasses the crappy “User Profile” page and takes the user directly to the more-useful “User Detail” page instead

There used to be a “Go Directly to User Detail” Chrome extension–it stopped working for me, and disappeared from the Chrome Store.

I’ve recreated the extension (with a “Reloaded” suffix, in tribute to the wonderful Salesforce Inspector Reloaded). Enjoy!