Skip to content

Instantly share code, notes, and snippets.

@cwest-consultch
cwest-consultch / Export Object Descriptions.md
Last active Nov 22, 2022
Salesforce Bookmarklet - Export Object Descriptions
View Export Object Descriptions.md

Salesforce Object Describer

This GitHub Gist contains the code for the YourJS Bookmarklet that can be used from within the Salesforce Developer Console to easily describe any Salesforce object.

View grafana-air-auto-login.js
(function() {
const IS_LEGACY = +grafanaBootData.settings.buildInfo.version.split('.')[0] <= 6;
const user = prompt('Enter the username:', get(window, 'grafanaBootData.user.login', ''));
const pass = prompt(`Enter the password for "${user}":`);
const redirect = location.pathname + location.search;
const t = IS_LEGACY
? {
user,
pass,
logout: /^YES$/i.test(prompt('If a previous user is logged in, should he be logged out? (Yes/No)', 'Yes')),