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
-------------------------------------------------------------------- | |
-- Queries related to distribution of metadata. | |
-- Find the number of users per profile. | |
SELECT count(id), Profile.name | |
FROM User | |
WHERE User.IsActive = true | |
GROUP BY Profile.name | |
-- Find the distribution of Apex classes per namespace. | |
select count(id), NameSpacePrefix |
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
{ | |
"orgName": "Salesforce Developer", | |
"edition": "Enterprise", | |
"hasSampleData": "true", | |
"features": ["MultiCurrency","DeferSharingCalc","PersonAccounts"], | |
"settings": { | |
"mobileSettings": { | |
"enableS1EncryptedStoragePref2": true | |
}, | |
"omniChannelSettings": { |
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
PS C:\Users\Saicharan Reddy K\Desktop\VSCodeSetup> sfdx force:data:record:create -s Contact -v "LastName=Acme" | |
Successfully created record: 0030K00002IDJOWQA5. | |
PS C:\Users\Saicharan Reddy K\Desktop\VSCodeSetup> sfdx force:data:record:update -s Contact -i 0030K00002IDJOW -v "LastName=AcmeUpdate" | |
Successfully updated record: 0030K00002IDJOW. | |
PS C:\Users\Saicharan Reddy K\Desktop\VSCodeSetup> sfdx force:data:record:get -s Contact -i 0030K00002IDJOW | |
attributes: | |
type: "Contact" | |
url: "/services/data/v48.0/sobjects/Contact/0030K00002IDJOWQA5" | |
Id: "0030K00002IDJOWQA5" | |
IsDeleted: null |
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
[ | |
"shane-sfdx-plugins", | |
"@muenzpraeger/sfdx-plugin" | |
"sfdx-waw-plugin", | |
"mo-dx-plugin", | |
"sfdx-cmdt-plugin", | |
"texei-sfdx-plugin", | |
"etcopydata", | |
"sfdx-browserforce-plugin", | |
"sfdx-migration-automatic", |
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<Package xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<types> | |
<members>*</members> | |
<name>ApexClass</name> | |
</types> | |
<types> | |
<members>*</members> | |
<name>ApexComponent</name> | |
</types> |
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
{ | |
"content": [ | |
{ | |
"type":"cms_image", | |
"urlName":"urlname", | |
"status":"Draft", | |
"body": { | |
"title" : "Draft Blade Coffee Grinder Large", | |
"altText" : "blade_coffee_grinder_large", | |
"thumbUrl":"https://image.shutterstock.com/image-photo/mountains-during-sunset-beautiful-natural-260nw-407021107.jpg", |
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
OpenSSL x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt |
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
OpenSSL req -new -key server.key -out server.csr |
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
openssl genrsa -des3 -passout pass:SomePassword -out server.pass.key 2048 | |
openssl rsa -passin pass:SomePassword -in server.pass.key -out server.key |
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
Setting the session-based environment variables | |
Changing the location into project folder | |
Creating new directory 202004101432 | |
Cloning dreamhouse github repo | |
Cloning into 'dreamhouse-sfdx'... | |
remote: Enumerating objects: 1714, done. | |
remote: Total 1714 (delta 0), reused 0 (delta 0), pack-reused 1714 | |
Receiving objects: 100% (1714/1714), 4.98 MiB | 913.00 KiB/s, done. | |
Resolving deltas: 100% (944/944), done. | |
Updating files: 100% (427/427), done. |
NewerOlder