Git Product home page Git Product logo

Comments (4)

josh-padnick avatar josh-padnick commented on July 19, 2024 1

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.

douglascayers avatar douglascayers commented on July 19, 2024

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

  1. Install the Salesforce CLI.

  2. Clone this repository.

git clone https://github.com/douglascayers/sfdc-related-files-lightning.git
cd sfdc-related-files-lightning
  1. 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.

  1. 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

from sfdc-related-files-lightning.

douglascayers avatar douglascayers commented on July 19, 2024

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.

josh-padnick avatar josh-padnick commented on July 19, 2024

Completely understood. Thanks for your efforts, anyway!

from sfdc-related-files-lightning.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.