This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT Assignee.Id, | |
| Assignee.Name, | |
| Assignee.Email, | |
| Assignee.Username, | |
| Assignee.IsActive, | |
| PermissionSet.Name, | |
| PermissionSet.Profile.Name, | |
| PermissionSet.PermissionsModifyAllData, | |
| PermissionSet.PermissionsViewAllData, | |
| PermissionSet.PermissionsCustomizeApplication, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # setup-sso.sh | |
| # Sets up a Salesforce spoke org with SAML SSO from a hub org (acting as IdP). | |
| # | |
| # Usage: ./setup-sso.sh <spoke_org> <hub_org> <saml_metadata_file_path> | |
| set -euo pipefail | |
| readonly API_VERSION="66.0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const http = require("http"); | |
| const fs = require("fs"); | |
| const path = require("path"); | |
| const { exec } = require("child_process"); | |
| const PORT = 3000; | |
| // Get file from command line arguments | |
| const filePath = process.argv[2]; | |
| let initialContent = ""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| jq -r ' | |
| def uncovered_lines: | |
| [.lines | to_entries[] | select(.value == 0) | .key] | sort_by(tonumber) | join(", "); | |
| "<!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset=\"UTF-8\"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| EntityName,FieldName | |
| AIPredictionEvent,ReplayId | |
| AIPredictionEvent,CreatedDate | |
| AIPredictionEvent,CreatedById | |
| AIPredictionEvent,EventUuid | |
| AIPredictionEvent,PredictionEntityId | |
| AIPredictionEvent,InsightId | |
| AIPredictionEvent,TargetId | |
| AIPredictionEvent,Confidence | |
| AIPredictionEvent,FieldName |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @IsTest | |
| public class LimitsIllustratorTest { | |
| private static final Integer RECORDS_TO_INSERT_PER_ITERATION = 9000; | |
| private static final INTEGER SOQL_QUERIES_PER_ITERATION = 40; | |
| private static final Integer FUTURE_METHOD_ITERATIONS = 3; //you can go upto 50 here theoretically, but Salesforce will kill the test after a while | |
| @TestSetup | |
| private static void setup() { | |
| Test.startTest(); | |
| for (Integer i = 0; i < FUTURE_METHOD_ITERATIONS; i++) { | |
| LimitsIllustratorTest.insertAccounts(i); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "info": { | |
| "_postman_id": "35d1388c-2a10-4698-9cd6-6fb250c2b458", | |
| "name": "Local SF Auth", | |
| "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | |
| "_exporter_id": "1474473", | |
| "_collection_link": "https://team-sf.postman.co/workspace/Salesforce~e589a405-8419-4e78-9608-343f0d307f55/collection/1474473-35d1388c-2a10-4698-9cd6-6fb250c2b458?action=share&source=collection_link&creator=1474473" | |
| }, | |
| "item": [ | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Membership { | |
| Id apexClassId; | |
| Id apexTestSuiteId; | |
| public Membership(Id suiteId, Id classId) { | |
| this.apexTestSuiteId = suiteId; | |
| this.apexClassId = classId; | |
| } | |
| } | |
| private static final String API_VERSION = 'v63.0'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <h2>Dynamic Component</h2> | |
| <div lwc:dom="manual" class="container"></div> | |
| </template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # A script for invoking SF REST APIs using session id from sfdx | |
| if [[ $1 = "-h" || $1 = "-help" ]]; then | |
| echo "Usage: $(basename $0) <org username/alias> <path starting from version number> <additional request info>" | |
| exit 1 | |
| fi |
NewerOlder