This guide provides step-by-step instructions to set up your Salesforce environment and deploy the GroupDocs Demo application from a Git repository.
Make sure the following tools are installed:
- Git
- Salesforce CLI (sfdx)
- VS Code
- Salesforce Extension Pack for VS Code
- Setup Accout in the GroupDocs.Cloud Dashboard
git clone https://github.com/groupdocs/GroupDocs.Salesforce-Demo.git
cd <repo-name>
Open the VS Code terminal to see the list of available organizations:
sfdx force:org:list
This command displays the list of connected Salesforce organizations linked to your account.
Pick the Salesforce organization you want to work with and copy its name from the Alias column.
Clone the GroupDocs.Comparison for APEX SDK into a separate folder:
git clone https://github.com/groupdocs-comparison-cloud/groupdocs-comparison-cloud-apex
cd <repo-name>
Open a new VS Code window for the folder with the downloaded GroupDocs.Cloud SDK.
Then open the terminal and run:
sf project deploy start --target-org Demo1Org --source-dir force-app --ignore-conflicts
Close the VS Code window if the deployment is successful.
Open a new VS Code window with the folder containing the source code of the GroupDocs.Salesforce Demo Application.
Open the terminal and run:
sf project deploy start --target-org SFOrganizationName --source-dir force-app --ignore-conflicts
Check whether the bottom panel in VS Code displays the connected organization name from Step 1.
If not, look for the label [No Default Org set]
in the blue status bar at the bottom of VS Code.
Click it and choose the required Salesforce organization from the dropdown.
A rectangular icon will appear next to the organization name, which serves as a link to sign in.
Option A: VS Code
- Right-click on the
force-app
folder → SFDX: Deploy Source to Org
Option B: Terminal
sfdx force:source:deploy -p force-app --targetusername demoOrg
- Go to Setup in Salesforce.
- Navigate to Profiles →
System Administrator
. - Add the required Apex Classes and Visualforce Pages.
- Go to Custom Settings → e.g.,
GroupDocsCredentials
→ Manage. - Enter API credentials or other required values.
- Open the App Launcher and locate your custom app.
- Launch it and verify everything loads correctly.
- Upload test documents or necessary metadata.
- Run the main features and confirm expected behavior.
- Use Developer Console to debug any issues.
- Inspect network/API errors through browser tools.
If the repository supports web-based deployment:
https://deploy.salesforce.com/?repo=<your-repo-url>
Navigate to:
Setup → Administration → Users → User Management Settings
Ensure that the Enhanced Profile User Interface setting is enabled (set to true
/ yes
/ enabled
).
Some pages in the Demo Application may not be accessible by default. You need to manually enable them:
-
Go to:
Setup → Users → Profiles
-
Find and select System Administrator.
-
Click Edit.
-
Scroll to Custom Tab Settings.
-
Locate the
Compare
tab and set it to Default On. -
Save changes.
-
In the Quick Find search bar, go to:
Setup → Administer → Profile Overview
-
Under Custom Settings Definition, click Edit.
-
Move
GroupDocs Credentials
to the Enabled Custom Settings Definitions section.
Next:
-
In the Quick Find bar, go to:
Setup → Administer → Custom Code → Custom Settings
-
Locate
GroupDocs Credentials
and click to Edit. -
Enter the credentials from your GroupDocs Cloud Dashboard.
-
Go to:
Setup → Users → Profiles → System Administrator
-
Locate Apex Class Access.
-
Ensure all SDK-related Apex classes are listed under Enabled Apex Classes.
© 2025 GroupDocs (Aspose). All rights reserved.