Sub topic 9
Verifying the install and checking for side effects
This chapter assumes you can navigate Setup, know the difference between profiles and permission sets, and have already installed an app in a sandbox. Installing a package only means the metadata was deployed. It does not show that the app works, that access is limited as you intended, or that the rest of your org is unaffected. This chapter covers a short verification routine to run after every install, before you trust the app.
Confirm what was installed
Start by checking that the right package and version are in the org. The CLI lists installed packages with their version numbers.
sf package installed list --target-org my-sandboxCompare the output with the listing you evaluated earlier. Check three things:
- The package name and namespace match the publisher's listing.
- The version number matches the 04t package version ID you intended to install.
- No unexpected packages appear alongside it.
You can also check in Setup. Open Installed Packages and review the publisher, version, status, and license counts. If the version differs from the one you tested or approved, stop and find out why before going further.
Check what the package added
A package adds components to your org. Review them so you know what changed.
- In Setup, open the package's detail page and select View Components.
- Note any custom objects, fields, Apex classes, triggers, flows, and Lightning components.
- Look for items that touch your existing objects, such as new fields on Account or Contact, triggers on standard objects, or new page layout entries.
- Check Remote Site Settings, Named Credentials, and External Credentials for new endpoints. These show where the app can send data.
Compare this inventory with what the listing and documentation promised. Components that nobody mentioned deserve a question to the publisher.
Test access with a minimal user
You installed with limited access, so now confirm the limit holds. Assign one permission set from the app to a single test user. Use the real permission set name from the package.
sf org assign permset --name Example_App_User --target-org my-sandbox --on-behalf-of [email protected]Then log in as that user, using Login from the user record in Setup, and check these points:
- The user can reach the app's tabs and records that the role requires.
- The user cannot see objects, fields, or tabs the role should not have.
- A user with no permission set from the app sees nothing of it.
If a user sees more than expected, review the profile, the permission set groups, and any sharing settings before blaming the app. Existing access in your org often explains the surprise.
Look for side effects
Side effects are changes the app causes outside its own components. Test them deliberately with realistic data.
- Automation conflicts: Create and edit records on objects the app touches. Watch for duplicate triggers, flow errors, or validation rules that now fail.
- Limits: Check System Overview in Setup for changes in API usage, data storage, and custom object counts.
- Performance: Open list views and record pages that gained new components and note any slowdown.
- Errors: Review Apex Exception Email notices, Debug Logs, and Event Monitoring data if you have it.
- Outbound traffic: Confirm that external calls go only to the endpoints you saw in Remote Site Settings and Named Credentials.
Decide: proceed or roll back
Record what you found. A short checklist is enough: version confirmed, components reviewed, access tested, side effects tested, and issues raised with the publisher. If a check fails and the publisher cannot explain it, uninstall the package from the sandbox. Rehearsing the removal also tells you whether the app leaves anything behind.
sf package uninstall --package 04tXXXXXXXXXXXXXXX --target-org my-sandbox --wait 10Common errors
| Symptom | Likely cause | What to check |
|---|---|---|
| User sees no app tabs | Permission set not assigned | Assigned permission sets on the user |
| User sees too much | Broad profile or existing permission set | Profile and permission set groups |
| Save fails on a standard object | Automation or validation conflict | Flows, triggers, validation rules |
| Package missing from list | Install still running or failed | Install status email and Setup |
Exercise
After installing an app in a sandbox, a test user with only the app's user permission set can see a custom object that the app's documentation says is for administrators. What should you check first, and why?
Show answer
Check whether the access comes from somewhere other than the app's permission set, such as the user's profile, another permission set or permission set group, or a sharing setting. Existing org access often grants more than expected. Only if those are clean should you suspect the app's permission set definition, and then raise it with the publisher.
Exercise
Name two places in Setup where you can find the external endpoints an installed app can contact.
Show answer
Remote Site Settings and Named Credentials (External Credentials also apply). These show the destinations the app can send data to.