How to query all object names in Salesforce?

Sample SOQL:

SELECT QualifiedApiName FROM EntityDefinition ORDER BY QualifiedApiName



File Upload and Download Security in Salesforce

1. Go to File Upload and Download Security.

2. Click Edit button. Do the changes and click Save button.

Specify what happens when users attempt to download specific file types.
Download (Recommended): The file is always downloaded.
Execute in Browser: The file is displayed and executed automatically when accessed in a browser or through an HTTP request. Due to security risks, some file types aren't available to execute in the browser.
Hybrid: Attachment and document records execute in the browser. Salesforce Files are downloaded.


How to show setup in Visualforce page as Side Bar?

Sample Code:

<apex:page setup="true">
    Test Page




Salesforce Trailhead Vanity URLs

1. Go to Profile.

2. Click Edit in About Me Section.

3. Enter your name or fancy title for your profile link.