Timeline for How to deliver a managed package with custom development?
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 1, 2021 at 21:51 | comment | added | David Reed | Let us continue this discussion in chat. | |
| Apr 1, 2021 at 21:22 | comment | added | Bryce | To be more specific, our package uses AWS S3 + Cloudfront and store Amazon credentials within custom metadata types. Our customer wants the package to use their own AWS S3 and cloudfront so I need the package to run in same time with our aws account for existing customers and with our customer AWS account. | |
| Apr 1, 2021 at 20:51 | comment | added | Bryce | I didn't because i'll have to give up on my IP as it will imply to deploy the whole managed package as unmanaged with the changes. Unless I could apply the design pattern i describe for an Extension on an unmanaged package? ie: Routing Apex transaction to the managed or the unmanaged classes? | |
| Apr 1, 2021 at 20:25 | comment | added | David Reed | An extension package is a separate package. Or are you proposing to deliver the changes unmanaged? | |
| Apr 1, 2021 at 20:21 | comment | added | Bryce | I'd like to avoid building another package even in 2GP as the change that our customer requests only cover a small piece of feature and not the all thing. I have a big preference with package extension as it seems to enable this kind of customization without changing the whole package and avoid creating a separate package that could increase maintenance / updates cost. | |
| Apr 1, 2021 at 20:17 | comment | added | David Reed | Fundamentally, yes, it is possible to use a dependency injection pattern like that, but you do need to design it carefully to account for the visibility of the code across package boundaries. | |
| Apr 1, 2021 at 20:13 | comment | added | Bryce | The idea is to create a Routing Apex Class that will route a transaction to either a class in the managed package or a class in the Extension according to the value of a custom setting field . The result of the apex transaction will then be returned to the Aura component that made the server request from the managed package... | |
| Apr 1, 2021 at 19:14 | comment | added | David Reed | You can't call Apex across packages at all unless it is global or @NamespaceAccessible (in 2GPs that share a namespace). | |
| Apr 1, 2021 at 19:10 | comment | added | David Reed | I really don't understand the proposal, sorry. Can you be more concrete? | |
| Apr 1, 2021 at 18:08 | comment | added | Bryce | About the Extension option, assuming i have a custom setting that own the customer name (e.g Motors) can i call to a specific class that use additional custom metadata types in the Extension from a managed package class by testing if custom_setting == Motors for example? Thanks! | |
| Apr 1, 2021 at 16:10 | history | answered | David Reed | CC BY-SA 4.0 |