Comments (4)
Thank you so much for these detailed instructions! I actually completely missed the managed package installation URLs in the release notes.
Unfortunately, managed package installation fails with the following error:
1. Apex Classes(classes/CF_ChildFilesControllerTest.cls) Missing feature
Installing this package requires the following feature and its associated permissions: Apex Classes
After hunting around online, my best guess is that we're failing one of these requirements. Perhaps this app needs a security review?
from sfdc-related-files-lightning.
Hi @josh-padnick, thanks for your interest in my app and welcome to the Salesforce community =)
Sorry about the Deploy from GitHub link, seems that app (which I don't administer) needs attention. I'll update the install instructions on the readme, but for now you'll need to either install the provided package or manually deploy the source code with a tool like the Salesforce CLI (see instructions below).
Regarding the Professional Edition vs. Enterprise Edition, you may be out of luck since this app uses Apex code which often is restricted to Enterprise Edition. You can certainly try though, but if you get an error about missing required feature Apex then you know it's probably the org edition.
To use custom Lightning Components in your org, you'll need to deploy My Domain.
Manual Install Instructions
-
Install the Salesforce CLI.
-
Clone this repository.
git clone https://github.com/douglascayers/sfdc-related-files-lightning.git
cd sfdc-related-files-lightning
- Authorize your org with Salesforce CLI using the following command, replacing YourOrgAlias with an alias of your choice.
sfdx force:auth:web:login --setalias YourOrgAlias --setdefaultusername
If connecting to a sandbox, add the
--instanceurl https://test.salesforce.com
argument to the above command.
- Deploy metadata to your org with Salesforce CLI using the following command, replacing YourOrgAlias with the alias you provided in step 3 above. When deploying to production, you may need to either (a) update the code or (b) relax validation rules if any of the apex tests in this package fail during installation. If you install the managed package, you skip this headache.
sfdx force:mdapi:deploy --deploydir src --targetusername YourOrgAlias --wait 10
Resources
- 📺 Lightning Platform Orientation
- 📺 Visual Studio Code for Salesforce Developers
- 📘Quick Start: Visual Studio Code for Salesforce Development
- 📘Develop an App with Salesforce CLI and Source Control
- https://developer.salesforce.com
from sfdc-related-files-lightning.
Hi @josh-padnick,
You're correct, for Group and Professional Edition orgs the feature Apex is not supported so the code for this app can't be created/deployed to the org.
I'm not registered as an ISV and there are hoops to jump through to get an app through the Security Review process and on to the AppExchange -- unfortunately too many hoops for me to jump through currently for a part-time open source project. Sorry :(
from sfdc-related-files-lightning.
Completely understood. Thanks for your efforts, anyway!
from sfdc-related-files-lightning.
Related Issues (20)
- Files related to the Account HOT 1
- Recent Error - "Sorry, error initializing component" HOT 4
- Lookup relation vs Master-Detail HOT 2
- Include Attachments HOT 1
- Ability to sort columns
- Error when using Field Set
- it is not showing the related files/content HOT 3
- Download related files
- Problems getting this to work in Classic.
- Page CF_ChildFilesPage does not exist HOT 1
- 2 classes missing in package.xml
- Related Files is rolling up on all the tabs
- Translation
- File opens in new browser tab
- See files of parent records?
- Make Component available for mobile app
- Post Winter'21 release, error "You do not have access to the Apex class named :CF_ChildFilesController "
- Error Initializing Component - dca_junto_files:Too many callouts: 101 HOT 3
- Cannot set any child relationships and filter the objects
- Sorry, Error Initializing component.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sfdc-related-files-lightning.